wice_grid 7.1.0 → 7.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -1
- data/Gemfile.lock +44 -44
- data/README.md +1 -1
- data/lib/wice_grid.rb +15 -0
- data/package.json +0 -3
- data/wice_grid.gemspec +1 -1
- metadata +2 -2485
- data/node_modules/.bin/browserslist +0 -1
- data/node_modules/.bin/cake +0 -1
- data/node_modules/.bin/coffee +0 -1
- data/node_modules/.bin/decaffeinate +0 -1
- data/node_modules/.bin/esparse +0 -1
- data/node_modules/.bin/esvalidate +0 -1
- data/node_modules/.bin/is-ci +0 -1
- data/node_modules/.bin/is-ci-cli +0 -1
- data/node_modules/.bin/jsesc +0 -1
- data/node_modules/.bin/json5 +0 -1
- data/node_modules/.bin/node-which +0 -1
- data/node_modules/.bin/parser +0 -1
- data/node_modules/.bin/resolve +0 -1
- data/node_modules/.bin/semver +0 -1
- data/node_modules/.bin/update-browserslist-db +0 -1
- data/node_modules/.yarn-integrity +0 -131
- data/node_modules/@ampproject/remapping/LICENSE +0 -202
- data/node_modules/@ampproject/remapping/README.md +0 -218
- data/node_modules/@ampproject/remapping/dist/remapping.mjs +0 -197
- data/node_modules/@ampproject/remapping/dist/remapping.mjs.map +0 -1
- data/node_modules/@ampproject/remapping/dist/remapping.umd.js +0 -202
- data/node_modules/@ampproject/remapping/dist/remapping.umd.js.map +0 -1
- data/node_modules/@ampproject/remapping/dist/types/build-source-map-tree.d.ts +0 -14
- data/node_modules/@ampproject/remapping/dist/types/remapping.d.ts +0 -20
- data/node_modules/@ampproject/remapping/dist/types/source-map-tree.d.ts +0 -45
- data/node_modules/@ampproject/remapping/dist/types/source-map.d.ts +0 -18
- data/node_modules/@ampproject/remapping/dist/types/types.d.ts +0 -15
- data/node_modules/@ampproject/remapping/package.json +0 -75
- data/node_modules/@babel/code-frame/LICENSE +0 -22
- data/node_modules/@babel/code-frame/README.md +0 -19
- data/node_modules/@babel/code-frame/lib/index.js +0 -156
- data/node_modules/@babel/code-frame/lib/index.js.map +0 -1
- data/node_modules/@babel/code-frame/package.json +0 -30
- data/node_modules/@babel/compat-data/LICENSE +0 -22
- data/node_modules/@babel/compat-data/README.md +0 -19
- data/node_modules/@babel/compat-data/corejs2-built-ins.js +0 -2
- data/node_modules/@babel/compat-data/corejs3-shipped-proposals.js +0 -2
- data/node_modules/@babel/compat-data/data/corejs2-built-ins.json +0 -2090
- data/node_modules/@babel/compat-data/data/corejs3-shipped-proposals.json +0 -5
- data/node_modules/@babel/compat-data/data/native-modules.json +0 -18
- data/node_modules/@babel/compat-data/data/overlapping-plugins.json +0 -33
- data/node_modules/@babel/compat-data/data/plugin-bugfixes.json +0 -213
- data/node_modules/@babel/compat-data/data/plugins.json +0 -794
- data/node_modules/@babel/compat-data/native-modules.js +0 -1
- data/node_modules/@babel/compat-data/overlapping-plugins.js +0 -1
- data/node_modules/@babel/compat-data/package.json +0 -40
- data/node_modules/@babel/compat-data/plugin-bugfixes.js +0 -1
- data/node_modules/@babel/compat-data/plugins.js +0 -1
- data/node_modules/@babel/core/LICENSE +0 -22
- data/node_modules/@babel/core/README.md +0 -19
- data/node_modules/@babel/core/cjs-proxy.cjs +0 -59
- data/node_modules/@babel/core/lib/config/cache-contexts.js +0 -3
- data/node_modules/@babel/core/lib/config/cache-contexts.js.map +0 -1
- data/node_modules/@babel/core/lib/config/caching.js +0 -261
- data/node_modules/@babel/core/lib/config/caching.js.map +0 -1
- data/node_modules/@babel/core/lib/config/config-chain.js +0 -469
- data/node_modules/@babel/core/lib/config/config-chain.js.map +0 -1
- data/node_modules/@babel/core/lib/config/config-descriptors.js +0 -190
- data/node_modules/@babel/core/lib/config/config-descriptors.js.map +0 -1
- data/node_modules/@babel/core/lib/config/files/configuration.js +0 -286
- data/node_modules/@babel/core/lib/config/files/configuration.js.map +0 -1
- data/node_modules/@babel/core/lib/config/files/import.cjs +0 -6
- data/node_modules/@babel/core/lib/config/files/import.cjs.map +0 -1
- data/node_modules/@babel/core/lib/config/files/index-browser.js +0 -58
- data/node_modules/@babel/core/lib/config/files/index-browser.js.map +0 -1
- data/node_modules/@babel/core/lib/config/files/index.js +0 -78
- data/node_modules/@babel/core/lib/config/files/index.js.map +0 -1
- data/node_modules/@babel/core/lib/config/files/module-types.js +0 -176
- data/node_modules/@babel/core/lib/config/files/module-types.js.map +0 -1
- data/node_modules/@babel/core/lib/config/files/package.js +0 -61
- data/node_modules/@babel/core/lib/config/files/package.js.map +0 -1
- data/node_modules/@babel/core/lib/config/files/plugins.js +0 -217
- data/node_modules/@babel/core/lib/config/files/plugins.js.map +0 -1
- data/node_modules/@babel/core/lib/config/files/types.js +0 -3
- data/node_modules/@babel/core/lib/config/files/types.js.map +0 -1
- data/node_modules/@babel/core/lib/config/files/utils.js +0 -36
- data/node_modules/@babel/core/lib/config/files/utils.js.map +0 -1
- data/node_modules/@babel/core/lib/config/full.js +0 -310
- data/node_modules/@babel/core/lib/config/full.js.map +0 -1
- data/node_modules/@babel/core/lib/config/helpers/config-api.js +0 -84
- data/node_modules/@babel/core/lib/config/helpers/config-api.js.map +0 -1
- data/node_modules/@babel/core/lib/config/helpers/deep-array.js +0 -23
- data/node_modules/@babel/core/lib/config/helpers/deep-array.js.map +0 -1
- data/node_modules/@babel/core/lib/config/helpers/environment.js +0 -12
- data/node_modules/@babel/core/lib/config/helpers/environment.js.map +0 -1
- data/node_modules/@babel/core/lib/config/index.js +0 -93
- data/node_modules/@babel/core/lib/config/index.js.map +0 -1
- data/node_modules/@babel/core/lib/config/item.js +0 -67
- data/node_modules/@babel/core/lib/config/item.js.map +0 -1
- data/node_modules/@babel/core/lib/config/partial.js +0 -158
- data/node_modules/@babel/core/lib/config/partial.js.map +0 -1
- data/node_modules/@babel/core/lib/config/pattern-to-regex.js +0 -38
- data/node_modules/@babel/core/lib/config/pattern-to-regex.js.map +0 -1
- data/node_modules/@babel/core/lib/config/plugin.js +0 -33
- data/node_modules/@babel/core/lib/config/plugin.js.map +0 -1
- data/node_modules/@babel/core/lib/config/printer.js +0 -113
- data/node_modules/@babel/core/lib/config/printer.js.map +0 -1
- data/node_modules/@babel/core/lib/config/resolve-targets-browser.js +0 -41
- data/node_modules/@babel/core/lib/config/resolve-targets-browser.js.map +0 -1
- data/node_modules/@babel/core/lib/config/resolve-targets.js +0 -61
- data/node_modules/@babel/core/lib/config/resolve-targets.js.map +0 -1
- data/node_modules/@babel/core/lib/config/util.js +0 -31
- data/node_modules/@babel/core/lib/config/util.js.map +0 -1
- data/node_modules/@babel/core/lib/config/validation/option-assertions.js +0 -277
- data/node_modules/@babel/core/lib/config/validation/option-assertions.js.map +0 -1
- data/node_modules/@babel/core/lib/config/validation/options.js +0 -189
- data/node_modules/@babel/core/lib/config/validation/options.js.map +0 -1
- data/node_modules/@babel/core/lib/config/validation/plugins.js +0 -67
- data/node_modules/@babel/core/lib/config/validation/plugins.js.map +0 -1
- data/node_modules/@babel/core/lib/config/validation/removed.js +0 -68
- data/node_modules/@babel/core/lib/config/validation/removed.js.map +0 -1
- data/node_modules/@babel/core/lib/errors/config-error.js +0 -18
- data/node_modules/@babel/core/lib/errors/config-error.js.map +0 -1
- data/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js +0 -98
- data/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js.map +0 -1
- data/node_modules/@babel/core/lib/gensync-utils/async.js +0 -90
- data/node_modules/@babel/core/lib/gensync-utils/async.js.map +0 -1
- data/node_modules/@babel/core/lib/gensync-utils/fs.js +0 -31
- data/node_modules/@babel/core/lib/gensync-utils/fs.js.map +0 -1
- data/node_modules/@babel/core/lib/gensync-utils/functional.js +0 -58
- data/node_modules/@babel/core/lib/gensync-utils/functional.js.map +0 -1
- data/node_modules/@babel/core/lib/index.js +0 -242
- data/node_modules/@babel/core/lib/index.js.map +0 -1
- data/node_modules/@babel/core/lib/parse.js +0 -47
- data/node_modules/@babel/core/lib/parse.js.map +0 -1
- data/node_modules/@babel/core/lib/parser/index.js +0 -79
- data/node_modules/@babel/core/lib/parser/index.js.map +0 -1
- data/node_modules/@babel/core/lib/parser/util/missing-plugin-helper.js +0 -339
- data/node_modules/@babel/core/lib/parser/util/missing-plugin-helper.js.map +0 -1
- data/node_modules/@babel/core/lib/tools/build-external-helpers.js +0 -144
- data/node_modules/@babel/core/lib/tools/build-external-helpers.js.map +0 -1
- data/node_modules/@babel/core/lib/transform-ast.js +0 -50
- data/node_modules/@babel/core/lib/transform-ast.js.map +0 -1
- data/node_modules/@babel/core/lib/transform-file-browser.js +0 -23
- data/node_modules/@babel/core/lib/transform-file-browser.js.map +0 -1
- data/node_modules/@babel/core/lib/transform-file.js +0 -40
- data/node_modules/@babel/core/lib/transform-file.js.map +0 -1
- data/node_modules/@babel/core/lib/transform.js +0 -49
- data/node_modules/@babel/core/lib/transform.js.map +0 -1
- data/node_modules/@babel/core/lib/transformation/block-hoist-plugin.js +0 -84
- data/node_modules/@babel/core/lib/transformation/block-hoist-plugin.js.map +0 -1
- data/node_modules/@babel/core/lib/transformation/file/file.js +0 -216
- data/node_modules/@babel/core/lib/transformation/file/file.js.map +0 -1
- data/node_modules/@babel/core/lib/transformation/file/generate.js +0 -84
- data/node_modules/@babel/core/lib/transformation/file/generate.js.map +0 -1
- data/node_modules/@babel/core/lib/transformation/file/merge-map.js +0 -37
- data/node_modules/@babel/core/lib/transformation/file/merge-map.js.map +0 -1
- data/node_modules/@babel/core/lib/transformation/index.js +0 -101
- data/node_modules/@babel/core/lib/transformation/index.js.map +0 -1
- data/node_modules/@babel/core/lib/transformation/normalize-file.js +0 -129
- data/node_modules/@babel/core/lib/transformation/normalize-file.js.map +0 -1
- data/node_modules/@babel/core/lib/transformation/normalize-opts.js +0 -59
- data/node_modules/@babel/core/lib/transformation/normalize-opts.js.map +0 -1
- data/node_modules/@babel/core/lib/transformation/plugin-pass.js +0 -48
- data/node_modules/@babel/core/lib/transformation/plugin-pass.js.map +0 -1
- data/node_modules/@babel/core/lib/transformation/util/clone-deep.js +0 -36
- data/node_modules/@babel/core/lib/transformation/util/clone-deep.js.map +0 -1
- data/node_modules/@babel/core/lib/vendor/import-meta-resolve.js +0 -1043
- data/node_modules/@babel/core/lib/vendor/import-meta-resolve.js.map +0 -1
- data/node_modules/@babel/core/node_modules/.bin/json5 +0 -1
- data/node_modules/@babel/core/node_modules/.bin/parser +0 -1
- data/node_modules/@babel/core/node_modules/.bin/semver +0 -1
- data/node_modules/@babel/core/package.json +0 -82
- data/node_modules/@babel/core/src/config/files/index-browser.ts +0 -109
- data/node_modules/@babel/core/src/config/files/index.ts +0 -29
- data/node_modules/@babel/core/src/config/resolve-targets-browser.ts +0 -40
- data/node_modules/@babel/core/src/config/resolve-targets.ts +0 -56
- data/node_modules/@babel/core/src/transform-file-browser.ts +0 -31
- data/node_modules/@babel/core/src/transform-file.ts +0 -55
- data/node_modules/@babel/generator/LICENSE +0 -22
- data/node_modules/@babel/generator/README.md +0 -19
- data/node_modules/@babel/generator/lib/buffer.js +0 -323
- data/node_modules/@babel/generator/lib/buffer.js.map +0 -1
- data/node_modules/@babel/generator/lib/generators/base.js +0 -92
- data/node_modules/@babel/generator/lib/generators/base.js.map +0 -1
- data/node_modules/@babel/generator/lib/generators/classes.js +0 -177
- data/node_modules/@babel/generator/lib/generators/classes.js.map +0 -1
- data/node_modules/@babel/generator/lib/generators/expressions.js +0 -309
- data/node_modules/@babel/generator/lib/generators/expressions.js.map +0 -1
- data/node_modules/@babel/generator/lib/generators/flow.js +0 -668
- data/node_modules/@babel/generator/lib/generators/flow.js.map +0 -1
- data/node_modules/@babel/generator/lib/generators/index.js +0 -128
- data/node_modules/@babel/generator/lib/generators/index.js.map +0 -1
- data/node_modules/@babel/generator/lib/generators/jsx.js +0 -123
- data/node_modules/@babel/generator/lib/generators/jsx.js.map +0 -1
- data/node_modules/@babel/generator/lib/generators/methods.js +0 -173
- data/node_modules/@babel/generator/lib/generators/methods.js.map +0 -1
- data/node_modules/@babel/generator/lib/generators/modules.js +0 -274
- data/node_modules/@babel/generator/lib/generators/modules.js.map +0 -1
- data/node_modules/@babel/generator/lib/generators/statements.js +0 -275
- data/node_modules/@babel/generator/lib/generators/statements.js.map +0 -1
- data/node_modules/@babel/generator/lib/generators/template-literals.js +0 -31
- data/node_modules/@babel/generator/lib/generators/template-literals.js.map +0 -1
- data/node_modules/@babel/generator/lib/generators/types.js +0 -225
- data/node_modules/@babel/generator/lib/generators/types.js.map +0 -1
- data/node_modules/@babel/generator/lib/generators/typescript.js +0 -690
- data/node_modules/@babel/generator/lib/generators/typescript.js.map +0 -1
- data/node_modules/@babel/generator/lib/index.js +0 -89
- data/node_modules/@babel/generator/lib/index.js.map +0 -1
- data/node_modules/@babel/generator/lib/node/index.js +0 -76
- data/node_modules/@babel/generator/lib/node/index.js.map +0 -1
- data/node_modules/@babel/generator/lib/node/parentheses.js +0 -225
- data/node_modules/@babel/generator/lib/node/parentheses.js.map +0 -1
- data/node_modules/@babel/generator/lib/node/whitespace.js +0 -145
- data/node_modules/@babel/generator/lib/node/whitespace.js.map +0 -1
- data/node_modules/@babel/generator/lib/printer.js +0 -684
- data/node_modules/@babel/generator/lib/printer.js.map +0 -1
- data/node_modules/@babel/generator/lib/source-map.js +0 -85
- data/node_modules/@babel/generator/lib/source-map.js.map +0 -1
- data/node_modules/@babel/generator/node_modules/.bin/jsesc +0 -1
- data/node_modules/@babel/generator/package.json +0 -38
- data/node_modules/@babel/helper-compilation-targets/LICENSE +0 -22
- data/node_modules/@babel/helper-compilation-targets/README.md +0 -19
- data/node_modules/@babel/helper-compilation-targets/lib/debug.js +0 -28
- data/node_modules/@babel/helper-compilation-targets/lib/debug.js.map +0 -1
- data/node_modules/@babel/helper-compilation-targets/lib/filter-items.js +0 -67
- data/node_modules/@babel/helper-compilation-targets/lib/filter-items.js.map +0 -1
- data/node_modules/@babel/helper-compilation-targets/lib/index.js +0 -224
- data/node_modules/@babel/helper-compilation-targets/lib/index.js.map +0 -1
- data/node_modules/@babel/helper-compilation-targets/lib/options.js +0 -24
- data/node_modules/@babel/helper-compilation-targets/lib/options.js.map +0 -1
- data/node_modules/@babel/helper-compilation-targets/lib/pretty.js +0 -40
- data/node_modules/@babel/helper-compilation-targets/lib/pretty.js.map +0 -1
- data/node_modules/@babel/helper-compilation-targets/lib/targets.js +0 -28
- data/node_modules/@babel/helper-compilation-targets/lib/targets.js.map +0 -1
- data/node_modules/@babel/helper-compilation-targets/lib/utils.js +0 -58
- data/node_modules/@babel/helper-compilation-targets/lib/utils.js.map +0 -1
- data/node_modules/@babel/helper-compilation-targets/node_modules/.bin/browserslist +0 -1
- data/node_modules/@babel/helper-compilation-targets/node_modules/.bin/semver +0 -1
- data/node_modules/@babel/helper-compilation-targets/package.json +0 -43
- data/node_modules/@babel/helper-environment-visitor/LICENSE +0 -22
- data/node_modules/@babel/helper-environment-visitor/README.md +0 -19
- data/node_modules/@babel/helper-environment-visitor/lib/index.js +0 -51
- data/node_modules/@babel/helper-environment-visitor/lib/index.js.map +0 -1
- data/node_modules/@babel/helper-environment-visitor/package.json +0 -34
- data/node_modules/@babel/helper-function-name/LICENSE +0 -22
- data/node_modules/@babel/helper-function-name/README.md +0 -19
- data/node_modules/@babel/helper-function-name/lib/index.js +0 -170
- data/node_modules/@babel/helper-function-name/lib/index.js.map +0 -1
- data/node_modules/@babel/helper-function-name/package.json +0 -28
- data/node_modules/@babel/helper-hoist-variables/LICENSE +0 -22
- data/node_modules/@babel/helper-hoist-variables/README.md +0 -19
- data/node_modules/@babel/helper-hoist-variables/lib/index.js +0 -50
- data/node_modules/@babel/helper-hoist-variables/lib/index.js.map +0 -1
- data/node_modules/@babel/helper-hoist-variables/package.json +0 -27
- data/node_modules/@babel/helper-module-imports/LICENSE +0 -22
- data/node_modules/@babel/helper-module-imports/README.md +0 -19
- data/node_modules/@babel/helper-module-imports/lib/import-builder.js +0 -122
- data/node_modules/@babel/helper-module-imports/lib/import-builder.js.map +0 -1
- data/node_modules/@babel/helper-module-imports/lib/import-injector.js +0 -304
- data/node_modules/@babel/helper-module-imports/lib/import-injector.js.map +0 -1
- data/node_modules/@babel/helper-module-imports/lib/index.js +0 -37
- data/node_modules/@babel/helper-module-imports/lib/index.js.map +0 -1
- data/node_modules/@babel/helper-module-imports/lib/is-module.js +0 -11
- data/node_modules/@babel/helper-module-imports/lib/is-module.js.map +0 -1
- data/node_modules/@babel/helper-module-imports/package.json +0 -28
- data/node_modules/@babel/helper-module-transforms/LICENSE +0 -22
- data/node_modules/@babel/helper-module-transforms/README.md +0 -19
- data/node_modules/@babel/helper-module-transforms/lib/dynamic-import.js +0 -48
- data/node_modules/@babel/helper-module-transforms/lib/dynamic-import.js.map +0 -1
- data/node_modules/@babel/helper-module-transforms/lib/get-module-name.js +0 -48
- data/node_modules/@babel/helper-module-transforms/lib/get-module-name.js.map +0 -1
- data/node_modules/@babel/helper-module-transforms/lib/index.js +0 -380
- data/node_modules/@babel/helper-module-transforms/lib/index.js.map +0 -1
- data/node_modules/@babel/helper-module-transforms/lib/lazy-modules.js +0 -31
- data/node_modules/@babel/helper-module-transforms/lib/lazy-modules.js.map +0 -1
- data/node_modules/@babel/helper-module-transforms/lib/normalize-and-load-metadata.js +0 -358
- data/node_modules/@babel/helper-module-transforms/lib/normalize-and-load-metadata.js.map +0 -1
- data/node_modules/@babel/helper-module-transforms/lib/rewrite-live-references.js +0 -376
- data/node_modules/@babel/helper-module-transforms/lib/rewrite-live-references.js.map +0 -1
- data/node_modules/@babel/helper-module-transforms/lib/rewrite-this.js +0 -24
- data/node_modules/@babel/helper-module-transforms/lib/rewrite-this.js.map +0 -1
- data/node_modules/@babel/helper-module-transforms/package.json +0 -34
- data/node_modules/@babel/helper-simple-access/LICENSE +0 -22
- data/node_modules/@babel/helper-simple-access/README.md +0 -19
- data/node_modules/@babel/helper-simple-access/lib/index.js +0 -91
- data/node_modules/@babel/helper-simple-access/lib/index.js.map +0 -1
- data/node_modules/@babel/helper-simple-access/package.json +0 -28
- data/node_modules/@babel/helper-split-export-declaration/LICENSE +0 -22
- data/node_modules/@babel/helper-split-export-declaration/README.md +0 -19
- data/node_modules/@babel/helper-split-export-declaration/lib/index.js +0 -59
- data/node_modules/@babel/helper-split-export-declaration/lib/index.js.map +0 -1
- data/node_modules/@babel/helper-split-export-declaration/package.json +0 -27
- data/node_modules/@babel/helper-string-parser/LICENSE +0 -22
- data/node_modules/@babel/helper-string-parser/README.md +0 -19
- data/node_modules/@babel/helper-string-parser/lib/index.js +0 -295
- data/node_modules/@babel/helper-string-parser/lib/index.js.map +0 -1
- data/node_modules/@babel/helper-string-parser/package.json +0 -31
- data/node_modules/@babel/helper-validator-identifier/LICENSE +0 -22
- data/node_modules/@babel/helper-validator-identifier/README.md +0 -19
- data/node_modules/@babel/helper-validator-identifier/lib/identifier.js +0 -70
- data/node_modules/@babel/helper-validator-identifier/lib/identifier.js.map +0 -1
- data/node_modules/@babel/helper-validator-identifier/lib/index.js +0 -57
- data/node_modules/@babel/helper-validator-identifier/lib/index.js.map +0 -1
- data/node_modules/@babel/helper-validator-identifier/lib/keyword.js +0 -35
- data/node_modules/@babel/helper-validator-identifier/lib/keyword.js.map +0 -1
- data/node_modules/@babel/helper-validator-identifier/package.json +0 -31
- data/node_modules/@babel/helper-validator-identifier/scripts/generate-identifier-regex.js +0 -73
- data/node_modules/@babel/helper-validator-option/LICENSE +0 -22
- data/node_modules/@babel/helper-validator-option/README.md +0 -19
- data/node_modules/@babel/helper-validator-option/lib/find-suggestion.js +0 -39
- data/node_modules/@babel/helper-validator-option/lib/find-suggestion.js.map +0 -1
- data/node_modules/@babel/helper-validator-option/lib/index.js +0 -21
- data/node_modules/@babel/helper-validator-option/lib/index.js.map +0 -1
- data/node_modules/@babel/helper-validator-option/lib/validator.js +0 -48
- data/node_modules/@babel/helper-validator-option/lib/validator.js.map +0 -1
- data/node_modules/@babel/helper-validator-option/package.json +0 -27
- data/node_modules/@babel/helpers/LICENSE +0 -22
- data/node_modules/@babel/helpers/README.md +0 -19
- data/node_modules/@babel/helpers/lib/helpers/AwaitValue.js +0 -11
- data/node_modules/@babel/helpers/lib/helpers/AwaitValue.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/OverloadYield.js +0 -12
- data/node_modules/@babel/helpers/lib/helpers/OverloadYield.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/applyDecoratedDescriptor.js +0 -31
- data/node_modules/@babel/helpers/lib/helpers/applyDecoratedDescriptor.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/applyDecs.js +0 -459
- data/node_modules/@babel/helpers/lib/helpers/applyDecs.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/applyDecs2203.js +0 -363
- data/node_modules/@babel/helpers/lib/helpers/applyDecs2203.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/applyDecs2203R.js +0 -376
- data/node_modules/@babel/helpers/lib/helpers/applyDecs2203R.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/applyDecs2301.js +0 -421
- data/node_modules/@babel/helpers/lib/helpers/applyDecs2301.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/applyDecs2305.js +0 -235
- data/node_modules/@babel/helpers/lib/helpers/applyDecs2305.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/applyDecs2311.js +0 -236
- data/node_modules/@babel/helpers/lib/helpers/applyDecs2311.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/arrayLikeToArray.js +0 -13
- data/node_modules/@babel/helpers/lib/helpers/arrayLikeToArray.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/arrayWithHoles.js +0 -11
- data/node_modules/@babel/helpers/lib/helpers/arrayWithHoles.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/arrayWithoutHoles.js +0 -12
- data/node_modules/@babel/helpers/lib/helpers/arrayWithoutHoles.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/assertClassBrand.js +0 -14
- data/node_modules/@babel/helpers/lib/helpers/assertClassBrand.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/assertThisInitialized.js +0 -14
- data/node_modules/@babel/helpers/lib/helpers/assertThisInitialized.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/asyncGeneratorDelegate.js +0 -52
- data/node_modules/@babel/helpers/lib/helpers/asyncGeneratorDelegate.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/asyncIterator.js +0 -70
- data/node_modules/@babel/helpers/lib/helpers/asyncIterator.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/asyncToGenerator.js +0 -38
- data/node_modules/@babel/helpers/lib/helpers/asyncToGenerator.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/awaitAsyncGenerator.js +0 -12
- data/node_modules/@babel/helpers/lib/helpers/awaitAsyncGenerator.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/callSuper.js +0 -15
- data/node_modules/@babel/helpers/lib/helpers/callSuper.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/checkInRHS.js +0 -14
- data/node_modules/@babel/helpers/lib/helpers/checkInRHS.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/checkPrivateRedeclaration.js +0 -13
- data/node_modules/@babel/helpers/lib/helpers/checkPrivateRedeclaration.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/classApplyDescriptorDestructureSet.js +0 -25
- data/node_modules/@babel/helpers/lib/helpers/classApplyDescriptorDestructureSet.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/classApplyDescriptorGet.js +0 -14
- data/node_modules/@babel/helpers/lib/helpers/classApplyDescriptorGet.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/classApplyDescriptorSet.js +0 -18
- data/node_modules/@babel/helpers/lib/helpers/classApplyDescriptorSet.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/classCallCheck.js +0 -13
- data/node_modules/@babel/helpers/lib/helpers/classCallCheck.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/classCheckPrivateStaticAccess.js +0 -12
- data/node_modules/@babel/helpers/lib/helpers/classCheckPrivateStaticAccess.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/classCheckPrivateStaticFieldDescriptor.js +0 -13
- data/node_modules/@babel/helpers/lib/helpers/classCheckPrivateStaticFieldDescriptor.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/classExtractFieldDescriptor.js +0 -12
- data/node_modules/@babel/helpers/lib/helpers/classExtractFieldDescriptor.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/classNameTDZError.js +0 -11
- data/node_modules/@babel/helpers/lib/helpers/classNameTDZError.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldDestructureSet.js +0 -14
- data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldDestructureSet.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldGet.js +0 -14
- data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldGet.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldGet2.js +0 -12
- data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldGet2.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldInitSpec.js +0 -13
- data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldInitSpec.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldLooseBase.js +0 -14
- data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldLooseBase.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldLooseKey.js +0 -12
- data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldLooseKey.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldSet.js +0 -15
- data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldSet.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldSet2.js +0 -13
- data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldSet2.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/classPrivateGetter.js +0 -12
- data/node_modules/@babel/helpers/lib/helpers/classPrivateGetter.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/classPrivateMethodGet.js +0 -13
- data/node_modules/@babel/helpers/lib/helpers/classPrivateMethodGet.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/classPrivateMethodInitSpec.js +0 -13
- data/node_modules/@babel/helpers/lib/helpers/classPrivateMethodInitSpec.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/classPrivateMethodSet.js +0 -11
- data/node_modules/@babel/helpers/lib/helpers/classPrivateMethodSet.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/classPrivateSetter.js +0 -13
- data/node_modules/@babel/helpers/lib/helpers/classPrivateSetter.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/classStaticPrivateFieldDestructureSet.js +0 -16
- data/node_modules/@babel/helpers/lib/helpers/classStaticPrivateFieldDestructureSet.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/classStaticPrivateFieldSpecGet.js +0 -16
- data/node_modules/@babel/helpers/lib/helpers/classStaticPrivateFieldSpecGet.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/classStaticPrivateFieldSpecSet.js +0 -17
- data/node_modules/@babel/helpers/lib/helpers/classStaticPrivateFieldSpecSet.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/classStaticPrivateMethodGet.js +0 -13
- data/node_modules/@babel/helpers/lib/helpers/classStaticPrivateMethodGet.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/classStaticPrivateMethodSet.js +0 -11
- data/node_modules/@babel/helpers/lib/helpers/classStaticPrivateMethodSet.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/construct.js +0 -20
- data/node_modules/@babel/helpers/lib/helpers/construct.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/createClass.js +0 -26
- data/node_modules/@babel/helpers/lib/helpers/createClass.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/createForOfIteratorHelper.js +0 -60
- data/node_modules/@babel/helpers/lib/helpers/createForOfIteratorHelper.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/createForOfIteratorHelperLoose.js +0 -27
- data/node_modules/@babel/helpers/lib/helpers/createForOfIteratorHelperLoose.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/createSuper.js +0 -25
- data/node_modules/@babel/helpers/lib/helpers/createSuper.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/decorate.js +0 -350
- data/node_modules/@babel/helpers/lib/helpers/decorate.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/defaults.js +0 -18
- data/node_modules/@babel/helpers/lib/helpers/defaults.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/defineAccessor.js +0 -16
- data/node_modules/@babel/helpers/lib/helpers/defineAccessor.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/defineEnumerableProperties.js +0 -27
- data/node_modules/@babel/helpers/lib/helpers/defineEnumerableProperties.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/defineProperty.js +0 -23
- data/node_modules/@babel/helpers/lib/helpers/defineProperty.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/dispose.js +0 -47
- data/node_modules/@babel/helpers/lib/helpers/dispose.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/extends.js +0 -22
- data/node_modules/@babel/helpers/lib/helpers/extends.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/get.js +0 -25
- data/node_modules/@babel/helpers/lib/helpers/get.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/getPrototypeOf.js +0 -14
- data/node_modules/@babel/helpers/lib/helpers/getPrototypeOf.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/identity.js +0 -11
- data/node_modules/@babel/helpers/lib/helpers/identity.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/importDeferProxy.js +0 -35
- data/node_modules/@babel/helpers/lib/helpers/importDeferProxy.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/inherits.js +0 -25
- data/node_modules/@babel/helpers/lib/helpers/inherits.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/inheritsLoose.js +0 -14
- data/node_modules/@babel/helpers/lib/helpers/inheritsLoose.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/initializerDefineProperty.js +0 -17
- data/node_modules/@babel/helpers/lib/helpers/initializerDefineProperty.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/initializerWarningHelper.js +0 -11
- data/node_modules/@babel/helpers/lib/helpers/initializerWarningHelper.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/instanceof.js +0 -15
- data/node_modules/@babel/helpers/lib/helpers/instanceof.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/interopRequireDefault.js +0 -13
- data/node_modules/@babel/helpers/lib/helpers/interopRequireDefault.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/interopRequireWildcard.js +0 -49
- data/node_modules/@babel/helpers/lib/helpers/interopRequireWildcard.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/isNativeFunction.js +0 -15
- data/node_modules/@babel/helpers/lib/helpers/isNativeFunction.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/isNativeReflectConstruct.js +0 -16
- data/node_modules/@babel/helpers/lib/helpers/isNativeReflectConstruct.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/iterableToArray.js +0 -13
- data/node_modules/@babel/helpers/lib/helpers/iterableToArray.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/iterableToArrayLimit.js +0 -41
- data/node_modules/@babel/helpers/lib/helpers/iterableToArrayLimit.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/jsx.js +0 -47
- data/node_modules/@babel/helpers/lib/helpers/jsx.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/maybeArrayLike.js +0 -16
- data/node_modules/@babel/helpers/lib/helpers/maybeArrayLike.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/newArrowCheck.js +0 -13
- data/node_modules/@babel/helpers/lib/helpers/newArrowCheck.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/nonIterableRest.js +0 -11
- data/node_modules/@babel/helpers/lib/helpers/nonIterableRest.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/nonIterableSpread.js +0 -11
- data/node_modules/@babel/helpers/lib/helpers/nonIterableSpread.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/nullishReceiverError.js +0 -11
- data/node_modules/@babel/helpers/lib/helpers/nullishReceiverError.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/objectDestructuringEmpty.js +0 -11
- data/node_modules/@babel/helpers/lib/helpers/objectDestructuringEmpty.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/objectSpread.js +0 -24
- data/node_modules/@babel/helpers/lib/helpers/objectSpread.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/objectSpread2.js +0 -39
- data/node_modules/@babel/helpers/lib/helpers/objectSpread2.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/objectWithoutProperties.js +0 -24
- data/node_modules/@babel/helpers/lib/helpers/objectWithoutProperties.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/objectWithoutPropertiesLoose.js +0 -19
- data/node_modules/@babel/helpers/lib/helpers/objectWithoutPropertiesLoose.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/possibleConstructorReturn.js +0 -17
- data/node_modules/@babel/helpers/lib/helpers/possibleConstructorReturn.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/readOnlyError.js +0 -11
- data/node_modules/@babel/helpers/lib/helpers/readOnlyError.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/regeneratorRuntime.js +0 -499
- data/node_modules/@babel/helpers/lib/helpers/regeneratorRuntime.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/set.js +0 -48
- data/node_modules/@babel/helpers/lib/helpers/set.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/setFunctionName.js +0 -21
- data/node_modules/@babel/helpers/lib/helpers/setFunctionName.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/setPrototypeOf.js +0 -15
- data/node_modules/@babel/helpers/lib/helpers/setPrototypeOf.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/skipFirstGeneratorNext.js +0 -15
- data/node_modules/@babel/helpers/lib/helpers/skipFirstGeneratorNext.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/slicedToArray.js +0 -15
- data/node_modules/@babel/helpers/lib/helpers/slicedToArray.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/superPropBase.js +0 -16
- data/node_modules/@babel/helpers/lib/helpers/superPropBase.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/taggedTemplateLiteral.js +0 -18
- data/node_modules/@babel/helpers/lib/helpers/taggedTemplateLiteral.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/taggedTemplateLiteralLoose.js +0 -15
- data/node_modules/@babel/helpers/lib/helpers/taggedTemplateLiteralLoose.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/tdz.js +0 -11
- data/node_modules/@babel/helpers/lib/helpers/tdz.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/temporalRef.js +0 -13
- data/node_modules/@babel/helpers/lib/helpers/temporalRef.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/temporalUndefined.js +0 -9
- data/node_modules/@babel/helpers/lib/helpers/temporalUndefined.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/toArray.js +0 -15
- data/node_modules/@babel/helpers/lib/helpers/toArray.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/toConsumableArray.js +0 -15
- data/node_modules/@babel/helpers/lib/helpers/toConsumableArray.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/toPrimitive.js +0 -18
- data/node_modules/@babel/helpers/lib/helpers/toPrimitive.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/toPropertyKey.js +0 -13
- data/node_modules/@babel/helpers/lib/helpers/toPropertyKey.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/toSetter.js +0 -18
- data/node_modules/@babel/helpers/lib/helpers/toSetter.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/typeof.js +0 -22
- data/node_modules/@babel/helpers/lib/helpers/typeof.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/unsupportedIterableToArray.js +0 -19
- data/node_modules/@babel/helpers/lib/helpers/unsupportedIterableToArray.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/using.js +0 -29
- data/node_modules/@babel/helpers/lib/helpers/using.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/usingCtx.js +0 -73
- data/node_modules/@babel/helpers/lib/helpers/usingCtx.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/wrapAsyncGenerator.js +0 -97
- data/node_modules/@babel/helpers/lib/helpers/wrapAsyncGenerator.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/wrapNativeSuper.js +0 -38
- data/node_modules/@babel/helpers/lib/helpers/wrapNativeSuper.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/wrapRegExp.js +0 -66
- data/node_modules/@babel/helpers/lib/helpers/wrapRegExp.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/writeOnlyError.js +0 -11
- data/node_modules/@babel/helpers/lib/helpers/writeOnlyError.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers-generated.js +0 -1207
- data/node_modules/@babel/helpers/lib/helpers-generated.js.map +0 -1
- data/node_modules/@babel/helpers/lib/index.js +0 -121
- data/node_modules/@babel/helpers/lib/index.js.map +0 -1
- data/node_modules/@babel/helpers/package.json +0 -31
- data/node_modules/@babel/helpers/scripts/build-helper-metadata.js +0 -209
- data/node_modules/@babel/helpers/scripts/generate-helpers.js +0 -207
- data/node_modules/@babel/helpers/scripts/generate-regenerator-runtime.js +0 -63
- data/node_modules/@babel/highlight/LICENSE +0 -22
- data/node_modules/@babel/highlight/README.md +0 -19
- data/node_modules/@babel/highlight/lib/index.js +0 -119
- data/node_modules/@babel/highlight/lib/index.js.map +0 -1
- data/node_modules/@babel/highlight/package.json +0 -30
- data/node_modules/@babel/parser/CHANGELOG.md +0 -1073
- data/node_modules/@babel/parser/LICENSE +0 -19
- data/node_modules/@babel/parser/README.md +0 -19
- data/node_modules/@babel/parser/bin/babel-parser.js +0 -15
- data/node_modules/@babel/parser/index.cjs +0 -5
- data/node_modules/@babel/parser/lib/index.js +0 -13989
- data/node_modules/@babel/parser/lib/index.js.map +0 -1
- data/node_modules/@babel/parser/package.json +0 -47
- data/node_modules/@babel/parser/typings/babel-parser.d.ts +0 -251
- data/node_modules/@babel/template/LICENSE +0 -22
- data/node_modules/@babel/template/README.md +0 -19
- data/node_modules/@babel/template/lib/builder.js +0 -69
- data/node_modules/@babel/template/lib/builder.js.map +0 -1
- data/node_modules/@babel/template/lib/formatters.js +0 -61
- data/node_modules/@babel/template/lib/formatters.js.map +0 -1
- data/node_modules/@babel/template/lib/index.js +0 -23
- data/node_modules/@babel/template/lib/index.js.map +0 -1
- data/node_modules/@babel/template/lib/literal.js +0 -69
- data/node_modules/@babel/template/lib/literal.js.map +0 -1
- data/node_modules/@babel/template/lib/options.js +0 -73
- data/node_modules/@babel/template/lib/options.js.map +0 -1
- data/node_modules/@babel/template/lib/parse.js +0 -160
- data/node_modules/@babel/template/lib/parse.js.map +0 -1
- data/node_modules/@babel/template/lib/populate.js +0 -122
- data/node_modules/@babel/template/lib/populate.js.map +0 -1
- data/node_modules/@babel/template/lib/string.js +0 -20
- data/node_modules/@babel/template/lib/string.js.map +0 -1
- data/node_modules/@babel/template/node_modules/.bin/parser +0 -1
- data/node_modules/@babel/template/package.json +0 -27
- data/node_modules/@babel/traverse/LICENSE +0 -22
- data/node_modules/@babel/traverse/README.md +0 -19
- data/node_modules/@babel/traverse/lib/cache.js +0 -44
- data/node_modules/@babel/traverse/lib/cache.js.map +0 -1
- data/node_modules/@babel/traverse/lib/context.js +0 -118
- data/node_modules/@babel/traverse/lib/context.js.map +0 -1
- data/node_modules/@babel/traverse/lib/hub.js +0 -19
- data/node_modules/@babel/traverse/lib/hub.js.map +0 -1
- data/node_modules/@babel/traverse/lib/index.js +0 -94
- data/node_modules/@babel/traverse/lib/index.js.map +0 -1
- data/node_modules/@babel/traverse/lib/path/ancestry.js +0 -141
- data/node_modules/@babel/traverse/lib/path/ancestry.js.map +0 -1
- data/node_modules/@babel/traverse/lib/path/comments.js +0 -52
- data/node_modules/@babel/traverse/lib/path/comments.js.map +0 -1
- data/node_modules/@babel/traverse/lib/path/context.js +0 -222
- data/node_modules/@babel/traverse/lib/path/context.js.map +0 -1
- data/node_modules/@babel/traverse/lib/path/conversion.js +0 -468
- data/node_modules/@babel/traverse/lib/path/conversion.js.map +0 -1
- data/node_modules/@babel/traverse/lib/path/evaluation.js +0 -347
- data/node_modules/@babel/traverse/lib/path/evaluation.js.map +0 -1
- data/node_modules/@babel/traverse/lib/path/family.js +0 -335
- data/node_modules/@babel/traverse/lib/path/family.js.map +0 -1
- data/node_modules/@babel/traverse/lib/path/index.js +0 -282
- data/node_modules/@babel/traverse/lib/path/index.js.map +0 -1
- data/node_modules/@babel/traverse/lib/path/inference/index.js +0 -149
- data/node_modules/@babel/traverse/lib/path/inference/index.js.map +0 -1
- data/node_modules/@babel/traverse/lib/path/inference/inferer-reference.js +0 -151
- data/node_modules/@babel/traverse/lib/path/inference/inferer-reference.js.map +0 -1
- data/node_modules/@babel/traverse/lib/path/inference/inferers.js +0 -207
- data/node_modules/@babel/traverse/lib/path/inference/inferers.js.map +0 -1
- data/node_modules/@babel/traverse/lib/path/inference/util.js +0 -30
- data/node_modules/@babel/traverse/lib/path/inference/util.js.map +0 -1
- data/node_modules/@babel/traverse/lib/path/introspection.js +0 -397
- data/node_modules/@babel/traverse/lib/path/introspection.js.map +0 -1
- data/node_modules/@babel/traverse/lib/path/lib/hoister.js +0 -171
- data/node_modules/@babel/traverse/lib/path/lib/hoister.js.map +0 -1
- data/node_modules/@babel/traverse/lib/path/lib/removal-hooks.js +0 -37
- data/node_modules/@babel/traverse/lib/path/lib/removal-hooks.js.map +0 -1
- data/node_modules/@babel/traverse/lib/path/lib/virtual-types-validator.js +0 -163
- data/node_modules/@babel/traverse/lib/path/lib/virtual-types-validator.js.map +0 -1
- data/node_modules/@babel/traverse/lib/path/lib/virtual-types.js +0 -26
- data/node_modules/@babel/traverse/lib/path/lib/virtual-types.js.map +0 -1
- data/node_modules/@babel/traverse/lib/path/modification.js +0 -226
- data/node_modules/@babel/traverse/lib/path/modification.js.map +0 -1
- data/node_modules/@babel/traverse/lib/path/removal.js +0 -66
- data/node_modules/@babel/traverse/lib/path/removal.js.map +0 -1
- data/node_modules/@babel/traverse/lib/path/replacement.js +0 -264
- data/node_modules/@babel/traverse/lib/path/replacement.js.map +0 -1
- data/node_modules/@babel/traverse/lib/scope/binding.js +0 -83
- data/node_modules/@babel/traverse/lib/scope/binding.js.map +0 -1
- data/node_modules/@babel/traverse/lib/scope/index.js +0 -904
- data/node_modules/@babel/traverse/lib/scope/index.js.map +0 -1
- data/node_modules/@babel/traverse/lib/scope/lib/renamer.js +0 -115
- data/node_modules/@babel/traverse/lib/scope/lib/renamer.js.map +0 -1
- data/node_modules/@babel/traverse/lib/traverse-node.js +0 -29
- data/node_modules/@babel/traverse/lib/traverse-node.js.map +0 -1
- data/node_modules/@babel/traverse/lib/types.js +0 -3
- data/node_modules/@babel/traverse/lib/types.js.map +0 -1
- data/node_modules/@babel/traverse/lib/visitors.js +0 -221
- data/node_modules/@babel/traverse/lib/visitors.js.map +0 -1
- data/node_modules/@babel/traverse/node_modules/.bin/parser +0 -1
- data/node_modules/@babel/traverse/package.json +0 -38
- data/node_modules/@babel/types/LICENSE +0 -22
- data/node_modules/@babel/types/README.md +0 -19
- data/node_modules/@babel/types/lib/asserts/assertNode.js +0 -16
- data/node_modules/@babel/types/lib/asserts/assertNode.js.map +0 -1
- data/node_modules/@babel/types/lib/asserts/generated/index.js +0 -1235
- data/node_modules/@babel/types/lib/asserts/generated/index.js.map +0 -1
- data/node_modules/@babel/types/lib/ast-types/generated/index.js +0 -3
- data/node_modules/@babel/types/lib/ast-types/generated/index.js.map +0 -1
- data/node_modules/@babel/types/lib/builders/flow/createFlowUnionType.js +0 -18
- data/node_modules/@babel/types/lib/builders/flow/createFlowUnionType.js.map +0 -1
- data/node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.js +0 -31
- data/node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.js.map +0 -1
- data/node_modules/@babel/types/lib/builders/generated/index.js +0 -1991
- data/node_modules/@babel/types/lib/builders/generated/index.js.map +0 -1
- data/node_modules/@babel/types/lib/builders/generated/uppercase.js +0 -1532
- data/node_modules/@babel/types/lib/builders/generated/uppercase.js.map +0 -1
- data/node_modules/@babel/types/lib/builders/productions.js +0 -12
- data/node_modules/@babel/types/lib/builders/productions.js.map +0 -1
- data/node_modules/@babel/types/lib/builders/react/buildChildren.js +0 -24
- data/node_modules/@babel/types/lib/builders/react/buildChildren.js.map +0 -1
- data/node_modules/@babel/types/lib/builders/typescript/createTSUnionType.js +0 -22
- data/node_modules/@babel/types/lib/builders/typescript/createTSUnionType.js.map +0 -1
- data/node_modules/@babel/types/lib/builders/validateNode.js +0 -17
- data/node_modules/@babel/types/lib/builders/validateNode.js.map +0 -1
- data/node_modules/@babel/types/lib/clone/clone.js +0 -12
- data/node_modules/@babel/types/lib/clone/clone.js.map +0 -1
- data/node_modules/@babel/types/lib/clone/cloneDeep.js +0 -12
- data/node_modules/@babel/types/lib/clone/cloneDeep.js.map +0 -1
- data/node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js +0 -12
- data/node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js.map +0 -1
- data/node_modules/@babel/types/lib/clone/cloneNode.js +0 -104
- data/node_modules/@babel/types/lib/clone/cloneNode.js.map +0 -1
- data/node_modules/@babel/types/lib/clone/cloneWithoutLoc.js +0 -12
- data/node_modules/@babel/types/lib/clone/cloneWithoutLoc.js.map +0 -1
- data/node_modules/@babel/types/lib/comments/addComment.js +0 -15
- data/node_modules/@babel/types/lib/comments/addComment.js.map +0 -1
- data/node_modules/@babel/types/lib/comments/addComments.js +0 -22
- data/node_modules/@babel/types/lib/comments/addComments.js.map +0 -1
- data/node_modules/@babel/types/lib/comments/inheritInnerComments.js +0 -12
- data/node_modules/@babel/types/lib/comments/inheritInnerComments.js.map +0 -1
- data/node_modules/@babel/types/lib/comments/inheritLeadingComments.js +0 -12
- data/node_modules/@babel/types/lib/comments/inheritLeadingComments.js.map +0 -1
- data/node_modules/@babel/types/lib/comments/inheritTrailingComments.js +0 -12
- data/node_modules/@babel/types/lib/comments/inheritTrailingComments.js.map +0 -1
- data/node_modules/@babel/types/lib/comments/inheritsComments.js +0 -17
- data/node_modules/@babel/types/lib/comments/inheritsComments.js.map +0 -1
- data/node_modules/@babel/types/lib/comments/removeComments.js +0 -15
- data/node_modules/@babel/types/lib/comments/removeComments.js.map +0 -1
- data/node_modules/@babel/types/lib/constants/generated/index.js +0 -59
- data/node_modules/@babel/types/lib/constants/generated/index.js.map +0 -1
- data/node_modules/@babel/types/lib/constants/index.js +0 -31
- data/node_modules/@babel/types/lib/constants/index.js.map +0 -1
- data/node_modules/@babel/types/lib/converters/ensureBlock.js +0 -14
- data/node_modules/@babel/types/lib/converters/ensureBlock.js.map +0 -1
- data/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js +0 -66
- data/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js.map +0 -1
- data/node_modules/@babel/types/lib/converters/toBindingIdentifierName.js +0 -14
- data/node_modules/@babel/types/lib/converters/toBindingIdentifierName.js.map +0 -1
- data/node_modules/@babel/types/lib/converters/toBlock.js +0 -29
- data/node_modules/@babel/types/lib/converters/toBlock.js.map +0 -1
- data/node_modules/@babel/types/lib/converters/toComputedKey.js +0 -14
- data/node_modules/@babel/types/lib/converters/toComputedKey.js.map +0 -1
- data/node_modules/@babel/types/lib/converters/toExpression.js +0 -27
- data/node_modules/@babel/types/lib/converters/toExpression.js.map +0 -1
- data/node_modules/@babel/types/lib/converters/toIdentifier.js +0 -25
- data/node_modules/@babel/types/lib/converters/toIdentifier.js.map +0 -1
- data/node_modules/@babel/types/lib/converters/toKeyAlias.js +0 -38
- data/node_modules/@babel/types/lib/converters/toKeyAlias.js.map +0 -1
- data/node_modules/@babel/types/lib/converters/toSequenceExpression.js +0 -20
- data/node_modules/@babel/types/lib/converters/toSequenceExpression.js.map +0 -1
- data/node_modules/@babel/types/lib/converters/toStatement.js +0 -39
- data/node_modules/@babel/types/lib/converters/toStatement.js.map +0 -1
- data/node_modules/@babel/types/lib/converters/valueToNode.js +0 -76
- data/node_modules/@babel/types/lib/converters/valueToNode.js.map +0 -1
- data/node_modules/@babel/types/lib/definitions/core.js +0 -1689
- data/node_modules/@babel/types/lib/definitions/core.js.map +0 -1
- data/node_modules/@babel/types/lib/definitions/deprecated-aliases.js +0 -11
- data/node_modules/@babel/types/lib/definitions/deprecated-aliases.js.map +0 -1
- data/node_modules/@babel/types/lib/definitions/experimental.js +0 -134
- data/node_modules/@babel/types/lib/definitions/experimental.js.map +0 -1
- data/node_modules/@babel/types/lib/definitions/flow.js +0 -488
- data/node_modules/@babel/types/lib/definitions/flow.js.map +0 -1
- data/node_modules/@babel/types/lib/definitions/index.js +0 -96
- data/node_modules/@babel/types/lib/definitions/index.js.map +0 -1
- data/node_modules/@babel/types/lib/definitions/jsx.js +0 -158
- data/node_modules/@babel/types/lib/definitions/jsx.js.map +0 -1
- data/node_modules/@babel/types/lib/definitions/misc.js +0 -32
- data/node_modules/@babel/types/lib/definitions/misc.js.map +0 -1
- data/node_modules/@babel/types/lib/definitions/placeholders.js +0 -27
- data/node_modules/@babel/types/lib/definitions/placeholders.js.map +0 -1
- data/node_modules/@babel/types/lib/definitions/typescript.js +0 -493
- data/node_modules/@babel/types/lib/definitions/typescript.js.map +0 -1
- data/node_modules/@babel/types/lib/definitions/utils.js +0 -273
- data/node_modules/@babel/types/lib/definitions/utils.js.map +0 -1
- data/node_modules/@babel/types/lib/index-legacy.d.ts +0 -2758
- data/node_modules/@babel/types/lib/index.d.ts +0 -3269
- data/node_modules/@babel/types/lib/index.js +0 -576
- data/node_modules/@babel/types/lib/index.js.flow +0 -2612
- data/node_modules/@babel/types/lib/index.js.map +0 -1
- data/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js +0 -15
- data/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js.map +0 -1
- data/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js +0 -65
- data/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js.map +0 -1
- data/node_modules/@babel/types/lib/modifications/inherits.js +0 -28
- data/node_modules/@babel/types/lib/modifications/inherits.js.map +0 -1
- data/node_modules/@babel/types/lib/modifications/prependToMemberExpression.js +0 -17
- data/node_modules/@babel/types/lib/modifications/prependToMemberExpression.js.map +0 -1
- data/node_modules/@babel/types/lib/modifications/removeProperties.js +0 -24
- data/node_modules/@babel/types/lib/modifications/removeProperties.js.map +0 -1
- data/node_modules/@babel/types/lib/modifications/removePropertiesDeep.js +0 -14
- data/node_modules/@babel/types/lib/modifications/removePropertiesDeep.js.map +0 -1
- data/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js +0 -65
- data/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js.map +0 -1
- data/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js +0 -96
- data/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js.map +0 -1
- data/node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js +0 -13
- data/node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js.map +0 -1
- data/node_modules/@babel/types/lib/traverse/traverse.js +0 -50
- data/node_modules/@babel/types/lib/traverse/traverse.js.map +0 -1
- data/node_modules/@babel/types/lib/traverse/traverseFast.js +0 -26
- data/node_modules/@babel/types/lib/traverse/traverseFast.js.map +0 -1
- data/node_modules/@babel/types/lib/utils/deprecationWarning.js +0 -44
- data/node_modules/@babel/types/lib/utils/deprecationWarning.js.map +0 -1
- data/node_modules/@babel/types/lib/utils/inherit.js +0 -13
- data/node_modules/@babel/types/lib/utils/inherit.js.map +0 -1
- data/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js +0 -40
- data/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js.map +0 -1
- data/node_modules/@babel/types/lib/utils/shallowEqual.js +0 -17
- data/node_modules/@babel/types/lib/utils/shallowEqual.js.map +0 -1
- data/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js +0 -13
- data/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js.map +0 -1
- data/node_modules/@babel/types/lib/validators/generated/index.js +0 -2752
- data/node_modules/@babel/types/lib/validators/generated/index.js.map +0 -1
- data/node_modules/@babel/types/lib/validators/is.js +0 -27
- data/node_modules/@babel/types/lib/validators/is.js.map +0 -1
- data/node_modules/@babel/types/lib/validators/isBinding.js +0 -27
- data/node_modules/@babel/types/lib/validators/isBinding.js.map +0 -1
- data/node_modules/@babel/types/lib/validators/isBlockScoped.js +0 -13
- data/node_modules/@babel/types/lib/validators/isBlockScoped.js.map +0 -1
- data/node_modules/@babel/types/lib/validators/isImmutable.js +0 -21
- data/node_modules/@babel/types/lib/validators/isImmutable.js.map +0 -1
- data/node_modules/@babel/types/lib/validators/isLet.js +0 -13
- data/node_modules/@babel/types/lib/validators/isLet.js.map +0 -1
- data/node_modules/@babel/types/lib/validators/isNode.js +0 -12
- data/node_modules/@babel/types/lib/validators/isNode.js.map +0 -1
- data/node_modules/@babel/types/lib/validators/isNodesEquivalent.js +0 -57
- data/node_modules/@babel/types/lib/validators/isNodesEquivalent.js.map +0 -1
- data/node_modules/@babel/types/lib/validators/isPlaceholderType.js +0 -19
- data/node_modules/@babel/types/lib/validators/isPlaceholderType.js.map +0 -1
- data/node_modules/@babel/types/lib/validators/isReferenced.js +0 -96
- data/node_modules/@babel/types/lib/validators/isReferenced.js.map +0 -1
- data/node_modules/@babel/types/lib/validators/isScope.js +0 -18
- data/node_modules/@babel/types/lib/validators/isScope.js.map +0 -1
- data/node_modules/@babel/types/lib/validators/isSpecifierDefault.js +0 -14
- data/node_modules/@babel/types/lib/validators/isSpecifierDefault.js.map +0 -1
- data/node_modules/@babel/types/lib/validators/isType.js +0 -22
- data/node_modules/@babel/types/lib/validators/isType.js.map +0 -1
- data/node_modules/@babel/types/lib/validators/isValidES3Identifier.js +0 -13
- data/node_modules/@babel/types/lib/validators/isValidES3Identifier.js.map +0 -1
- data/node_modules/@babel/types/lib/validators/isValidIdentifier.js +0 -18
- data/node_modules/@babel/types/lib/validators/isValidIdentifier.js.map +0 -1
- data/node_modules/@babel/types/lib/validators/isVar.js +0 -15
- data/node_modules/@babel/types/lib/validators/isVar.js.map +0 -1
- data/node_modules/@babel/types/lib/validators/matchesPattern.js +0 -36
- data/node_modules/@babel/types/lib/validators/matchesPattern.js.map +0 -1
- data/node_modules/@babel/types/lib/validators/react/isCompatTag.js +0 -11
- data/node_modules/@babel/types/lib/validators/react/isCompatTag.js.map +0 -1
- data/node_modules/@babel/types/lib/validators/react/isReactComponent.js +0 -11
- data/node_modules/@babel/types/lib/validators/react/isReactComponent.js.map +0 -1
- data/node_modules/@babel/types/lib/validators/validate.js +0 -30
- data/node_modules/@babel/types/lib/validators/validate.js.map +0 -1
- data/node_modules/@babel/types/package.json +0 -40
- data/node_modules/@codemod/core/LICENSE.txt +0 -202
- data/node_modules/@codemod/core/README.md +0 -41
- data/node_modules/@codemod/core/build/AllSyntaxPlugin.d.ts +0 -3
- data/node_modules/@codemod/core/build/AllSyntaxPlugin.js +0 -20
- data/node_modules/@codemod/core/build/AllSyntaxPlugin.js.map +0 -1
- data/node_modules/@codemod/core/build/BabelPluginTypes.d.ts +0 -17
- data/node_modules/@codemod/core/build/BabelPluginTypes.js +0 -3
- data/node_modules/@codemod/core/build/BabelPluginTypes.js.map +0 -1
- data/node_modules/@codemod/core/build/RecastPlugin.d.ts +0 -9
- data/node_modules/@codemod/core/build/RecastPlugin.js +0 -26
- data/node_modules/@codemod/core/build/RecastPlugin.js.map +0 -1
- data/node_modules/@codemod/core/build/index.d.ts +0 -1
- data/node_modules/@codemod/core/build/index.js +0 -14
- data/node_modules/@codemod/core/build/index.js.map +0 -1
- data/node_modules/@codemod/core/build/transform.d.ts +0 -7
- data/node_modules/@codemod/core/build/transform.js +0 -22
- data/node_modules/@codemod/core/build/transform.js.map +0 -1
- data/node_modules/@codemod/core/node_modules/.bin/is-ci +0 -1
- data/node_modules/@codemod/core/node_modules/.bin/is-ci-cli +0 -1
- data/node_modules/@codemod/core/node_modules/.bin/resolve +0 -1
- data/node_modules/@codemod/core/package.json +0 -45
- data/node_modules/@codemod/parser/LICENSE.txt +0 -202
- data/node_modules/@codemod/parser/README.md +0 -33
- data/node_modules/@codemod/parser/build/index.d.ts +0 -8
- data/node_modules/@codemod/parser/build/index.js +0 -16
- data/node_modules/@codemod/parser/build/index.js.map +0 -1
- data/node_modules/@codemod/parser/build/options.d.ts +0 -20
- data/node_modules/@codemod/parser/build/options.js +0 -180
- data/node_modules/@codemod/parser/build/options.js.map +0 -1
- data/node_modules/@codemod/parser/node_modules/.bin/parser +0 -1
- data/node_modules/@codemod/parser/package.json +0 -38
- data/node_modules/@jridgewell/gen-mapping/LICENSE +0 -19
- data/node_modules/@jridgewell/gen-mapping/README.md +0 -227
- data/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.mjs +0 -230
- data/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.mjs.map +0 -1
- data/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js +0 -246
- data/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js.map +0 -1
- data/node_modules/@jridgewell/gen-mapping/dist/types/gen-mapping.d.ts +0 -88
- data/node_modules/@jridgewell/gen-mapping/dist/types/sourcemap-segment.d.ts +0 -12
- data/node_modules/@jridgewell/gen-mapping/dist/types/types.d.ts +0 -36
- data/node_modules/@jridgewell/gen-mapping/package.json +0 -76
- data/node_modules/@jridgewell/resolve-uri/LICENSE +0 -19
- data/node_modules/@jridgewell/resolve-uri/README.md +0 -40
- data/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.mjs +0 -232
- data/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.mjs.map +0 -1
- data/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js +0 -240
- data/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js.map +0 -1
- data/node_modules/@jridgewell/resolve-uri/dist/types/resolve-uri.d.ts +0 -4
- data/node_modules/@jridgewell/resolve-uri/package.json +0 -69
- data/node_modules/@jridgewell/set-array/LICENSE +0 -19
- data/node_modules/@jridgewell/set-array/README.md +0 -37
- data/node_modules/@jridgewell/set-array/dist/set-array.mjs +0 -69
- data/node_modules/@jridgewell/set-array/dist/set-array.mjs.map +0 -1
- data/node_modules/@jridgewell/set-array/dist/set-array.umd.js +0 -83
- data/node_modules/@jridgewell/set-array/dist/set-array.umd.js.map +0 -1
- data/node_modules/@jridgewell/set-array/dist/types/set-array.d.ts +0 -32
- data/node_modules/@jridgewell/set-array/package.json +0 -65
- data/node_modules/@jridgewell/sourcemap-codec/LICENSE +0 -21
- data/node_modules/@jridgewell/sourcemap-codec/README.md +0 -200
- data/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs +0 -164
- data/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs.map +0 -1
- data/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js +0 -175
- data/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js.map +0 -1
- data/node_modules/@jridgewell/sourcemap-codec/dist/types/sourcemap-codec.d.ts +0 -6
- data/node_modules/@jridgewell/sourcemap-codec/package.json +0 -74
- data/node_modules/@jridgewell/trace-mapping/LICENSE +0 -19
- data/node_modules/@jridgewell/trace-mapping/README.md +0 -257
- data/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs +0 -580
- data/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs.map +0 -1
- data/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js +0 -600
- data/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js.map +0 -1
- data/node_modules/@jridgewell/trace-mapping/dist/types/any-map.d.ts +0 -8
- data/node_modules/@jridgewell/trace-mapping/dist/types/binary-search.d.ts +0 -32
- data/node_modules/@jridgewell/trace-mapping/dist/types/by-source.d.ts +0 -7
- data/node_modules/@jridgewell/trace-mapping/dist/types/resolve.d.ts +0 -1
- data/node_modules/@jridgewell/trace-mapping/dist/types/sort.d.ts +0 -2
- data/node_modules/@jridgewell/trace-mapping/dist/types/sourcemap-segment.d.ts +0 -16
- data/node_modules/@jridgewell/trace-mapping/dist/types/strip-filename.d.ts +0 -4
- data/node_modules/@jridgewell/trace-mapping/dist/types/trace-mapping.d.ts +0 -79
- data/node_modules/@jridgewell/trace-mapping/dist/types/types.d.ts +0 -99
- data/node_modules/@jridgewell/trace-mapping/package.json +0 -77
- data/node_modules/@resugar/codemod-declarations-block-scope/LICENSE +0 -7
- data/node_modules/@resugar/codemod-declarations-block-scope/package.json +0 -28
- data/node_modules/@resugar/codemod-declarations-block-scope/src/index.d.ts +0 -8
- data/node_modules/@resugar/codemod-declarations-block-scope/src/index.js +0 -45
- data/node_modules/@resugar/codemod-declarations-block-scope/src/index.js.map +0 -1
- data/node_modules/@resugar/codemod-declarations-block-scope/src/mostRestrictiveKindForDeclaration.d.ts +0 -10
- data/node_modules/@resugar/codemod-declarations-block-scope/src/mostRestrictiveKindForDeclaration.js +0 -136
- data/node_modules/@resugar/codemod-declarations-block-scope/src/mostRestrictiveKindForDeclaration.js.map +0 -1
- data/node_modules/@resugar/codemod-functions-arrow/LICENSE +0 -7
- data/node_modules/@resugar/codemod-functions-arrow/package.json +0 -32
- data/node_modules/@resugar/codemod-functions-arrow/src/index.d.ts +0 -2
- data/node_modules/@resugar/codemod-functions-arrow/src/index.js +0 -138
- data/node_modules/@resugar/codemod-functions-arrow/src/index.js.map +0 -1
- data/node_modules/@resugar/codemod-modules-commonjs/LICENSE +0 -7
- data/node_modules/@resugar/codemod-modules-commonjs/package.json +0 -33
- data/node_modules/@resugar/codemod-modules-commonjs/src/bindings.d.ts +0 -28
- data/node_modules/@resugar/codemod-modules-commonjs/src/bindings.js +0 -88
- data/node_modules/@resugar/codemod-modules-commonjs/src/bindings.js.map +0 -1
- data/node_modules/@resugar/codemod-modules-commonjs/src/getFirstUnsafeLocation.d.ts +0 -8
- data/node_modules/@resugar/codemod-modules-commonjs/src/getFirstUnsafeLocation.js +0 -80
- data/node_modules/@resugar/codemod-modules-commonjs/src/getFirstUnsafeLocation.js.map +0 -1
- data/node_modules/@resugar/codemod-modules-commonjs/src/index.d.ts +0 -8
- data/node_modules/@resugar/codemod-modules-commonjs/src/index.js +0 -644
- data/node_modules/@resugar/codemod-modules-commonjs/src/index.js.map +0 -1
- data/node_modules/@resugar/codemod-objects-concise/LICENSE +0 -7
- data/node_modules/@resugar/codemod-objects-concise/package.json +0 -28
- data/node_modules/@resugar/codemod-objects-concise/src/index.d.ts +0 -2
- data/node_modules/@resugar/codemod-objects-concise/src/index.js +0 -26
- data/node_modules/@resugar/codemod-objects-concise/src/index.js.map +0 -1
- data/node_modules/@resugar/codemod-objects-destructuring/LICENSE +0 -7
- data/node_modules/@resugar/codemod-objects-destructuring/package.json +0 -29
- data/node_modules/@resugar/codemod-objects-destructuring/src/index.d.ts +0 -2
- data/node_modules/@resugar/codemod-objects-destructuring/src/index.js +0 -103
- data/node_modules/@resugar/codemod-objects-destructuring/src/index.js.map +0 -1
- data/node_modules/@resugar/codemod-objects-shorthand/LICENSE +0 -7
- data/node_modules/@resugar/codemod-objects-shorthand/package.json +0 -32
- data/node_modules/@resugar/codemod-objects-shorthand/src/index.d.ts +0 -2
- data/node_modules/@resugar/codemod-objects-shorthand/src/index.js +0 -26
- data/node_modules/@resugar/codemod-objects-shorthand/src/index.js.map +0 -1
- data/node_modules/@resugar/codemod-strings-template/LICENSE +0 -7
- data/node_modules/@resugar/codemod-strings-template/package.json +0 -30
- data/node_modules/@resugar/codemod-strings-template/src/convertStringEscaping.d.ts +0 -5
- data/node_modules/@resugar/codemod-strings-template/src/convertStringEscaping.js +0 -40
- data/node_modules/@resugar/codemod-strings-template/src/convertStringEscaping.js.map +0 -1
- data/node_modules/@resugar/codemod-strings-template/src/index.d.ts +0 -2
- data/node_modules/@resugar/codemod-strings-template/src/index.js +0 -134
- data/node_modules/@resugar/codemod-strings-template/src/index.js.map +0 -1
- data/node_modules/@resugar/helper-comments/LICENSE +0 -7
- data/node_modules/@resugar/helper-comments/package.json +0 -25
- data/node_modules/@resugar/helper-comments/src/index.d.ts +0 -16
- data/node_modules/@resugar/helper-comments/src/index.js +0 -68
- data/node_modules/@resugar/helper-comments/src/index.js.map +0 -1
- data/node_modules/add-variable-declarations/LICENSE +0 -7
- data/node_modules/add-variable-declarations/README.md +0 -66
- data/node_modules/add-variable-declarations/dist/index.d.ts +0 -13
- data/node_modules/add-variable-declarations/dist/index.js +0 -498
- data/node_modules/add-variable-declarations/dist/index.mjs +0 -463
- data/node_modules/add-variable-declarations/package.json +0 -62
- data/node_modules/ansi-styles/index.js +0 -165
- data/node_modules/ansi-styles/license +0 -9
- data/node_modules/ansi-styles/package.json +0 -56
- data/node_modules/ansi-styles/readme.md +0 -147
- data/node_modules/any-promise/.jshintrc +0 -4
- data/node_modules/any-promise/.npmignore +0 -7
- data/node_modules/any-promise/LICENSE +0 -19
- data/node_modules/any-promise/README.md +0 -161
- data/node_modules/any-promise/implementation.d.ts +0 -3
- data/node_modules/any-promise/implementation.js +0 -1
- data/node_modules/any-promise/index.d.ts +0 -73
- data/node_modules/any-promise/index.js +0 -1
- data/node_modules/any-promise/loader.js +0 -78
- data/node_modules/any-promise/optional.js +0 -6
- data/node_modules/any-promise/package.json +0 -45
- data/node_modules/any-promise/register/bluebird.d.ts +0 -1
- data/node_modules/any-promise/register/bluebird.js +0 -2
- data/node_modules/any-promise/register/es6-promise.d.ts +0 -1
- data/node_modules/any-promise/register/es6-promise.js +0 -2
- data/node_modules/any-promise/register/lie.d.ts +0 -1
- data/node_modules/any-promise/register/lie.js +0 -2
- data/node_modules/any-promise/register/native-promise-only.d.ts +0 -1
- data/node_modules/any-promise/register/native-promise-only.js +0 -2
- data/node_modules/any-promise/register/pinkie.d.ts +0 -1
- data/node_modules/any-promise/register/pinkie.js +0 -2
- data/node_modules/any-promise/register/promise.d.ts +0 -1
- data/node_modules/any-promise/register/promise.js +0 -2
- data/node_modules/any-promise/register/q.d.ts +0 -1
- data/node_modules/any-promise/register/q.js +0 -2
- data/node_modules/any-promise/register/rsvp.d.ts +0 -1
- data/node_modules/any-promise/register/rsvp.js +0 -2
- data/node_modules/any-promise/register/vow.d.ts +0 -1
- data/node_modules/any-promise/register/vow.js +0 -2
- data/node_modules/any-promise/register/when.d.ts +0 -1
- data/node_modules/any-promise/register/when.js +0 -2
- data/node_modules/any-promise/register-shim.js +0 -18
- data/node_modules/any-promise/register.d.ts +0 -17
- data/node_modules/any-promise/register.js +0 -94
- data/node_modules/ast-types/.travis.yml +0 -11
- data/node_modules/ast-types/LICENSE +0 -20
- data/node_modules/ast-types/README.md +0 -512
- data/node_modules/ast-types/def/babel-core.d.ts +0 -2
- data/node_modules/ast-types/def/babel-core.js +0 -258
- data/node_modules/ast-types/def/babel.d.ts +0 -2
- data/node_modules/ast-types/def/babel.js +0 -13
- data/node_modules/ast-types/def/core.d.ts +0 -2
- data/node_modules/ast-types/def/core.js +0 -300
- data/node_modules/ast-types/def/es-proposals.d.ts +0 -2
- data/node_modules/ast-types/def/es-proposals.js +0 -35
- data/node_modules/ast-types/def/es2020.d.ts +0 -2
- data/node_modules/ast-types/def/es2020.js +0 -18
- data/node_modules/ast-types/def/es6.d.ts +0 -2
- data/node_modules/ast-types/def/es6.js +0 -212
- data/node_modules/ast-types/def/es7.d.ts +0 -2
- data/node_modules/ast-types/def/es7.js +0 -36
- data/node_modules/ast-types/def/esNext.d.ts +0 -2
- data/node_modules/ast-types/def/esNext.js +0 -57
- data/node_modules/ast-types/def/esprima.d.ts +0 -2
- data/node_modules/ast-types/def/esprima.js +0 -51
- data/node_modules/ast-types/def/flow.d.ts +0 -2
- data/node_modules/ast-types/def/flow.js +0 -294
- data/node_modules/ast-types/def/jsx.d.ts +0 -2
- data/node_modules/ast-types/def/jsx.js +0 -105
- data/node_modules/ast-types/def/type-annotations.d.ts +0 -7
- data/node_modules/ast-types/def/type-annotations.js +0 -42
- data/node_modules/ast-types/def/typescript.d.ts +0 -2
- data/node_modules/ast-types/def/typescript.js +0 -339
- data/node_modules/ast-types/fork.d.ts +0 -42
- data/node_modules/ast-types/fork.js +0 -54
- data/node_modules/ast-types/gen/builders.d.ts +0 -2572
- data/node_modules/ast-types/gen/builders.js +0 -2
- data/node_modules/ast-types/gen/kinds.d.ts +0 -263
- data/node_modules/ast-types/gen/kinds.js +0 -2
- data/node_modules/ast-types/gen/namedTypes.d.ts +0 -1800
- data/node_modules/ast-types/gen/namedTypes.js +0 -5
- data/node_modules/ast-types/gen/nodes.d.ts +0 -1265
- data/node_modules/ast-types/gen/nodes.js +0 -2
- data/node_modules/ast-types/gen/visitor.d.ts +0 -267
- data/node_modules/ast-types/gen/visitor.js +0 -2
- data/node_modules/ast-types/lib/equiv.d.ts +0 -5
- data/node_modules/ast-types/lib/equiv.js +0 -156
- data/node_modules/ast-types/lib/node-path.d.ts +0 -22
- data/node_modules/ast-types/lib/node-path.js +0 -413
- data/node_modules/ast-types/lib/path-visitor.d.ts +0 -52
- data/node_modules/ast-types/lib/path-visitor.js +0 -345
- data/node_modules/ast-types/lib/path.d.ts +0 -25
- data/node_modules/ast-types/lib/path.js +0 -333
- data/node_modules/ast-types/lib/scope.d.ts +0 -26
- data/node_modules/ast-types/lib/scope.js +0 -317
- data/node_modules/ast-types/lib/shared.d.ts +0 -13
- data/node_modules/ast-types/lib/shared.js +0 -49
- data/node_modules/ast-types/lib/types.d.ts +0 -136
- data/node_modules/ast-types/lib/types.js +0 -781
- data/node_modules/ast-types/main.d.ts +0 -28
- data/node_modules/ast-types/main.js +0 -54
- data/node_modules/ast-types/package.json +0 -63
- data/node_modules/ast-types/tsconfig.json +0 -20
- data/node_modules/ast-types/types.d.ts +0 -6
- data/node_modules/ast-types/types.js +0 -2
- data/node_modules/automatic-semicolon-insertion/LICENSE +0 -7
- data/node_modules/automatic-semicolon-insertion/README.md +0 -26
- data/node_modules/automatic-semicolon-insertion/build/index.cjs +0 -216
- data/node_modules/automatic-semicolon-insertion/build/index.d.ts +0 -38
- data/node_modules/automatic-semicolon-insertion/build/index.mjs +0 -192
- data/node_modules/automatic-semicolon-insertion/build/traverse.d.ts +0 -17
- data/node_modules/automatic-semicolon-insertion/package.json +0 -58
- data/node_modules/browserslist/LICENSE +0 -20
- data/node_modules/browserslist/README.md +0 -67
- data/node_modules/browserslist/browser.js +0 -52
- data/node_modules/browserslist/cli.js +0 -156
- data/node_modules/browserslist/error.d.ts +0 -7
- data/node_modules/browserslist/error.js +0 -12
- data/node_modules/browserslist/index.d.ts +0 -201
- data/node_modules/browserslist/index.js +0 -1206
- data/node_modules/browserslist/node.js +0 -420
- data/node_modules/browserslist/node_modules/.bin/update-browserslist-db +0 -1
- data/node_modules/browserslist/package.json +0 -44
- data/node_modules/browserslist/parse.js +0 -78
- data/node_modules/caniuse-lite/LICENSE +0 -395
- data/node_modules/caniuse-lite/README.md +0 -6
- data/node_modules/caniuse-lite/data/agents.js +0 -1
- data/node_modules/caniuse-lite/data/browserVersions.js +0 -1
- data/node_modules/caniuse-lite/data/browsers.js +0 -1
- data/node_modules/caniuse-lite/data/features/aac.js +0 -1
- data/node_modules/caniuse-lite/data/features/abortcontroller.js +0 -1
- data/node_modules/caniuse-lite/data/features/ac3-ec3.js +0 -1
- data/node_modules/caniuse-lite/data/features/accelerometer.js +0 -1
- data/node_modules/caniuse-lite/data/features/addeventlistener.js +0 -1
- data/node_modules/caniuse-lite/data/features/alternate-stylesheet.js +0 -1
- data/node_modules/caniuse-lite/data/features/ambient-light.js +0 -1
- data/node_modules/caniuse-lite/data/features/apng.js +0 -1
- data/node_modules/caniuse-lite/data/features/array-find-index.js +0 -1
- data/node_modules/caniuse-lite/data/features/array-find.js +0 -1
- data/node_modules/caniuse-lite/data/features/array-flat.js +0 -1
- data/node_modules/caniuse-lite/data/features/array-includes.js +0 -1
- data/node_modules/caniuse-lite/data/features/arrow-functions.js +0 -1
- data/node_modules/caniuse-lite/data/features/asmjs.js +0 -1
- data/node_modules/caniuse-lite/data/features/async-clipboard.js +0 -1
- data/node_modules/caniuse-lite/data/features/async-functions.js +0 -1
- data/node_modules/caniuse-lite/data/features/atob-btoa.js +0 -1
- data/node_modules/caniuse-lite/data/features/audio-api.js +0 -1
- data/node_modules/caniuse-lite/data/features/audio.js +0 -1
- data/node_modules/caniuse-lite/data/features/audiotracks.js +0 -1
- data/node_modules/caniuse-lite/data/features/autofocus.js +0 -1
- data/node_modules/caniuse-lite/data/features/auxclick.js +0 -1
- data/node_modules/caniuse-lite/data/features/av1.js +0 -1
- data/node_modules/caniuse-lite/data/features/avif.js +0 -1
- data/node_modules/caniuse-lite/data/features/background-attachment.js +0 -1
- data/node_modules/caniuse-lite/data/features/background-clip-text.js +0 -1
- data/node_modules/caniuse-lite/data/features/background-img-opts.js +0 -1
- data/node_modules/caniuse-lite/data/features/background-position-x-y.js +0 -1
- data/node_modules/caniuse-lite/data/features/background-repeat-round-space.js +0 -1
- data/node_modules/caniuse-lite/data/features/background-sync.js +0 -1
- data/node_modules/caniuse-lite/data/features/battery-status.js +0 -1
- data/node_modules/caniuse-lite/data/features/beacon.js +0 -1
- data/node_modules/caniuse-lite/data/features/beforeafterprint.js +0 -1
- data/node_modules/caniuse-lite/data/features/bigint.js +0 -1
- data/node_modules/caniuse-lite/data/features/blobbuilder.js +0 -1
- data/node_modules/caniuse-lite/data/features/bloburls.js +0 -1
- data/node_modules/caniuse-lite/data/features/border-image.js +0 -1
- data/node_modules/caniuse-lite/data/features/border-radius.js +0 -1
- data/node_modules/caniuse-lite/data/features/broadcastchannel.js +0 -1
- data/node_modules/caniuse-lite/data/features/brotli.js +0 -1
- data/node_modules/caniuse-lite/data/features/calc.js +0 -1
- data/node_modules/caniuse-lite/data/features/canvas-blending.js +0 -1
- data/node_modules/caniuse-lite/data/features/canvas-text.js +0 -1
- data/node_modules/caniuse-lite/data/features/canvas.js +0 -1
- data/node_modules/caniuse-lite/data/features/ch-unit.js +0 -1
- data/node_modules/caniuse-lite/data/features/chacha20-poly1305.js +0 -1
- data/node_modules/caniuse-lite/data/features/channel-messaging.js +0 -1
- data/node_modules/caniuse-lite/data/features/childnode-remove.js +0 -1
- data/node_modules/caniuse-lite/data/features/classlist.js +0 -1
- data/node_modules/caniuse-lite/data/features/client-hints-dpr-width-viewport.js +0 -1
- data/node_modules/caniuse-lite/data/features/clipboard.js +0 -1
- data/node_modules/caniuse-lite/data/features/colr-v1.js +0 -1
- data/node_modules/caniuse-lite/data/features/colr.js +0 -1
- data/node_modules/caniuse-lite/data/features/comparedocumentposition.js +0 -1
- data/node_modules/caniuse-lite/data/features/console-basic.js +0 -1
- data/node_modules/caniuse-lite/data/features/console-time.js +0 -1
- data/node_modules/caniuse-lite/data/features/const.js +0 -1
- data/node_modules/caniuse-lite/data/features/constraint-validation.js +0 -1
- data/node_modules/caniuse-lite/data/features/contenteditable.js +0 -1
- data/node_modules/caniuse-lite/data/features/contentsecuritypolicy.js +0 -1
- data/node_modules/caniuse-lite/data/features/contentsecuritypolicy2.js +0 -1
- data/node_modules/caniuse-lite/data/features/cookie-store-api.js +0 -1
- data/node_modules/caniuse-lite/data/features/cors.js +0 -1
- data/node_modules/caniuse-lite/data/features/createimagebitmap.js +0 -1
- data/node_modules/caniuse-lite/data/features/credential-management.js +0 -1
- data/node_modules/caniuse-lite/data/features/cryptography.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-all.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-anchor-positioning.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-animation.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-any-link.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-appearance.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-at-counter-style.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-autofill.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-backdrop-filter.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-background-offsets.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-backgroundblendmode.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-boxdecorationbreak.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-boxshadow.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-canvas.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-caret-color.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-cascade-layers.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-cascade-scope.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-case-insensitive.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-clip-path.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-color-adjust.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-color-function.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-conic-gradients.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-container-queries-style.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-container-queries.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-container-query-units.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-containment.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-content-visibility.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-counters.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-crisp-edges.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-cross-fade.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-default-pseudo.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-descendant-gtgt.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-deviceadaptation.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-dir-pseudo.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-display-contents.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-element-function.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-env-function.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-exclusions.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-featurequeries.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-file-selector-button.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-filter-function.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-filters.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-first-letter.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-first-line.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-fixed.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-focus-visible.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-focus-within.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-font-palette.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-font-rendering-controls.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-font-stretch.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-gencontent.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-gradients.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-grid-animation.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-grid.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-hanging-punctuation.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-has.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-hyphens.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-image-orientation.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-image-set.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-in-out-of-range.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-indeterminate-pseudo.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-initial-letter.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-initial-value.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-lch-lab.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-letter-spacing.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-line-clamp.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-logical-props.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-marker-pseudo.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-masks.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-matches-pseudo.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-math-functions.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-media-interaction.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-media-range-syntax.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-media-resolution.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-media-scripting.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-mediaqueries.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-mixblendmode.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-module-scripts.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-motion-paths.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-namespaces.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-nesting.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-not-sel-list.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-nth-child-of.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-opacity.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-optional-pseudo.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-overflow-anchor.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-overflow-overlay.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-overflow.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-overscroll-behavior.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-page-break.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-paged-media.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-paint-api.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-placeholder-shown.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-placeholder.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-print-color-adjust.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-read-only-write.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-rebeccapurple.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-reflections.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-regions.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-relative-colors.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-repeating-gradients.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-resize.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-revert-value.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-rrggbbaa.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-scroll-behavior.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-scroll-timeline.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-scrollbar.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-sel2.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-sel3.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-selection.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-shapes.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-snappoints.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-sticky.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-subgrid.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-supports-api.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-table.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-text-align-last.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-text-box-trim.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-text-indent.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-text-justify.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-text-orientation.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-text-spacing.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-text-wrap-balance.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-textshadow.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-touch-action.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-transitions.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-unicode-bidi.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-unset-value.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-variables.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-when-else.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-widows-orphans.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-width-stretch.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-writing-mode.js +0 -1
- data/node_modules/caniuse-lite/data/features/css-zoom.js +0 -1
- data/node_modules/caniuse-lite/data/features/css3-attr.js +0 -1
- data/node_modules/caniuse-lite/data/features/css3-boxsizing.js +0 -1
- data/node_modules/caniuse-lite/data/features/css3-colors.js +0 -1
- data/node_modules/caniuse-lite/data/features/css3-cursors-grab.js +0 -1
- data/node_modules/caniuse-lite/data/features/css3-cursors-newer.js +0 -1
- data/node_modules/caniuse-lite/data/features/css3-cursors.js +0 -1
- data/node_modules/caniuse-lite/data/features/css3-tabsize.js +0 -1
- data/node_modules/caniuse-lite/data/features/currentcolor.js +0 -1
- data/node_modules/caniuse-lite/data/features/custom-elements.js +0 -1
- data/node_modules/caniuse-lite/data/features/custom-elementsv1.js +0 -1
- data/node_modules/caniuse-lite/data/features/customevent.js +0 -1
- data/node_modules/caniuse-lite/data/features/datalist.js +0 -1
- data/node_modules/caniuse-lite/data/features/dataset.js +0 -1
- data/node_modules/caniuse-lite/data/features/datauri.js +0 -1
- data/node_modules/caniuse-lite/data/features/date-tolocaledatestring.js +0 -1
- data/node_modules/caniuse-lite/data/features/declarative-shadow-dom.js +0 -1
- data/node_modules/caniuse-lite/data/features/decorators.js +0 -1
- data/node_modules/caniuse-lite/data/features/details.js +0 -1
- data/node_modules/caniuse-lite/data/features/deviceorientation.js +0 -1
- data/node_modules/caniuse-lite/data/features/devicepixelratio.js +0 -1
- data/node_modules/caniuse-lite/data/features/dialog.js +0 -1
- data/node_modules/caniuse-lite/data/features/dispatchevent.js +0 -1
- data/node_modules/caniuse-lite/data/features/dnssec.js +0 -1
- data/node_modules/caniuse-lite/data/features/do-not-track.js +0 -1
- data/node_modules/caniuse-lite/data/features/document-currentscript.js +0 -1
- data/node_modules/caniuse-lite/data/features/document-evaluate-xpath.js +0 -1
- data/node_modules/caniuse-lite/data/features/document-execcommand.js +0 -1
- data/node_modules/caniuse-lite/data/features/document-policy.js +0 -1
- data/node_modules/caniuse-lite/data/features/document-scrollingelement.js +0 -1
- data/node_modules/caniuse-lite/data/features/documenthead.js +0 -1
- data/node_modules/caniuse-lite/data/features/dom-manip-convenience.js +0 -1
- data/node_modules/caniuse-lite/data/features/dom-range.js +0 -1
- data/node_modules/caniuse-lite/data/features/domcontentloaded.js +0 -1
- data/node_modules/caniuse-lite/data/features/dommatrix.js +0 -1
- data/node_modules/caniuse-lite/data/features/download.js +0 -1
- data/node_modules/caniuse-lite/data/features/dragndrop.js +0 -1
- data/node_modules/caniuse-lite/data/features/element-closest.js +0 -1
- data/node_modules/caniuse-lite/data/features/element-from-point.js +0 -1
- data/node_modules/caniuse-lite/data/features/element-scroll-methods.js +0 -1
- data/node_modules/caniuse-lite/data/features/eme.js +0 -1
- data/node_modules/caniuse-lite/data/features/eot.js +0 -1
- data/node_modules/caniuse-lite/data/features/es5.js +0 -1
- data/node_modules/caniuse-lite/data/features/es6-class.js +0 -1
- data/node_modules/caniuse-lite/data/features/es6-generators.js +0 -1
- data/node_modules/caniuse-lite/data/features/es6-module-dynamic-import.js +0 -1
- data/node_modules/caniuse-lite/data/features/es6-module.js +0 -1
- data/node_modules/caniuse-lite/data/features/es6-number.js +0 -1
- data/node_modules/caniuse-lite/data/features/es6-string-includes.js +0 -1
- data/node_modules/caniuse-lite/data/features/es6.js +0 -1
- data/node_modules/caniuse-lite/data/features/eventsource.js +0 -1
- data/node_modules/caniuse-lite/data/features/extended-system-fonts.js +0 -1
- data/node_modules/caniuse-lite/data/features/feature-policy.js +0 -1
- data/node_modules/caniuse-lite/data/features/fetch.js +0 -1
- data/node_modules/caniuse-lite/data/features/fieldset-disabled.js +0 -1
- data/node_modules/caniuse-lite/data/features/fileapi.js +0 -1
- data/node_modules/caniuse-lite/data/features/filereader.js +0 -1
- data/node_modules/caniuse-lite/data/features/filereadersync.js +0 -1
- data/node_modules/caniuse-lite/data/features/filesystem.js +0 -1
- data/node_modules/caniuse-lite/data/features/flac.js +0 -1
- data/node_modules/caniuse-lite/data/features/flexbox-gap.js +0 -1
- data/node_modules/caniuse-lite/data/features/flexbox.js +0 -1
- data/node_modules/caniuse-lite/data/features/flow-root.js +0 -1
- data/node_modules/caniuse-lite/data/features/focusin-focusout-events.js +0 -1
- data/node_modules/caniuse-lite/data/features/font-family-system-ui.js +0 -1
- data/node_modules/caniuse-lite/data/features/font-feature.js +0 -1
- data/node_modules/caniuse-lite/data/features/font-kerning.js +0 -1
- data/node_modules/caniuse-lite/data/features/font-loading.js +0 -1
- data/node_modules/caniuse-lite/data/features/font-size-adjust.js +0 -1
- data/node_modules/caniuse-lite/data/features/font-smooth.js +0 -1
- data/node_modules/caniuse-lite/data/features/font-unicode-range.js +0 -1
- data/node_modules/caniuse-lite/data/features/font-variant-alternates.js +0 -1
- data/node_modules/caniuse-lite/data/features/font-variant-numeric.js +0 -1
- data/node_modules/caniuse-lite/data/features/fontface.js +0 -1
- data/node_modules/caniuse-lite/data/features/form-attribute.js +0 -1
- data/node_modules/caniuse-lite/data/features/form-submit-attributes.js +0 -1
- data/node_modules/caniuse-lite/data/features/form-validation.js +0 -1
- data/node_modules/caniuse-lite/data/features/forms.js +0 -1
- data/node_modules/caniuse-lite/data/features/fullscreen.js +0 -1
- data/node_modules/caniuse-lite/data/features/gamepad.js +0 -1
- data/node_modules/caniuse-lite/data/features/geolocation.js +0 -1
- data/node_modules/caniuse-lite/data/features/getboundingclientrect.js +0 -1
- data/node_modules/caniuse-lite/data/features/getcomputedstyle.js +0 -1
- data/node_modules/caniuse-lite/data/features/getelementsbyclassname.js +0 -1
- data/node_modules/caniuse-lite/data/features/getrandomvalues.js +0 -1
- data/node_modules/caniuse-lite/data/features/gyroscope.js +0 -1
- data/node_modules/caniuse-lite/data/features/hardwareconcurrency.js +0 -1
- data/node_modules/caniuse-lite/data/features/hashchange.js +0 -1
- data/node_modules/caniuse-lite/data/features/heif.js +0 -1
- data/node_modules/caniuse-lite/data/features/hevc.js +0 -1
- data/node_modules/caniuse-lite/data/features/hidden.js +0 -1
- data/node_modules/caniuse-lite/data/features/high-resolution-time.js +0 -1
- data/node_modules/caniuse-lite/data/features/history.js +0 -1
- data/node_modules/caniuse-lite/data/features/html-media-capture.js +0 -1
- data/node_modules/caniuse-lite/data/features/html5semantic.js +0 -1
- data/node_modules/caniuse-lite/data/features/http-live-streaming.js +0 -1
- data/node_modules/caniuse-lite/data/features/http2.js +0 -1
- data/node_modules/caniuse-lite/data/features/http3.js +0 -1
- data/node_modules/caniuse-lite/data/features/iframe-sandbox.js +0 -1
- data/node_modules/caniuse-lite/data/features/iframe-seamless.js +0 -1
- data/node_modules/caniuse-lite/data/features/iframe-srcdoc.js +0 -1
- data/node_modules/caniuse-lite/data/features/imagecapture.js +0 -1
- data/node_modules/caniuse-lite/data/features/ime.js +0 -1
- data/node_modules/caniuse-lite/data/features/img-naturalwidth-naturalheight.js +0 -1
- data/node_modules/caniuse-lite/data/features/import-maps.js +0 -1
- data/node_modules/caniuse-lite/data/features/imports.js +0 -1
- data/node_modules/caniuse-lite/data/features/indeterminate-checkbox.js +0 -1
- data/node_modules/caniuse-lite/data/features/indexeddb.js +0 -1
- data/node_modules/caniuse-lite/data/features/indexeddb2.js +0 -1
- data/node_modules/caniuse-lite/data/features/inline-block.js +0 -1
- data/node_modules/caniuse-lite/data/features/innertext.js +0 -1
- data/node_modules/caniuse-lite/data/features/input-autocomplete-onoff.js +0 -1
- data/node_modules/caniuse-lite/data/features/input-color.js +0 -1
- data/node_modules/caniuse-lite/data/features/input-datetime.js +0 -1
- data/node_modules/caniuse-lite/data/features/input-email-tel-url.js +0 -1
- data/node_modules/caniuse-lite/data/features/input-event.js +0 -1
- data/node_modules/caniuse-lite/data/features/input-file-accept.js +0 -1
- data/node_modules/caniuse-lite/data/features/input-file-directory.js +0 -1
- data/node_modules/caniuse-lite/data/features/input-file-multiple.js +0 -1
- data/node_modules/caniuse-lite/data/features/input-inputmode.js +0 -1
- data/node_modules/caniuse-lite/data/features/input-minlength.js +0 -1
- data/node_modules/caniuse-lite/data/features/input-number.js +0 -1
- data/node_modules/caniuse-lite/data/features/input-pattern.js +0 -1
- data/node_modules/caniuse-lite/data/features/input-placeholder.js +0 -1
- data/node_modules/caniuse-lite/data/features/input-range.js +0 -1
- data/node_modules/caniuse-lite/data/features/input-search.js +0 -1
- data/node_modules/caniuse-lite/data/features/input-selection.js +0 -1
- data/node_modules/caniuse-lite/data/features/insert-adjacent.js +0 -1
- data/node_modules/caniuse-lite/data/features/insertadjacenthtml.js +0 -1
- data/node_modules/caniuse-lite/data/features/internationalization.js +0 -1
- data/node_modules/caniuse-lite/data/features/intersectionobserver-v2.js +0 -1
- data/node_modules/caniuse-lite/data/features/intersectionobserver.js +0 -1
- data/node_modules/caniuse-lite/data/features/intl-pluralrules.js +0 -1
- data/node_modules/caniuse-lite/data/features/intrinsic-width.js +0 -1
- data/node_modules/caniuse-lite/data/features/jpeg2000.js +0 -1
- data/node_modules/caniuse-lite/data/features/jpegxl.js +0 -1
- data/node_modules/caniuse-lite/data/features/jpegxr.js +0 -1
- data/node_modules/caniuse-lite/data/features/js-regexp-lookbehind.js +0 -1
- data/node_modules/caniuse-lite/data/features/json.js +0 -1
- data/node_modules/caniuse-lite/data/features/justify-content-space-evenly.js +0 -1
- data/node_modules/caniuse-lite/data/features/kerning-pairs-ligatures.js +0 -1
- data/node_modules/caniuse-lite/data/features/keyboardevent-charcode.js +0 -1
- data/node_modules/caniuse-lite/data/features/keyboardevent-code.js +0 -1
- data/node_modules/caniuse-lite/data/features/keyboardevent-getmodifierstate.js +0 -1
- data/node_modules/caniuse-lite/data/features/keyboardevent-key.js +0 -1
- data/node_modules/caniuse-lite/data/features/keyboardevent-location.js +0 -1
- data/node_modules/caniuse-lite/data/features/keyboardevent-which.js +0 -1
- data/node_modules/caniuse-lite/data/features/lazyload.js +0 -1
- data/node_modules/caniuse-lite/data/features/let.js +0 -1
- data/node_modules/caniuse-lite/data/features/link-icon-png.js +0 -1
- data/node_modules/caniuse-lite/data/features/link-icon-svg.js +0 -1
- data/node_modules/caniuse-lite/data/features/link-rel-dns-prefetch.js +0 -1
- data/node_modules/caniuse-lite/data/features/link-rel-modulepreload.js +0 -1
- data/node_modules/caniuse-lite/data/features/link-rel-preconnect.js +0 -1
- data/node_modules/caniuse-lite/data/features/link-rel-prefetch.js +0 -1
- data/node_modules/caniuse-lite/data/features/link-rel-preload.js +0 -1
- data/node_modules/caniuse-lite/data/features/link-rel-prerender.js +0 -1
- data/node_modules/caniuse-lite/data/features/loading-lazy-attr.js +0 -1
- data/node_modules/caniuse-lite/data/features/localecompare.js +0 -1
- data/node_modules/caniuse-lite/data/features/magnetometer.js +0 -1
- data/node_modules/caniuse-lite/data/features/matchesselector.js +0 -1
- data/node_modules/caniuse-lite/data/features/matchmedia.js +0 -1
- data/node_modules/caniuse-lite/data/features/mathml.js +0 -1
- data/node_modules/caniuse-lite/data/features/maxlength.js +0 -1
- data/node_modules/caniuse-lite/data/features/mdn-css-backdrop-pseudo-element.js +0 -1
- data/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-isolate-override.js +0 -1
- data/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-isolate.js +0 -1
- data/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-plaintext.js +0 -1
- data/node_modules/caniuse-lite/data/features/mdn-text-decoration-color.js +0 -1
- data/node_modules/caniuse-lite/data/features/mdn-text-decoration-line.js +0 -1
- data/node_modules/caniuse-lite/data/features/mdn-text-decoration-shorthand.js +0 -1
- data/node_modules/caniuse-lite/data/features/mdn-text-decoration-style.js +0 -1
- data/node_modules/caniuse-lite/data/features/media-fragments.js +0 -1
- data/node_modules/caniuse-lite/data/features/mediacapture-fromelement.js +0 -1
- data/node_modules/caniuse-lite/data/features/mediarecorder.js +0 -1
- data/node_modules/caniuse-lite/data/features/mediasource.js +0 -1
- data/node_modules/caniuse-lite/data/features/menu.js +0 -1
- data/node_modules/caniuse-lite/data/features/meta-theme-color.js +0 -1
- data/node_modules/caniuse-lite/data/features/meter.js +0 -1
- data/node_modules/caniuse-lite/data/features/midi.js +0 -1
- data/node_modules/caniuse-lite/data/features/minmaxwh.js +0 -1
- data/node_modules/caniuse-lite/data/features/mp3.js +0 -1
- data/node_modules/caniuse-lite/data/features/mpeg-dash.js +0 -1
- data/node_modules/caniuse-lite/data/features/mpeg4.js +0 -1
- data/node_modules/caniuse-lite/data/features/multibackgrounds.js +0 -1
- data/node_modules/caniuse-lite/data/features/multicolumn.js +0 -1
- data/node_modules/caniuse-lite/data/features/mutation-events.js +0 -1
- data/node_modules/caniuse-lite/data/features/mutationobserver.js +0 -1
- data/node_modules/caniuse-lite/data/features/namevalue-storage.js +0 -1
- data/node_modules/caniuse-lite/data/features/native-filesystem-api.js +0 -1
- data/node_modules/caniuse-lite/data/features/nav-timing.js +0 -1
- data/node_modules/caniuse-lite/data/features/netinfo.js +0 -1
- data/node_modules/caniuse-lite/data/features/notifications.js +0 -1
- data/node_modules/caniuse-lite/data/features/object-entries.js +0 -1
- data/node_modules/caniuse-lite/data/features/object-fit.js +0 -1
- data/node_modules/caniuse-lite/data/features/object-observe.js +0 -1
- data/node_modules/caniuse-lite/data/features/object-values.js +0 -1
- data/node_modules/caniuse-lite/data/features/objectrtc.js +0 -1
- data/node_modules/caniuse-lite/data/features/offline-apps.js +0 -1
- data/node_modules/caniuse-lite/data/features/offscreencanvas.js +0 -1
- data/node_modules/caniuse-lite/data/features/ogg-vorbis.js +0 -1
- data/node_modules/caniuse-lite/data/features/ogv.js +0 -1
- data/node_modules/caniuse-lite/data/features/ol-reversed.js +0 -1
- data/node_modules/caniuse-lite/data/features/once-event-listener.js +0 -1
- data/node_modules/caniuse-lite/data/features/online-status.js +0 -1
- data/node_modules/caniuse-lite/data/features/opus.js +0 -1
- data/node_modules/caniuse-lite/data/features/orientation-sensor.js +0 -1
- data/node_modules/caniuse-lite/data/features/outline.js +0 -1
- data/node_modules/caniuse-lite/data/features/pad-start-end.js +0 -1
- data/node_modules/caniuse-lite/data/features/page-transition-events.js +0 -1
- data/node_modules/caniuse-lite/data/features/pagevisibility.js +0 -1
- data/node_modules/caniuse-lite/data/features/passive-event-listener.js +0 -1
- data/node_modules/caniuse-lite/data/features/passkeys.js +0 -1
- data/node_modules/caniuse-lite/data/features/passwordrules.js +0 -1
- data/node_modules/caniuse-lite/data/features/path2d.js +0 -1
- data/node_modules/caniuse-lite/data/features/payment-request.js +0 -1
- data/node_modules/caniuse-lite/data/features/pdf-viewer.js +0 -1
- data/node_modules/caniuse-lite/data/features/permissions-api.js +0 -1
- data/node_modules/caniuse-lite/data/features/permissions-policy.js +0 -1
- data/node_modules/caniuse-lite/data/features/picture-in-picture.js +0 -1
- data/node_modules/caniuse-lite/data/features/picture.js +0 -1
- data/node_modules/caniuse-lite/data/features/ping.js +0 -1
- data/node_modules/caniuse-lite/data/features/png-alpha.js +0 -1
- data/node_modules/caniuse-lite/data/features/pointer-events.js +0 -1
- data/node_modules/caniuse-lite/data/features/pointer.js +0 -1
- data/node_modules/caniuse-lite/data/features/pointerlock.js +0 -1
- data/node_modules/caniuse-lite/data/features/portals.js +0 -1
- data/node_modules/caniuse-lite/data/features/prefers-color-scheme.js +0 -1
- data/node_modules/caniuse-lite/data/features/prefers-reduced-motion.js +0 -1
- data/node_modules/caniuse-lite/data/features/progress.js +0 -1
- data/node_modules/caniuse-lite/data/features/promise-finally.js +0 -1
- data/node_modules/caniuse-lite/data/features/promises.js +0 -1
- data/node_modules/caniuse-lite/data/features/proximity.js +0 -1
- data/node_modules/caniuse-lite/data/features/proxy.js +0 -1
- data/node_modules/caniuse-lite/data/features/publickeypinning.js +0 -1
- data/node_modules/caniuse-lite/data/features/push-api.js +0 -1
- data/node_modules/caniuse-lite/data/features/queryselector.js +0 -1
- data/node_modules/caniuse-lite/data/features/readonly-attr.js +0 -1
- data/node_modules/caniuse-lite/data/features/referrer-policy.js +0 -1
- data/node_modules/caniuse-lite/data/features/registerprotocolhandler.js +0 -1
- data/node_modules/caniuse-lite/data/features/rel-noopener.js +0 -1
- data/node_modules/caniuse-lite/data/features/rel-noreferrer.js +0 -1
- data/node_modules/caniuse-lite/data/features/rellist.js +0 -1
- data/node_modules/caniuse-lite/data/features/rem.js +0 -1
- data/node_modules/caniuse-lite/data/features/requestanimationframe.js +0 -1
- data/node_modules/caniuse-lite/data/features/requestidlecallback.js +0 -1
- data/node_modules/caniuse-lite/data/features/resizeobserver.js +0 -1
- data/node_modules/caniuse-lite/data/features/resource-timing.js +0 -1
- data/node_modules/caniuse-lite/data/features/rest-parameters.js +0 -1
- data/node_modules/caniuse-lite/data/features/rtcpeerconnection.js +0 -1
- data/node_modules/caniuse-lite/data/features/ruby.js +0 -1
- data/node_modules/caniuse-lite/data/features/run-in.js +0 -1
- data/node_modules/caniuse-lite/data/features/same-site-cookie-attribute.js +0 -1
- data/node_modules/caniuse-lite/data/features/screen-orientation.js +0 -1
- data/node_modules/caniuse-lite/data/features/script-async.js +0 -1
- data/node_modules/caniuse-lite/data/features/script-defer.js +0 -1
- data/node_modules/caniuse-lite/data/features/scrollintoview.js +0 -1
- data/node_modules/caniuse-lite/data/features/scrollintoviewifneeded.js +0 -1
- data/node_modules/caniuse-lite/data/features/sdch.js +0 -1
- data/node_modules/caniuse-lite/data/features/selection-api.js +0 -1
- data/node_modules/caniuse-lite/data/features/selectlist.js +0 -1
- data/node_modules/caniuse-lite/data/features/server-timing.js +0 -1
- data/node_modules/caniuse-lite/data/features/serviceworkers.js +0 -1
- data/node_modules/caniuse-lite/data/features/setimmediate.js +0 -1
- data/node_modules/caniuse-lite/data/features/shadowdom.js +0 -1
- data/node_modules/caniuse-lite/data/features/shadowdomv1.js +0 -1
- data/node_modules/caniuse-lite/data/features/sharedarraybuffer.js +0 -1
- data/node_modules/caniuse-lite/data/features/sharedworkers.js +0 -1
- data/node_modules/caniuse-lite/data/features/sni.js +0 -1
- data/node_modules/caniuse-lite/data/features/spdy.js +0 -1
- data/node_modules/caniuse-lite/data/features/speech-recognition.js +0 -1
- data/node_modules/caniuse-lite/data/features/speech-synthesis.js +0 -1
- data/node_modules/caniuse-lite/data/features/spellcheck-attribute.js +0 -1
- data/node_modules/caniuse-lite/data/features/sql-storage.js +0 -1
- data/node_modules/caniuse-lite/data/features/srcset.js +0 -1
- data/node_modules/caniuse-lite/data/features/stream.js +0 -1
- data/node_modules/caniuse-lite/data/features/streams.js +0 -1
- data/node_modules/caniuse-lite/data/features/stricttransportsecurity.js +0 -1
- data/node_modules/caniuse-lite/data/features/style-scoped.js +0 -1
- data/node_modules/caniuse-lite/data/features/subresource-bundling.js +0 -1
- data/node_modules/caniuse-lite/data/features/subresource-integrity.js +0 -1
- data/node_modules/caniuse-lite/data/features/svg-css.js +0 -1
- data/node_modules/caniuse-lite/data/features/svg-filters.js +0 -1
- data/node_modules/caniuse-lite/data/features/svg-fonts.js +0 -1
- data/node_modules/caniuse-lite/data/features/svg-fragment.js +0 -1
- data/node_modules/caniuse-lite/data/features/svg-html.js +0 -1
- data/node_modules/caniuse-lite/data/features/svg-html5.js +0 -1
- data/node_modules/caniuse-lite/data/features/svg-img.js +0 -1
- data/node_modules/caniuse-lite/data/features/svg-smil.js +0 -1
- data/node_modules/caniuse-lite/data/features/svg.js +0 -1
- data/node_modules/caniuse-lite/data/features/sxg.js +0 -1
- data/node_modules/caniuse-lite/data/features/tabindex-attr.js +0 -1
- data/node_modules/caniuse-lite/data/features/template-literals.js +0 -1
- data/node_modules/caniuse-lite/data/features/template.js +0 -1
- data/node_modules/caniuse-lite/data/features/temporal.js +0 -1
- data/node_modules/caniuse-lite/data/features/testfeat.js +0 -1
- data/node_modules/caniuse-lite/data/features/text-decoration.js +0 -1
- data/node_modules/caniuse-lite/data/features/text-emphasis.js +0 -1
- data/node_modules/caniuse-lite/data/features/text-overflow.js +0 -1
- data/node_modules/caniuse-lite/data/features/text-size-adjust.js +0 -1
- data/node_modules/caniuse-lite/data/features/text-stroke.js +0 -1
- data/node_modules/caniuse-lite/data/features/textcontent.js +0 -1
- data/node_modules/caniuse-lite/data/features/textencoder.js +0 -1
- data/node_modules/caniuse-lite/data/features/tls1-1.js +0 -1
- data/node_modules/caniuse-lite/data/features/tls1-2.js +0 -1
- data/node_modules/caniuse-lite/data/features/tls1-3.js +0 -1
- data/node_modules/caniuse-lite/data/features/touch.js +0 -1
- data/node_modules/caniuse-lite/data/features/transforms2d.js +0 -1
- data/node_modules/caniuse-lite/data/features/transforms3d.js +0 -1
- data/node_modules/caniuse-lite/data/features/trusted-types.js +0 -1
- data/node_modules/caniuse-lite/data/features/ttf.js +0 -1
- data/node_modules/caniuse-lite/data/features/typedarrays.js +0 -1
- data/node_modules/caniuse-lite/data/features/u2f.js +0 -1
- data/node_modules/caniuse-lite/data/features/unhandledrejection.js +0 -1
- data/node_modules/caniuse-lite/data/features/upgradeinsecurerequests.js +0 -1
- data/node_modules/caniuse-lite/data/features/url-scroll-to-text-fragment.js +0 -1
- data/node_modules/caniuse-lite/data/features/url.js +0 -1
- data/node_modules/caniuse-lite/data/features/urlsearchparams.js +0 -1
- data/node_modules/caniuse-lite/data/features/use-strict.js +0 -1
- data/node_modules/caniuse-lite/data/features/user-select-none.js +0 -1
- data/node_modules/caniuse-lite/data/features/user-timing.js +0 -1
- data/node_modules/caniuse-lite/data/features/variable-fonts.js +0 -1
- data/node_modules/caniuse-lite/data/features/vector-effect.js +0 -1
- data/node_modules/caniuse-lite/data/features/vibration.js +0 -1
- data/node_modules/caniuse-lite/data/features/video.js +0 -1
- data/node_modules/caniuse-lite/data/features/videotracks.js +0 -1
- data/node_modules/caniuse-lite/data/features/view-transitions.js +0 -1
- data/node_modules/caniuse-lite/data/features/viewport-unit-variants.js +0 -1
- data/node_modules/caniuse-lite/data/features/viewport-units.js +0 -1
- data/node_modules/caniuse-lite/data/features/wai-aria.js +0 -1
- data/node_modules/caniuse-lite/data/features/wake-lock.js +0 -1
- data/node_modules/caniuse-lite/data/features/wasm-bigint.js +0 -1
- data/node_modules/caniuse-lite/data/features/wasm-bulk-memory.js +0 -1
- data/node_modules/caniuse-lite/data/features/wasm-extended-const.js +0 -1
- data/node_modules/caniuse-lite/data/features/wasm-gc.js +0 -1
- data/node_modules/caniuse-lite/data/features/wasm-multi-memory.js +0 -1
- data/node_modules/caniuse-lite/data/features/wasm-multi-value.js +0 -1
- data/node_modules/caniuse-lite/data/features/wasm-mutable-globals.js +0 -1
- data/node_modules/caniuse-lite/data/features/wasm-nontrapping-fptoint.js +0 -1
- data/node_modules/caniuse-lite/data/features/wasm-reference-types.js +0 -1
- data/node_modules/caniuse-lite/data/features/wasm-relaxed-simd.js +0 -1
- data/node_modules/caniuse-lite/data/features/wasm-signext.js +0 -1
- data/node_modules/caniuse-lite/data/features/wasm-simd.js +0 -1
- data/node_modules/caniuse-lite/data/features/wasm-tail-calls.js +0 -1
- data/node_modules/caniuse-lite/data/features/wasm-threads.js +0 -1
- data/node_modules/caniuse-lite/data/features/wasm.js +0 -1
- data/node_modules/caniuse-lite/data/features/wav.js +0 -1
- data/node_modules/caniuse-lite/data/features/wbr-element.js +0 -1
- data/node_modules/caniuse-lite/data/features/web-animation.js +0 -1
- data/node_modules/caniuse-lite/data/features/web-app-manifest.js +0 -1
- data/node_modules/caniuse-lite/data/features/web-bluetooth.js +0 -1
- data/node_modules/caniuse-lite/data/features/web-serial.js +0 -1
- data/node_modules/caniuse-lite/data/features/web-share.js +0 -1
- data/node_modules/caniuse-lite/data/features/webauthn.js +0 -1
- data/node_modules/caniuse-lite/data/features/webcodecs.js +0 -1
- data/node_modules/caniuse-lite/data/features/webgl.js +0 -1
- data/node_modules/caniuse-lite/data/features/webgl2.js +0 -1
- data/node_modules/caniuse-lite/data/features/webgpu.js +0 -1
- data/node_modules/caniuse-lite/data/features/webhid.js +0 -1
- data/node_modules/caniuse-lite/data/features/webkit-user-drag.js +0 -1
- data/node_modules/caniuse-lite/data/features/webm.js +0 -1
- data/node_modules/caniuse-lite/data/features/webnfc.js +0 -1
- data/node_modules/caniuse-lite/data/features/webp.js +0 -1
- data/node_modules/caniuse-lite/data/features/websockets.js +0 -1
- data/node_modules/caniuse-lite/data/features/webtransport.js +0 -1
- data/node_modules/caniuse-lite/data/features/webusb.js +0 -1
- data/node_modules/caniuse-lite/data/features/webvr.js +0 -1
- data/node_modules/caniuse-lite/data/features/webvtt.js +0 -1
- data/node_modules/caniuse-lite/data/features/webworkers.js +0 -1
- data/node_modules/caniuse-lite/data/features/webxr.js +0 -1
- data/node_modules/caniuse-lite/data/features/will-change.js +0 -1
- data/node_modules/caniuse-lite/data/features/woff.js +0 -1
- data/node_modules/caniuse-lite/data/features/woff2.js +0 -1
- data/node_modules/caniuse-lite/data/features/word-break.js +0 -1
- data/node_modules/caniuse-lite/data/features/wordwrap.js +0 -1
- data/node_modules/caniuse-lite/data/features/x-doc-messaging.js +0 -1
- data/node_modules/caniuse-lite/data/features/x-frame-options.js +0 -1
- data/node_modules/caniuse-lite/data/features/xhr2.js +0 -1
- data/node_modules/caniuse-lite/data/features/xhtml.js +0 -1
- data/node_modules/caniuse-lite/data/features/xhtmlsmil.js +0 -1
- data/node_modules/caniuse-lite/data/features/xml-serializer.js +0 -1
- data/node_modules/caniuse-lite/data/features/zstd.js +0 -1
- data/node_modules/caniuse-lite/data/features.js +0 -1
- data/node_modules/caniuse-lite/data/regions/AD.js +0 -1
- data/node_modules/caniuse-lite/data/regions/AE.js +0 -1
- data/node_modules/caniuse-lite/data/regions/AF.js +0 -1
- data/node_modules/caniuse-lite/data/regions/AG.js +0 -1
- data/node_modules/caniuse-lite/data/regions/AI.js +0 -1
- data/node_modules/caniuse-lite/data/regions/AL.js +0 -1
- data/node_modules/caniuse-lite/data/regions/AM.js +0 -1
- data/node_modules/caniuse-lite/data/regions/AO.js +0 -1
- data/node_modules/caniuse-lite/data/regions/AR.js +0 -1
- data/node_modules/caniuse-lite/data/regions/AS.js +0 -1
- data/node_modules/caniuse-lite/data/regions/AT.js +0 -1
- data/node_modules/caniuse-lite/data/regions/AU.js +0 -1
- data/node_modules/caniuse-lite/data/regions/AW.js +0 -1
- data/node_modules/caniuse-lite/data/regions/AX.js +0 -1
- data/node_modules/caniuse-lite/data/regions/AZ.js +0 -1
- data/node_modules/caniuse-lite/data/regions/BA.js +0 -1
- data/node_modules/caniuse-lite/data/regions/BB.js +0 -1
- data/node_modules/caniuse-lite/data/regions/BD.js +0 -1
- data/node_modules/caniuse-lite/data/regions/BE.js +0 -1
- data/node_modules/caniuse-lite/data/regions/BF.js +0 -1
- data/node_modules/caniuse-lite/data/regions/BG.js +0 -1
- data/node_modules/caniuse-lite/data/regions/BH.js +0 -1
- data/node_modules/caniuse-lite/data/regions/BI.js +0 -1
- data/node_modules/caniuse-lite/data/regions/BJ.js +0 -1
- data/node_modules/caniuse-lite/data/regions/BM.js +0 -1
- data/node_modules/caniuse-lite/data/regions/BN.js +0 -1
- data/node_modules/caniuse-lite/data/regions/BO.js +0 -1
- data/node_modules/caniuse-lite/data/regions/BR.js +0 -1
- data/node_modules/caniuse-lite/data/regions/BS.js +0 -1
- data/node_modules/caniuse-lite/data/regions/BT.js +0 -1
- data/node_modules/caniuse-lite/data/regions/BW.js +0 -1
- data/node_modules/caniuse-lite/data/regions/BY.js +0 -1
- data/node_modules/caniuse-lite/data/regions/BZ.js +0 -1
- data/node_modules/caniuse-lite/data/regions/CA.js +0 -1
- data/node_modules/caniuse-lite/data/regions/CD.js +0 -1
- data/node_modules/caniuse-lite/data/regions/CF.js +0 -1
- data/node_modules/caniuse-lite/data/regions/CG.js +0 -1
- data/node_modules/caniuse-lite/data/regions/CH.js +0 -1
- data/node_modules/caniuse-lite/data/regions/CI.js +0 -1
- data/node_modules/caniuse-lite/data/regions/CK.js +0 -1
- data/node_modules/caniuse-lite/data/regions/CL.js +0 -1
- data/node_modules/caniuse-lite/data/regions/CM.js +0 -1
- data/node_modules/caniuse-lite/data/regions/CN.js +0 -1
- data/node_modules/caniuse-lite/data/regions/CO.js +0 -1
- data/node_modules/caniuse-lite/data/regions/CR.js +0 -1
- data/node_modules/caniuse-lite/data/regions/CU.js +0 -1
- data/node_modules/caniuse-lite/data/regions/CV.js +0 -1
- data/node_modules/caniuse-lite/data/regions/CX.js +0 -1
- data/node_modules/caniuse-lite/data/regions/CY.js +0 -1
- data/node_modules/caniuse-lite/data/regions/CZ.js +0 -1
- data/node_modules/caniuse-lite/data/regions/DE.js +0 -1
- data/node_modules/caniuse-lite/data/regions/DJ.js +0 -1
- data/node_modules/caniuse-lite/data/regions/DK.js +0 -1
- data/node_modules/caniuse-lite/data/regions/DM.js +0 -1
- data/node_modules/caniuse-lite/data/regions/DO.js +0 -1
- data/node_modules/caniuse-lite/data/regions/DZ.js +0 -1
- data/node_modules/caniuse-lite/data/regions/EC.js +0 -1
- data/node_modules/caniuse-lite/data/regions/EE.js +0 -1
- data/node_modules/caniuse-lite/data/regions/EG.js +0 -1
- data/node_modules/caniuse-lite/data/regions/ER.js +0 -1
- data/node_modules/caniuse-lite/data/regions/ES.js +0 -1
- data/node_modules/caniuse-lite/data/regions/ET.js +0 -1
- data/node_modules/caniuse-lite/data/regions/FI.js +0 -1
- data/node_modules/caniuse-lite/data/regions/FJ.js +0 -1
- data/node_modules/caniuse-lite/data/regions/FK.js +0 -1
- data/node_modules/caniuse-lite/data/regions/FM.js +0 -1
- data/node_modules/caniuse-lite/data/regions/FO.js +0 -1
- data/node_modules/caniuse-lite/data/regions/FR.js +0 -1
- data/node_modules/caniuse-lite/data/regions/GA.js +0 -1
- data/node_modules/caniuse-lite/data/regions/GB.js +0 -1
- data/node_modules/caniuse-lite/data/regions/GD.js +0 -1
- data/node_modules/caniuse-lite/data/regions/GE.js +0 -1
- data/node_modules/caniuse-lite/data/regions/GF.js +0 -1
- data/node_modules/caniuse-lite/data/regions/GG.js +0 -1
- data/node_modules/caniuse-lite/data/regions/GH.js +0 -1
- data/node_modules/caniuse-lite/data/regions/GI.js +0 -1
- data/node_modules/caniuse-lite/data/regions/GL.js +0 -1
- data/node_modules/caniuse-lite/data/regions/GM.js +0 -1
- data/node_modules/caniuse-lite/data/regions/GN.js +0 -1
- data/node_modules/caniuse-lite/data/regions/GP.js +0 -1
- data/node_modules/caniuse-lite/data/regions/GQ.js +0 -1
- data/node_modules/caniuse-lite/data/regions/GR.js +0 -1
- data/node_modules/caniuse-lite/data/regions/GT.js +0 -1
- data/node_modules/caniuse-lite/data/regions/GU.js +0 -1
- data/node_modules/caniuse-lite/data/regions/GW.js +0 -1
- data/node_modules/caniuse-lite/data/regions/GY.js +0 -1
- data/node_modules/caniuse-lite/data/regions/HK.js +0 -1
- data/node_modules/caniuse-lite/data/regions/HN.js +0 -1
- data/node_modules/caniuse-lite/data/regions/HR.js +0 -1
- data/node_modules/caniuse-lite/data/regions/HT.js +0 -1
- data/node_modules/caniuse-lite/data/regions/HU.js +0 -1
- data/node_modules/caniuse-lite/data/regions/ID.js +0 -1
- data/node_modules/caniuse-lite/data/regions/IE.js +0 -1
- data/node_modules/caniuse-lite/data/regions/IL.js +0 -1
- data/node_modules/caniuse-lite/data/regions/IM.js +0 -1
- data/node_modules/caniuse-lite/data/regions/IN.js +0 -1
- data/node_modules/caniuse-lite/data/regions/IQ.js +0 -1
- data/node_modules/caniuse-lite/data/regions/IR.js +0 -1
- data/node_modules/caniuse-lite/data/regions/IS.js +0 -1
- data/node_modules/caniuse-lite/data/regions/IT.js +0 -1
- data/node_modules/caniuse-lite/data/regions/JE.js +0 -1
- data/node_modules/caniuse-lite/data/regions/JM.js +0 -1
- data/node_modules/caniuse-lite/data/regions/JO.js +0 -1
- data/node_modules/caniuse-lite/data/regions/JP.js +0 -1
- data/node_modules/caniuse-lite/data/regions/KE.js +0 -1
- data/node_modules/caniuse-lite/data/regions/KG.js +0 -1
- data/node_modules/caniuse-lite/data/regions/KH.js +0 -1
- data/node_modules/caniuse-lite/data/regions/KI.js +0 -1
- data/node_modules/caniuse-lite/data/regions/KM.js +0 -1
- data/node_modules/caniuse-lite/data/regions/KN.js +0 -1
- data/node_modules/caniuse-lite/data/regions/KP.js +0 -1
- data/node_modules/caniuse-lite/data/regions/KR.js +0 -1
- data/node_modules/caniuse-lite/data/regions/KW.js +0 -1
- data/node_modules/caniuse-lite/data/regions/KY.js +0 -1
- data/node_modules/caniuse-lite/data/regions/KZ.js +0 -1
- data/node_modules/caniuse-lite/data/regions/LA.js +0 -1
- data/node_modules/caniuse-lite/data/regions/LB.js +0 -1
- data/node_modules/caniuse-lite/data/regions/LC.js +0 -1
- data/node_modules/caniuse-lite/data/regions/LI.js +0 -1
- data/node_modules/caniuse-lite/data/regions/LK.js +0 -1
- data/node_modules/caniuse-lite/data/regions/LR.js +0 -1
- data/node_modules/caniuse-lite/data/regions/LS.js +0 -1
- data/node_modules/caniuse-lite/data/regions/LT.js +0 -1
- data/node_modules/caniuse-lite/data/regions/LU.js +0 -1
- data/node_modules/caniuse-lite/data/regions/LV.js +0 -1
- data/node_modules/caniuse-lite/data/regions/LY.js +0 -1
- data/node_modules/caniuse-lite/data/regions/MA.js +0 -1
- data/node_modules/caniuse-lite/data/regions/MC.js +0 -1
- data/node_modules/caniuse-lite/data/regions/MD.js +0 -1
- data/node_modules/caniuse-lite/data/regions/ME.js +0 -1
- data/node_modules/caniuse-lite/data/regions/MG.js +0 -1
- data/node_modules/caniuse-lite/data/regions/MH.js +0 -1
- data/node_modules/caniuse-lite/data/regions/MK.js +0 -1
- data/node_modules/caniuse-lite/data/regions/ML.js +0 -1
- data/node_modules/caniuse-lite/data/regions/MM.js +0 -1
- data/node_modules/caniuse-lite/data/regions/MN.js +0 -1
- data/node_modules/caniuse-lite/data/regions/MO.js +0 -1
- data/node_modules/caniuse-lite/data/regions/MP.js +0 -1
- data/node_modules/caniuse-lite/data/regions/MQ.js +0 -1
- data/node_modules/caniuse-lite/data/regions/MR.js +0 -1
- data/node_modules/caniuse-lite/data/regions/MS.js +0 -1
- data/node_modules/caniuse-lite/data/regions/MT.js +0 -1
- data/node_modules/caniuse-lite/data/regions/MU.js +0 -1
- data/node_modules/caniuse-lite/data/regions/MV.js +0 -1
- data/node_modules/caniuse-lite/data/regions/MW.js +0 -1
- data/node_modules/caniuse-lite/data/regions/MX.js +0 -1
- data/node_modules/caniuse-lite/data/regions/MY.js +0 -1
- data/node_modules/caniuse-lite/data/regions/MZ.js +0 -1
- data/node_modules/caniuse-lite/data/regions/NA.js +0 -1
- data/node_modules/caniuse-lite/data/regions/NC.js +0 -1
- data/node_modules/caniuse-lite/data/regions/NE.js +0 -1
- data/node_modules/caniuse-lite/data/regions/NF.js +0 -1
- data/node_modules/caniuse-lite/data/regions/NG.js +0 -1
- data/node_modules/caniuse-lite/data/regions/NI.js +0 -1
- data/node_modules/caniuse-lite/data/regions/NL.js +0 -1
- data/node_modules/caniuse-lite/data/regions/NO.js +0 -1
- data/node_modules/caniuse-lite/data/regions/NP.js +0 -1
- data/node_modules/caniuse-lite/data/regions/NR.js +0 -1
- data/node_modules/caniuse-lite/data/regions/NU.js +0 -1
- data/node_modules/caniuse-lite/data/regions/NZ.js +0 -1
- data/node_modules/caniuse-lite/data/regions/OM.js +0 -1
- data/node_modules/caniuse-lite/data/regions/PA.js +0 -1
- data/node_modules/caniuse-lite/data/regions/PE.js +0 -1
- data/node_modules/caniuse-lite/data/regions/PF.js +0 -1
- data/node_modules/caniuse-lite/data/regions/PG.js +0 -1
- data/node_modules/caniuse-lite/data/regions/PH.js +0 -1
- data/node_modules/caniuse-lite/data/regions/PK.js +0 -1
- data/node_modules/caniuse-lite/data/regions/PL.js +0 -1
- data/node_modules/caniuse-lite/data/regions/PM.js +0 -1
- data/node_modules/caniuse-lite/data/regions/PN.js +0 -1
- data/node_modules/caniuse-lite/data/regions/PR.js +0 -1
- data/node_modules/caniuse-lite/data/regions/PS.js +0 -1
- data/node_modules/caniuse-lite/data/regions/PT.js +0 -1
- data/node_modules/caniuse-lite/data/regions/PW.js +0 -1
- data/node_modules/caniuse-lite/data/regions/PY.js +0 -1
- data/node_modules/caniuse-lite/data/regions/QA.js +0 -1
- data/node_modules/caniuse-lite/data/regions/RE.js +0 -1
- data/node_modules/caniuse-lite/data/regions/RO.js +0 -1
- data/node_modules/caniuse-lite/data/regions/RS.js +0 -1
- data/node_modules/caniuse-lite/data/regions/RU.js +0 -1
- data/node_modules/caniuse-lite/data/regions/RW.js +0 -1
- data/node_modules/caniuse-lite/data/regions/SA.js +0 -1
- data/node_modules/caniuse-lite/data/regions/SB.js +0 -1
- data/node_modules/caniuse-lite/data/regions/SC.js +0 -1
- data/node_modules/caniuse-lite/data/regions/SD.js +0 -1
- data/node_modules/caniuse-lite/data/regions/SE.js +0 -1
- data/node_modules/caniuse-lite/data/regions/SG.js +0 -1
- data/node_modules/caniuse-lite/data/regions/SH.js +0 -1
- data/node_modules/caniuse-lite/data/regions/SI.js +0 -1
- data/node_modules/caniuse-lite/data/regions/SK.js +0 -1
- data/node_modules/caniuse-lite/data/regions/SL.js +0 -1
- data/node_modules/caniuse-lite/data/regions/SM.js +0 -1
- data/node_modules/caniuse-lite/data/regions/SN.js +0 -1
- data/node_modules/caniuse-lite/data/regions/SO.js +0 -1
- data/node_modules/caniuse-lite/data/regions/SR.js +0 -1
- data/node_modules/caniuse-lite/data/regions/ST.js +0 -1
- data/node_modules/caniuse-lite/data/regions/SV.js +0 -1
- data/node_modules/caniuse-lite/data/regions/SY.js +0 -1
- data/node_modules/caniuse-lite/data/regions/SZ.js +0 -1
- data/node_modules/caniuse-lite/data/regions/TC.js +0 -1
- data/node_modules/caniuse-lite/data/regions/TD.js +0 -1
- data/node_modules/caniuse-lite/data/regions/TG.js +0 -1
- data/node_modules/caniuse-lite/data/regions/TH.js +0 -1
- data/node_modules/caniuse-lite/data/regions/TJ.js +0 -1
- data/node_modules/caniuse-lite/data/regions/TK.js +0 -1
- data/node_modules/caniuse-lite/data/regions/TL.js +0 -1
- data/node_modules/caniuse-lite/data/regions/TM.js +0 -1
- data/node_modules/caniuse-lite/data/regions/TN.js +0 -1
- data/node_modules/caniuse-lite/data/regions/TO.js +0 -1
- data/node_modules/caniuse-lite/data/regions/TR.js +0 -1
- data/node_modules/caniuse-lite/data/regions/TT.js +0 -1
- data/node_modules/caniuse-lite/data/regions/TV.js +0 -1
- data/node_modules/caniuse-lite/data/regions/TW.js +0 -1
- data/node_modules/caniuse-lite/data/regions/TZ.js +0 -1
- data/node_modules/caniuse-lite/data/regions/UA.js +0 -1
- data/node_modules/caniuse-lite/data/regions/UG.js +0 -1
- data/node_modules/caniuse-lite/data/regions/US.js +0 -1
- data/node_modules/caniuse-lite/data/regions/UY.js +0 -1
- data/node_modules/caniuse-lite/data/regions/UZ.js +0 -1
- data/node_modules/caniuse-lite/data/regions/VA.js +0 -1
- data/node_modules/caniuse-lite/data/regions/VC.js +0 -1
- data/node_modules/caniuse-lite/data/regions/VE.js +0 -1
- data/node_modules/caniuse-lite/data/regions/VG.js +0 -1
- data/node_modules/caniuse-lite/data/regions/VI.js +0 -1
- data/node_modules/caniuse-lite/data/regions/VN.js +0 -1
- data/node_modules/caniuse-lite/data/regions/VU.js +0 -1
- data/node_modules/caniuse-lite/data/regions/WF.js +0 -1
- data/node_modules/caniuse-lite/data/regions/WS.js +0 -1
- data/node_modules/caniuse-lite/data/regions/YE.js +0 -1
- data/node_modules/caniuse-lite/data/regions/YT.js +0 -1
- data/node_modules/caniuse-lite/data/regions/ZA.js +0 -1
- data/node_modules/caniuse-lite/data/regions/ZM.js +0 -1
- data/node_modules/caniuse-lite/data/regions/ZW.js +0 -1
- data/node_modules/caniuse-lite/data/regions/alt-af.js +0 -1
- data/node_modules/caniuse-lite/data/regions/alt-an.js +0 -1
- data/node_modules/caniuse-lite/data/regions/alt-as.js +0 -1
- data/node_modules/caniuse-lite/data/regions/alt-eu.js +0 -1
- data/node_modules/caniuse-lite/data/regions/alt-na.js +0 -1
- data/node_modules/caniuse-lite/data/regions/alt-oc.js +0 -1
- data/node_modules/caniuse-lite/data/regions/alt-sa.js +0 -1
- data/node_modules/caniuse-lite/data/regions/alt-ww.js +0 -1
- data/node_modules/caniuse-lite/dist/lib/statuses.js +0 -9
- data/node_modules/caniuse-lite/dist/lib/supported.js +0 -9
- data/node_modules/caniuse-lite/dist/unpacker/agents.js +0 -47
- data/node_modules/caniuse-lite/dist/unpacker/browserVersions.js +0 -1
- data/node_modules/caniuse-lite/dist/unpacker/browsers.js +0 -1
- data/node_modules/caniuse-lite/dist/unpacker/feature.js +0 -52
- data/node_modules/caniuse-lite/dist/unpacker/features.js +0 -6
- data/node_modules/caniuse-lite/dist/unpacker/index.js +0 -4
- data/node_modules/caniuse-lite/dist/unpacker/region.js +0 -22
- data/node_modules/caniuse-lite/package.json +0 -34
- data/node_modules/chalk/index.js +0 -228
- data/node_modules/chalk/index.js.flow +0 -93
- data/node_modules/chalk/license +0 -9
- data/node_modules/chalk/package.json +0 -71
- data/node_modules/chalk/readme.md +0 -314
- data/node_modules/chalk/templates.js +0 -128
- data/node_modules/chalk/types/index.d.ts +0 -97
- data/node_modules/ci-info/CHANGELOG.md +0 -78
- data/node_modules/ci-info/LICENSE +0 -21
- data/node_modules/ci-info/README.md +0 -108
- data/node_modules/ci-info/index.js +0 -66
- data/node_modules/ci-info/package.json +0 -36
- data/node_modules/ci-info/vendors.json +0 -153
- data/node_modules/coffee-lex/LICENSE +0 -7
- data/node_modules/coffee-lex/README.md +0 -144
- data/node_modules/coffee-lex/dist/index.d.ts +0 -313
- data/node_modules/coffee-lex/dist/index.js +0 -1565
- data/node_modules/coffee-lex/dist/index.mjs +0 -1530
- data/node_modules/coffee-lex/package.json +0 -81
- data/node_modules/color-convert/CHANGELOG.md +0 -54
- data/node_modules/color-convert/LICENSE +0 -21
- data/node_modules/color-convert/README.md +0 -68
- data/node_modules/color-convert/conversions.js +0 -868
- data/node_modules/color-convert/index.js +0 -78
- data/node_modules/color-convert/package.json +0 -46
- data/node_modules/color-convert/route.js +0 -97
- data/node_modules/color-name/.eslintrc.json +0 -43
- data/node_modules/color-name/.npmignore +0 -107
- data/node_modules/color-name/LICENSE +0 -8
- data/node_modules/color-name/README.md +0 -11
- data/node_modules/color-name/index.js +0 -152
- data/node_modules/color-name/package.json +0 -25
- data/node_modules/color-name/test.js +0 -7
- data/node_modules/convert-source-map/LICENSE +0 -23
- data/node_modules/convert-source-map/README.md +0 -206
- data/node_modules/convert-source-map/index.js +0 -233
- data/node_modules/convert-source-map/package.json +0 -38
- data/node_modules/cross-spawn/CHANGELOG.md +0 -130
- data/node_modules/cross-spawn/LICENSE +0 -21
- data/node_modules/cross-spawn/README.md +0 -96
- data/node_modules/cross-spawn/index.js +0 -39
- data/node_modules/cross-spawn/lib/enoent.js +0 -59
- data/node_modules/cross-spawn/lib/parse.js +0 -91
- data/node_modules/cross-spawn/lib/util/escape.js +0 -45
- data/node_modules/cross-spawn/lib/util/readShebang.js +0 -23
- data/node_modules/cross-spawn/lib/util/resolveCommand.js +0 -52
- data/node_modules/cross-spawn/node_modules/.bin/node-which +0 -1
- data/node_modules/cross-spawn/package.json +0 -73
- data/node_modules/debug/LICENSE +0 -20
- data/node_modules/debug/README.md +0 -481
- data/node_modules/debug/package.json +0 -60
- data/node_modules/debug/src/browser.js +0 -269
- data/node_modules/debug/src/common.js +0 -274
- data/node_modules/debug/src/index.js +0 -10
- data/node_modules/debug/src/node.js +0 -263
- data/node_modules/decaffeinate/LICENSE +0 -7
- data/node_modules/decaffeinate/README.md +0 -196
- data/node_modules/decaffeinate/bin/decaffeinate +0 -3
- data/node_modules/decaffeinate/dist/index.d.ts +0 -72
- data/node_modules/decaffeinate/dist/index.js +0 -10542
- data/node_modules/decaffeinate/dist/index.mjs +0 -10582
- data/node_modules/decaffeinate/node_modules/.bin/cake +0 -1
- data/node_modules/decaffeinate/node_modules/.bin/coffee +0 -1
- data/node_modules/decaffeinate/node_modules/.bin/is-ci +0 -1
- data/node_modules/decaffeinate/node_modules/.bin/is-ci-cli +0 -1
- data/node_modules/decaffeinate/package.json +0 -133
- data/node_modules/decaffeinate-coffeescript/LICENSE +0 -22
- data/node_modules/decaffeinate-coffeescript/README.md +0 -47
- data/node_modules/decaffeinate-coffeescript/bin/cake +0 -18
- data/node_modules/decaffeinate-coffeescript/bin/coffee +0 -18
- data/node_modules/decaffeinate-coffeescript/lib/coffee-script/browser.js +0 -132
- data/node_modules/decaffeinate-coffeescript/lib/coffee-script/cake.js +0 -114
- data/node_modules/decaffeinate-coffeescript/lib/coffee-script/coffee-script.d.ts +0 -60
- data/node_modules/decaffeinate-coffeescript/lib/coffee-script/coffee-script.js +0 -331
- data/node_modules/decaffeinate-coffeescript/lib/coffee-script/command.js +0 -610
- data/node_modules/decaffeinate-coffeescript/lib/coffee-script/grammar.js +0 -816
- data/node_modules/decaffeinate-coffeescript/lib/coffee-script/helpers.js +0 -249
- data/node_modules/decaffeinate-coffeescript/lib/coffee-script/index.js +0 -29
- data/node_modules/decaffeinate-coffeescript/lib/coffee-script/lexer.d.ts +0 -83
- data/node_modules/decaffeinate-coffeescript/lib/coffee-script/lexer.js +0 -1166
- data/node_modules/decaffeinate-coffeescript/lib/coffee-script/nodes.d.ts +0 -791
- data/node_modules/decaffeinate-coffeescript/lib/coffee-script/nodes.js +0 -3899
- data/node_modules/decaffeinate-coffeescript/lib/coffee-script/optparse.js +0 -139
- data/node_modules/decaffeinate-coffeescript/lib/coffee-script/parser.js +0 -887
- data/node_modules/decaffeinate-coffeescript/lib/coffee-script/register.js +0 -66
- data/node_modules/decaffeinate-coffeescript/lib/coffee-script/repl.js +0 -203
- data/node_modules/decaffeinate-coffeescript/lib/coffee-script/rewriter.js +0 -537
- data/node_modules/decaffeinate-coffeescript/lib/coffee-script/scope.d.ts +0 -3
- data/node_modules/decaffeinate-coffeescript/lib/coffee-script/scope.js +0 -165
- data/node_modules/decaffeinate-coffeescript/lib/coffee-script/sourcemap.d.ts +0 -13
- data/node_modules/decaffeinate-coffeescript/lib/coffee-script/sourcemap.js +0 -161
- data/node_modules/decaffeinate-coffeescript/package.json +0 -49
- data/node_modules/decaffeinate-coffeescript/register.js +0 -1
- data/node_modules/decaffeinate-coffeescript/repl.js +0 -1
- data/node_modules/decaffeinate-coffeescript2/LICENSE +0 -22
- data/node_modules/decaffeinate-coffeescript2/README.md +0 -47
- data/node_modules/decaffeinate-coffeescript2/bin/cake +0 -25
- data/node_modules/decaffeinate-coffeescript2/bin/coffee +0 -25
- data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/browser.js +0 -140
- data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/cake.js +0 -135
- data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/coffeescript.d.ts +0 -60
- data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/coffeescript.js +0 -306
- data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/command.js +0 -719
- data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/grammar.js +0 -2130
- data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/helpers.js +0 -333
- data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/index.js +0 -209
- data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/lexer.d.ts +0 -83
- data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/lexer.js +0 -1703
- data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/nodes.d.ts +0 -809
- data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/nodes.js +0 -5974
- data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/optparse.js +0 -230
- data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/parser.js +0 -1108
- data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/register.js +0 -85
- data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/repl.js +0 -296
- data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/rewriter.js +0 -1014
- data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/scope.d.ts +0 -3
- data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/scope.js +0 -187
- data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/sourcemap.d.ts +0 -13
- data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/sourcemap.js +0 -211
- data/node_modules/decaffeinate-coffeescript2/package.json +0 -56
- data/node_modules/decaffeinate-coffeescript2/register.js +0 -1
- data/node_modules/decaffeinate-coffeescript2/repl.js +0 -1
- data/node_modules/decaffeinate-parser/LICENSE +0 -7
- data/node_modules/decaffeinate-parser/README.md +0 -34
- data/node_modules/decaffeinate-parser/dist/index.d.ts +0 -644
- data/node_modules/decaffeinate-parser/dist/index.js +0 -3458
- data/node_modules/decaffeinate-parser/dist/index.mjs +0 -3557
- data/node_modules/decaffeinate-parser/node_modules/.bin/cake +0 -1
- data/node_modules/decaffeinate-parser/node_modules/.bin/coffee +0 -1
- data/node_modules/decaffeinate-parser/package.json +0 -93
- data/node_modules/detect-indent/index.js +0 -120
- data/node_modules/detect-indent/license +0 -21
- data/node_modules/detect-indent/package.json +0 -46
- data/node_modules/detect-indent/readme.md +0 -110
- data/node_modules/electron-to-chromium/LICENSE +0 -5
- data/node_modules/electron-to-chromium/README.md +0 -186
- data/node_modules/electron-to-chromium/chromium-versions.js +0 -66
- data/node_modules/electron-to-chromium/chromium-versions.json +0 -1
- data/node_modules/electron-to-chromium/full-chromium-versions.js +0 -3308
- data/node_modules/electron-to-chromium/full-chromium-versions.json +0 -1
- data/node_modules/electron-to-chromium/full-versions.js +0 -2404
- data/node_modules/electron-to-chromium/full-versions.json +0 -1
- data/node_modules/electron-to-chromium/index.js +0 -36
- data/node_modules/electron-to-chromium/package.json +0 -44
- data/node_modules/electron-to-chromium/versions.js +0 -157
- data/node_modules/electron-to-chromium/versions.json +0 -1
- data/node_modules/escalade/dist/index.js +0 -22
- data/node_modules/escalade/dist/index.mjs +0 -22
- data/node_modules/escalade/index.d.ts +0 -3
- data/node_modules/escalade/license +0 -9
- data/node_modules/escalade/package.json +0 -63
- data/node_modules/escalade/readme.md +0 -211
- data/node_modules/escalade/sync/index.d.ts +0 -2
- data/node_modules/escalade/sync/index.js +0 -18
- data/node_modules/escalade/sync/index.mjs +0 -18
- data/node_modules/escape-string-regexp/index.js +0 -11
- data/node_modules/escape-string-regexp/license +0 -21
- data/node_modules/escape-string-regexp/package.json +0 -41
- data/node_modules/escape-string-regexp/readme.md +0 -27
- data/node_modules/esprima/ChangeLog +0 -235
- data/node_modules/esprima/LICENSE.BSD +0 -21
- data/node_modules/esprima/README.md +0 -46
- data/node_modules/esprima/bin/esparse.js +0 -139
- data/node_modules/esprima/bin/esvalidate.js +0 -236
- data/node_modules/esprima/dist/esprima.js +0 -6709
- data/node_modules/esprima/package.json +0 -112
- data/node_modules/function-bind/.eslintrc +0 -21
- data/node_modules/function-bind/.github/FUNDING.yml +0 -12
- data/node_modules/function-bind/.github/SECURITY.md +0 -3
- data/node_modules/function-bind/.nycrc +0 -13
- data/node_modules/function-bind/CHANGELOG.md +0 -136
- data/node_modules/function-bind/LICENSE +0 -20
- data/node_modules/function-bind/README.md +0 -46
- data/node_modules/function-bind/implementation.js +0 -84
- data/node_modules/function-bind/index.js +0 -5
- data/node_modules/function-bind/package.json +0 -87
- data/node_modules/function-bind/test/.eslintrc +0 -9
- data/node_modules/function-bind/test/index.js +0 -252
- data/node_modules/gensync/LICENSE +0 -7
- data/node_modules/gensync/README.md +0 -196
- data/node_modules/gensync/index.js +0 -373
- data/node_modules/gensync/index.js.flow +0 -32
- data/node_modules/gensync/package.json +0 -37
- data/node_modules/gensync/test/.babelrc +0 -5
- data/node_modules/gensync/test/index.test.js +0 -489
- data/node_modules/globals/globals.json +0 -1563
- data/node_modules/globals/index.js +0 -2
- data/node_modules/globals/license +0 -9
- data/node_modules/globals/package.json +0 -41
- data/node_modules/globals/readme.md +0 -41
- data/node_modules/has-flag/index.js +0 -8
- data/node_modules/has-flag/license +0 -9
- data/node_modules/has-flag/package.json +0 -44
- data/node_modules/has-flag/readme.md +0 -70
- data/node_modules/hasown/.eslintrc +0 -5
- data/node_modules/hasown/.github/FUNDING.yml +0 -12
- data/node_modules/hasown/.nycrc +0 -13
- data/node_modules/hasown/CHANGELOG.md +0 -40
- data/node_modules/hasown/LICENSE +0 -21
- data/node_modules/hasown/README.md +0 -40
- data/node_modules/hasown/index.d.ts +0 -3
- data/node_modules/hasown/index.js +0 -8
- data/node_modules/hasown/package.json +0 -92
- data/node_modules/hasown/tsconfig.json +0 -6
- data/node_modules/is-ci/CHANGELOG.md +0 -14
- data/node_modules/is-ci/LICENSE +0 -21
- data/node_modules/is-ci/README.md +0 -50
- data/node_modules/is-ci/bin.js +0 -4
- data/node_modules/is-ci/index.js +0 -3
- data/node_modules/is-ci/package.json +0 -38
- data/node_modules/is-ci-cli/LICENSE +0 -21
- data/node_modules/is-ci-cli/README.md +0 -29
- data/node_modules/is-ci-cli/cli.js +0 -46
- data/node_modules/is-ci-cli/node_modules/.bin/is-ci +0 -1
- data/node_modules/is-ci-cli/package.json +0 -39
- data/node_modules/is-core-module/.eslintrc +0 -18
- data/node_modules/is-core-module/.nycrc +0 -9
- data/node_modules/is-core-module/CHANGELOG.md +0 -180
- data/node_modules/is-core-module/LICENSE +0 -20
- data/node_modules/is-core-module/README.md +0 -40
- data/node_modules/is-core-module/core.json +0 -158
- data/node_modules/is-core-module/index.js +0 -69
- data/node_modules/is-core-module/package.json +0 -73
- data/node_modules/is-core-module/test/index.js +0 -133
- data/node_modules/is-finite/index.js +0 -5
- data/node_modules/is-finite/license +0 -9
- data/node_modules/is-finite/package.json +0 -34
- data/node_modules/is-finite/readme.md +0 -33
- data/node_modules/isexe/.npmignore +0 -2
- data/node_modules/isexe/LICENSE +0 -15
- data/node_modules/isexe/README.md +0 -51
- data/node_modules/isexe/index.js +0 -57
- data/node_modules/isexe/mode.js +0 -41
- data/node_modules/isexe/package.json +0 -31
- data/node_modules/isexe/test/basic.js +0 -221
- data/node_modules/isexe/windows.js +0 -42
- data/node_modules/js-tokens/CHANGELOG.md +0 -151
- data/node_modules/js-tokens/LICENSE +0 -21
- data/node_modules/js-tokens/README.md +0 -240
- data/node_modules/js-tokens/index.js +0 -23
- data/node_modules/js-tokens/package.json +0 -30
- data/node_modules/jsesc/LICENSE-MIT.txt +0 -20
- data/node_modules/jsesc/README.md +0 -421
- data/node_modules/jsesc/bin/jsesc +0 -148
- data/node_modules/jsesc/jsesc.js +0 -329
- data/node_modules/jsesc/man/jsesc.1 +0 -94
- data/node_modules/jsesc/package.json +0 -54
- data/node_modules/json5/LICENSE.md +0 -23
- data/node_modules/json5/README.md +0 -282
- data/node_modules/json5/dist/index.js +0 -1737
- data/node_modules/json5/dist/index.min.js +0 -1
- data/node_modules/json5/dist/index.min.mjs +0 -1
- data/node_modules/json5/dist/index.mjs +0 -1426
- data/node_modules/json5/lib/cli.js +0 -152
- data/node_modules/json5/lib/index.d.ts +0 -4
- data/node_modules/json5/lib/index.js +0 -9
- data/node_modules/json5/lib/parse.d.ts +0 -15
- data/node_modules/json5/lib/parse.js +0 -1114
- data/node_modules/json5/lib/register.js +0 -13
- data/node_modules/json5/lib/require.js +0 -4
- data/node_modules/json5/lib/stringify.d.ts +0 -89
- data/node_modules/json5/lib/stringify.js +0 -261
- data/node_modules/json5/lib/unicode.d.ts +0 -3
- data/node_modules/json5/lib/unicode.js +0 -4
- data/node_modules/json5/lib/util.d.ts +0 -5
- data/node_modules/json5/lib/util.js +0 -35
- data/node_modules/json5/package.json +0 -72
- data/node_modules/lines-and-columns/LICENSE +0 -21
- data/node_modules/lines-and-columns/README.md +0 -33
- data/node_modules/lines-and-columns/build/index.cjs +0 -61
- data/node_modules/lines-and-columns/build/index.d.ts +0 -12
- data/node_modules/lines-and-columns/build/index.mjs +0 -58
- data/node_modules/lines-and-columns/package.json +0 -61
- data/node_modules/lru-cache/LICENSE +0 -15
- data/node_modules/lru-cache/README.md +0 -166
- data/node_modules/lru-cache/index.js +0 -334
- data/node_modules/lru-cache/package.json +0 -32
- data/node_modules/magic-string/LICENSE +0 -7
- data/node_modules/magic-string/README.md +0 -304
- data/node_modules/magic-string/dist/magic-string.cjs.d.ts +0 -268
- data/node_modules/magic-string/dist/magic-string.cjs.js +0 -1547
- data/node_modules/magic-string/dist/magic-string.cjs.js.map +0 -1
- data/node_modules/magic-string/dist/magic-string.es.d.mts +0 -268
- data/node_modules/magic-string/dist/magic-string.es.mjs +0 -1541
- data/node_modules/magic-string/dist/magic-string.es.mjs.map +0 -1
- data/node_modules/magic-string/dist/magic-string.umd.js +0 -1639
- data/node_modules/magic-string/dist/magic-string.umd.js.map +0 -1
- data/node_modules/magic-string/package.json +0 -63
- data/node_modules/ms/index.js +0 -162
- data/node_modules/ms/license.md +0 -21
- data/node_modules/ms/package.json +0 -37
- data/node_modules/ms/readme.md +0 -60
- data/node_modules/mz/HISTORY.md +0 -66
- data/node_modules/mz/LICENSE +0 -22
- data/node_modules/mz/README.md +0 -106
- data/node_modules/mz/child_process.js +0 -8
- data/node_modules/mz/crypto.js +0 -9
- data/node_modules/mz/dns.js +0 -16
- data/node_modules/mz/fs.js +0 -62
- data/node_modules/mz/index.js +0 -8
- data/node_modules/mz/package.json +0 -44
- data/node_modules/mz/readline.js +0 -64
- data/node_modules/mz/zlib.js +0 -13
- data/node_modules/node-releases/LICENSE +0 -21
- data/node_modules/node-releases/README.md +0 -12
- data/node_modules/node-releases/data/processed/envs.json +0 -1
- data/node_modules/node-releases/data/release-schedule/release-schedule.json +0 -1
- data/node_modules/node-releases/package.json +0 -19
- data/node_modules/object-assign/index.js +0 -90
- data/node_modules/object-assign/license +0 -21
- data/node_modules/object-assign/package.json +0 -42
- data/node_modules/object-assign/readme.md +0 -61
- data/node_modules/path-key/index.d.ts +0 -40
- data/node_modules/path-key/index.js +0 -16
- data/node_modules/path-key/license +0 -9
- data/node_modules/path-key/package.json +0 -39
- data/node_modules/path-key/readme.md +0 -61
- data/node_modules/path-parse/LICENSE +0 -21
- data/node_modules/path-parse/README.md +0 -42
- data/node_modules/path-parse/index.js +0 -75
- data/node_modules/path-parse/package.json +0 -33
- data/node_modules/picocolors/LICENSE +0 -15
- data/node_modules/picocolors/README.md +0 -21
- data/node_modules/picocolors/package.json +0 -25
- data/node_modules/picocolors/picocolors.browser.js +0 -4
- data/node_modules/picocolors/picocolors.d.ts +0 -5
- data/node_modules/picocolors/picocolors.js +0 -65
- data/node_modules/picocolors/types.ts +0 -30
- data/node_modules/private/LICENSE +0 -20
- data/node_modules/private/README.md +0 -245
- data/node_modules/private/package.json +0 -39
- data/node_modules/private/private.js +0 -129
- data/node_modules/recast/.editorconfig +0 -2
- data/node_modules/recast/.node-version +0 -1
- data/node_modules/recast/.travis.yml +0 -20
- data/node_modules/recast/LICENSE +0 -20
- data/node_modules/recast/README.md +0 -208
- data/node_modules/recast/example/add-braces +0 -44
- data/node_modules/recast/example/generic-identity +0 -17
- data/node_modules/recast/example/identity +0 -8
- data/node_modules/recast/example/to-while +0 -84
- data/node_modules/recast/lib/comments.d.ts +0 -2
- data/node_modules/recast/lib/comments.js +0 -308
- data/node_modules/recast/lib/fast-path.d.ts +0 -25
- data/node_modules/recast/lib/fast-path.js +0 -545
- data/node_modules/recast/lib/lines.d.ts +0 -62
- data/node_modules/recast/lib/lines.js +0 -666
- data/node_modules/recast/lib/mapping.d.ts +0 -15
- data/node_modules/recast/lib/mapping.js +0 -202
- data/node_modules/recast/lib/options.d.ts +0 -148
- data/node_modules/recast/lib/options.js +0 -56
- data/node_modules/recast/lib/parser.d.ts +0 -2
- data/node_modules/recast/lib/parser.js +0 -257
- data/node_modules/recast/lib/patcher.d.ts +0 -12
- data/node_modules/recast/lib/patcher.js +0 -400
- data/node_modules/recast/lib/printer.d.ts +0 -14
- data/node_modules/recast/lib/printer.js +0 -2262
- data/node_modules/recast/lib/util.d.ts +0 -16
- data/node_modules/recast/lib/util.js +0 -339
- data/node_modules/recast/main.d.ts +0 -50
- data/node_modules/recast/main.js +0 -73
- data/node_modules/recast/node_modules/.bin/esparse +0 -1
- data/node_modules/recast/node_modules/.bin/esvalidate +0 -1
- data/node_modules/recast/package.json +0 -62
- data/node_modules/recast/parsers/_babel_options.d.ts +0 -8
- data/node_modules/recast/parsers/_babel_options.js +0 -42
- data/node_modules/recast/parsers/acorn.d.ts +0 -1
- data/node_modules/recast/parsers/acorn.js +0 -33
- data/node_modules/recast/parsers/babel.d.ts +0 -8
- data/node_modules/recast/parsers/babel.js +0 -30
- data/node_modules/recast/parsers/babylon.d.ts +0 -1
- data/node_modules/recast/parsers/babylon.js +0 -6
- data/node_modules/recast/parsers/esprima.d.ts +0 -1
- data/node_modules/recast/parsers/esprima.js +0 -29
- data/node_modules/recast/parsers/flow.d.ts +0 -2
- data/node_modules/recast/parsers/flow.js +0 -21
- data/node_modules/recast/parsers/typescript.d.ts +0 -2
- data/node_modules/recast/parsers/typescript.js +0 -21
- data/node_modules/recast/tsconfig.json +0 -20
- data/node_modules/repeating/index.js +0 -24
- data/node_modules/repeating/license +0 -21
- data/node_modules/repeating/package.json +0 -37
- data/node_modules/repeating/readme.md +0 -30
- data/node_modules/resolve/.editorconfig +0 -37
- data/node_modules/resolve/.eslintrc +0 -65
- data/node_modules/resolve/.github/FUNDING.yml +0 -12
- data/node_modules/resolve/LICENSE +0 -21
- data/node_modules/resolve/SECURITY.md +0 -3
- data/node_modules/resolve/async.js +0 -3
- data/node_modules/resolve/bin/resolve +0 -50
- data/node_modules/resolve/example/async.js +0 -5
- data/node_modules/resolve/example/sync.js +0 -3
- data/node_modules/resolve/index.js +0 -6
- data/node_modules/resolve/lib/async.js +0 -329
- data/node_modules/resolve/lib/caller.js +0 -8
- data/node_modules/resolve/lib/core.js +0 -12
- data/node_modules/resolve/lib/core.json +0 -158
- data/node_modules/resolve/lib/homedir.js +0 -24
- data/node_modules/resolve/lib/is-core.js +0 -5
- data/node_modules/resolve/lib/node-modules-paths.js +0 -42
- data/node_modules/resolve/lib/normalize-options.js +0 -10
- data/node_modules/resolve/lib/sync.js +0 -208
- data/node_modules/resolve/package.json +0 -72
- data/node_modules/resolve/readme.markdown +0 -301
- data/node_modules/resolve/sync.js +0 -3
- data/node_modules/resolve/test/core.js +0 -88
- data/node_modules/resolve/test/dotdot/abc/index.js +0 -2
- data/node_modules/resolve/test/dotdot/index.js +0 -1
- data/node_modules/resolve/test/dotdot.js +0 -29
- data/node_modules/resolve/test/faulty_basedir.js +0 -29
- data/node_modules/resolve/test/filter.js +0 -34
- data/node_modules/resolve/test/filter_sync.js +0 -33
- data/node_modules/resolve/test/home_paths.js +0 -127
- data/node_modules/resolve/test/home_paths_sync.js +0 -114
- data/node_modules/resolve/test/mock.js +0 -315
- data/node_modules/resolve/test/mock_sync.js +0 -214
- data/node_modules/resolve/test/module_dir/xmodules/aaa/index.js +0 -1
- data/node_modules/resolve/test/module_dir/ymodules/aaa/index.js +0 -1
- data/node_modules/resolve/test/module_dir/zmodules/bbb/main.js +0 -1
- data/node_modules/resolve/test/module_dir/zmodules/bbb/package.json +0 -3
- data/node_modules/resolve/test/module_dir.js +0 -56
- data/node_modules/resolve/test/node-modules-paths.js +0 -143
- data/node_modules/resolve/test/node_path/x/aaa/index.js +0 -1
- data/node_modules/resolve/test/node_path/x/ccc/index.js +0 -1
- data/node_modules/resolve/test/node_path/y/bbb/index.js +0 -1
- data/node_modules/resolve/test/node_path/y/ccc/index.js +0 -1
- data/node_modules/resolve/test/node_path.js +0 -70
- data/node_modules/resolve/test/nonstring.js +0 -9
- data/node_modules/resolve/test/pathfilter/deep_ref/main.js +0 -0
- data/node_modules/resolve/test/pathfilter.js +0 -75
- data/node_modules/resolve/test/precedence/aaa/index.js +0 -1
- data/node_modules/resolve/test/precedence/aaa/main.js +0 -1
- data/node_modules/resolve/test/precedence/aaa.js +0 -1
- data/node_modules/resolve/test/precedence/bbb/main.js +0 -1
- data/node_modules/resolve/test/precedence/bbb.js +0 -1
- data/node_modules/resolve/test/precedence.js +0 -23
- data/node_modules/resolve/test/resolver/baz/doom.js +0 -0
- data/node_modules/resolve/test/resolver/baz/package.json +0 -4
- data/node_modules/resolve/test/resolver/baz/quux.js +0 -1
- data/node_modules/resolve/test/resolver/browser_field/a.js +0 -0
- data/node_modules/resolve/test/resolver/browser_field/b.js +0 -0
- data/node_modules/resolve/test/resolver/browser_field/package.json +0 -5
- data/node_modules/resolve/test/resolver/cup.coffee +0 -1
- data/node_modules/resolve/test/resolver/dot_main/index.js +0 -1
- data/node_modules/resolve/test/resolver/dot_main/package.json +0 -3
- data/node_modules/resolve/test/resolver/dot_slash_main/index.js +0 -1
- data/node_modules/resolve/test/resolver/dot_slash_main/package.json +0 -3
- data/node_modules/resolve/test/resolver/false_main/index.js +0 -0
- data/node_modules/resolve/test/resolver/false_main/package.json +0 -4
- data/node_modules/resolve/test/resolver/foo.js +0 -1
- data/node_modules/resolve/test/resolver/incorrect_main/index.js +0 -2
- data/node_modules/resolve/test/resolver/incorrect_main/package.json +0 -3
- data/node_modules/resolve/test/resolver/invalid_main/package.json +0 -7
- data/node_modules/resolve/test/resolver/mug.coffee +0 -0
- data/node_modules/resolve/test/resolver/mug.js +0 -0
- data/node_modules/resolve/test/resolver/multirepo/lerna.json +0 -6
- data/node_modules/resolve/test/resolver/multirepo/package.json +0 -20
- data/node_modules/resolve/test/resolver/multirepo/packages/package-a/index.js +0 -35
- data/node_modules/resolve/test/resolver/multirepo/packages/package-a/package.json +0 -14
- data/node_modules/resolve/test/resolver/multirepo/packages/package-b/index.js +0 -0
- data/node_modules/resolve/test/resolver/multirepo/packages/package-b/package.json +0 -14
- data/node_modules/resolve/test/resolver/nested_symlinks/mylib/async.js +0 -26
- data/node_modules/resolve/test/resolver/nested_symlinks/mylib/package.json +0 -15
- data/node_modules/resolve/test/resolver/nested_symlinks/mylib/sync.js +0 -12
- data/node_modules/resolve/test/resolver/other_path/lib/other-lib.js +0 -0
- data/node_modules/resolve/test/resolver/other_path/root.js +0 -0
- data/node_modules/resolve/test/resolver/quux/foo/index.js +0 -1
- data/node_modules/resolve/test/resolver/same_names/foo/index.js +0 -1
- data/node_modules/resolve/test/resolver/same_names/foo.js +0 -1
- data/node_modules/resolve/test/resolver/symlinked/_/node_modules/foo.js +0 -0
- data/node_modules/resolve/test/resolver/symlinked/_/symlink_target/.gitkeep +0 -0
- data/node_modules/resolve/test/resolver/symlinked/package/bar.js +0 -1
- data/node_modules/resolve/test/resolver/symlinked/package/package.json +0 -3
- data/node_modules/resolve/test/resolver/without_basedir/main.js +0 -5
- data/node_modules/resolve/test/resolver.js +0 -597
- data/node_modules/resolve/test/resolver_sync.js +0 -730
- data/node_modules/resolve/test/shadowed_core/node_modules/util/index.js +0 -0
- data/node_modules/resolve/test/shadowed_core.js +0 -54
- data/node_modules/resolve/test/subdirs.js +0 -13
- data/node_modules/resolve/test/symlinks.js +0 -176
- data/node_modules/semver/LICENSE +0 -15
- data/node_modules/semver/README.md +0 -443
- data/node_modules/semver/bin/semver.js +0 -174
- data/node_modules/semver/package.json +0 -38
- data/node_modules/semver/range.bnf +0 -16
- data/node_modules/semver/semver.js +0 -1643
- data/node_modules/shebang-command/index.js +0 -19
- data/node_modules/shebang-command/license +0 -9
- data/node_modules/shebang-command/package.json +0 -34
- data/node_modules/shebang-command/readme.md +0 -34
- data/node_modules/shebang-regex/index.d.ts +0 -22
- data/node_modules/shebang-regex/index.js +0 -2
- data/node_modules/shebang-regex/license +0 -9
- data/node_modules/shebang-regex/package.json +0 -35
- data/node_modules/shebang-regex/readme.md +0 -33
- data/node_modules/source-map/CHANGELOG.md +0 -301
- data/node_modules/source-map/LICENSE +0 -28
- data/node_modules/source-map/README.md +0 -742
- data/node_modules/source-map/dist/source-map.debug.js +0 -3234
- data/node_modules/source-map/dist/source-map.js +0 -3233
- data/node_modules/source-map/dist/source-map.min.js +0 -2
- data/node_modules/source-map/dist/source-map.min.js.map +0 -1
- data/node_modules/source-map/lib/array-set.js +0 -121
- data/node_modules/source-map/lib/base64-vlq.js +0 -140
- data/node_modules/source-map/lib/base64.js +0 -67
- data/node_modules/source-map/lib/binary-search.js +0 -111
- data/node_modules/source-map/lib/mapping-list.js +0 -79
- data/node_modules/source-map/lib/quick-sort.js +0 -114
- data/node_modules/source-map/lib/source-map-consumer.js +0 -1145
- data/node_modules/source-map/lib/source-map-generator.js +0 -425
- data/node_modules/source-map/lib/source-node.js +0 -413
- data/node_modules/source-map/lib/util.js +0 -488
- data/node_modules/source-map/package.json +0 -73
- data/node_modules/source-map/source-map.d.ts +0 -98
- data/node_modules/source-map/source-map.js +0 -8
- data/node_modules/supports-color/browser.js +0 -5
- data/node_modules/supports-color/index.js +0 -131
- data/node_modules/supports-color/license +0 -9
- data/node_modules/supports-color/package.json +0 -53
- data/node_modules/supports-color/readme.md +0 -66
- data/node_modules/supports-preserve-symlinks-flag/.eslintrc +0 -14
- data/node_modules/supports-preserve-symlinks-flag/.github/FUNDING.yml +0 -12
- data/node_modules/supports-preserve-symlinks-flag/.nycrc +0 -9
- data/node_modules/supports-preserve-symlinks-flag/CHANGELOG.md +0 -22
- data/node_modules/supports-preserve-symlinks-flag/LICENSE +0 -21
- data/node_modules/supports-preserve-symlinks-flag/README.md +0 -42
- data/node_modules/supports-preserve-symlinks-flag/browser.js +0 -3
- data/node_modules/supports-preserve-symlinks-flag/index.js +0 -9
- data/node_modules/supports-preserve-symlinks-flag/package.json +0 -70
- data/node_modules/supports-preserve-symlinks-flag/test/index.js +0 -29
- data/node_modules/thenify/History.md +0 -11
- data/node_modules/thenify/LICENSE +0 -22
- data/node_modules/thenify/README.md +0 -120
- data/node_modules/thenify/index.js +0 -77
- data/node_modules/thenify/package.json +0 -31
- data/node_modules/thenify-all/History.md +0 -11
- data/node_modules/thenify-all/LICENSE +0 -22
- data/node_modules/thenify-all/README.md +0 -66
- data/node_modules/thenify-all/index.js +0 -73
- data/node_modules/thenify-all/package.json +0 -34
- data/node_modules/to-fast-properties/index.js +0 -27
- data/node_modules/to-fast-properties/license +0 -10
- data/node_modules/to-fast-properties/package.json +0 -35
- data/node_modules/to-fast-properties/readme.md +0 -37
- data/node_modules/tslib/CopyrightNotice.txt +0 -15
- data/node_modules/tslib/LICENSE.txt +0 -12
- data/node_modules/tslib/README.md +0 -164
- data/node_modules/tslib/SECURITY.md +0 -41
- data/node_modules/tslib/modules/index.d.ts +0 -37
- data/node_modules/tslib/modules/index.js +0 -68
- data/node_modules/tslib/modules/package.json +0 -3
- data/node_modules/tslib/package.json +0 -47
- data/node_modules/tslib/tslib.d.ts +0 -453
- data/node_modules/tslib/tslib.es6.html +0 -1
- data/node_modules/tslib/tslib.es6.js +0 -374
- data/node_modules/tslib/tslib.es6.mjs +0 -373
- data/node_modules/tslib/tslib.html +0 -1
- data/node_modules/tslib/tslib.js +0 -424
- data/node_modules/update-browserslist-db/.devcontainer.json +0 -42
- data/node_modules/update-browserslist-db/LICENSE +0 -20
- data/node_modules/update-browserslist-db/README.md +0 -22
- data/node_modules/update-browserslist-db/check-npm-version.js +0 -17
- data/node_modules/update-browserslist-db/cli.js +0 -42
- data/node_modules/update-browserslist-db/index.d.ts +0 -6
- data/node_modules/update-browserslist-db/index.js +0 -333
- data/node_modules/update-browserslist-db/node_modules/.bin/browserslist +0 -1
- data/node_modules/update-browserslist-db/package.json +0 -40
- data/node_modules/update-browserslist-db/utils.js +0 -25
- data/node_modules/which/CHANGELOG.md +0 -166
- data/node_modules/which/LICENSE +0 -15
- data/node_modules/which/README.md +0 -54
- data/node_modules/which/bin/node-which +0 -52
- data/node_modules/which/package.json +0 -43
- data/node_modules/which/which.js +0 -125
- data/node_modules/yallist/LICENSE +0 -15
- data/node_modules/yallist/README.md +0 -204
- data/node_modules/yallist/iterator.js +0 -8
- data/node_modules/yallist/package.json +0 -29
- data/node_modules/yallist/yallist.js +0 -426
- data/yarn.lock +0 -710
@@ -1,3899 +0,0 @@
|
|
1
|
-
// Generated by CoffeeScript 1.12.7-patch.3
|
2
|
-
(function() {
|
3
|
-
var Access, Arr, Assign, Base, Block, BooleanLiteral, Call, Class, Code, CodeFragment, Comment, Existence, Expansion, ExportAllDeclaration, ExportDeclaration, ExportDefaultDeclaration, ExportNamedDeclaration, ExportSpecifier, ExportSpecifierList, Extends, For, IdentifierLiteral, If, ImportClause, ImportDeclaration, ImportDefaultSpecifier, ImportNamespaceSpecifier, ImportSpecifier, ImportSpecifierList, In, Index, InfinityLiteral, JS_FORBIDDEN, LEVEL_ACCESS, LEVEL_COND, LEVEL_LIST, LEVEL_OP, LEVEL_PAREN, LEVEL_TOP, Literal, ModuleDeclaration, ModuleSpecifier, ModuleSpecifierList, NEGATE, NO, NaNLiteral, NullLiteral, NumberLiteral, Obj, Op, Param, Parens, PassthroughLiteral, PropertyName, Range, RegexLiteral, RegexWithInterpolations, Return, SIMPLENUM, Scope, Slice, Splat, StatementLiteral, StringLiteral, StringWithInterpolations, SuperCall, Switch, TAB, THIS, TaggedTemplateCall, ThisLiteral, Throw, Try, UTILITIES, UndefinedLiteral, Value, While, YES, YieldReturn, addLocationDataFn, compact, del, ends, extend, flatten, fragmentsToText, isComplexOrAssignable, isLiteralArguments, isLiteralThis, isUnassignable, locationDataToString, merge, multident, ref1, ref2, some, starts, throwSyntaxError, unfoldSoak, utility,
|
4
|
-
extend1 = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
|
5
|
-
hasProp = {}.hasOwnProperty,
|
6
|
-
indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; },
|
7
|
-
slice = [].slice;
|
8
|
-
|
9
|
-
Error.stackTraceLimit = 2e308;
|
10
|
-
|
11
|
-
Scope = require('./scope').Scope;
|
12
|
-
|
13
|
-
ref1 = require('./lexer'), isUnassignable = ref1.isUnassignable, JS_FORBIDDEN = ref1.JS_FORBIDDEN;
|
14
|
-
|
15
|
-
ref2 = require('./helpers'), compact = ref2.compact, flatten = ref2.flatten, extend = ref2.extend, merge = ref2.merge, del = ref2.del, starts = ref2.starts, ends = ref2.ends, some = ref2.some, addLocationDataFn = ref2.addLocationDataFn, locationDataToString = ref2.locationDataToString, throwSyntaxError = ref2.throwSyntaxError;
|
16
|
-
|
17
|
-
exports.extend = extend;
|
18
|
-
|
19
|
-
exports.addLocationDataFn = addLocationDataFn;
|
20
|
-
|
21
|
-
YES = function() {
|
22
|
-
return true;
|
23
|
-
};
|
24
|
-
|
25
|
-
NO = function() {
|
26
|
-
return false;
|
27
|
-
};
|
28
|
-
|
29
|
-
THIS = function() {
|
30
|
-
return this;
|
31
|
-
};
|
32
|
-
|
33
|
-
NEGATE = function() {
|
34
|
-
this.negated = !this.negated;
|
35
|
-
return this;
|
36
|
-
};
|
37
|
-
|
38
|
-
exports.CodeFragment = CodeFragment = (function() {
|
39
|
-
function CodeFragment(parent, code) {
|
40
|
-
var ref3;
|
41
|
-
this.code = "" + code;
|
42
|
-
this.locationData = parent != null ? parent.locationData : void 0;
|
43
|
-
this.type = (parent != null ? (ref3 = parent.constructor) != null ? ref3.name : void 0 : void 0) || 'unknown';
|
44
|
-
}
|
45
|
-
|
46
|
-
CodeFragment.prototype.toString = function() {
|
47
|
-
return "" + this.code + (this.locationData ? ": " + locationDataToString(this.locationData) : '');
|
48
|
-
};
|
49
|
-
|
50
|
-
return CodeFragment;
|
51
|
-
|
52
|
-
})();
|
53
|
-
|
54
|
-
fragmentsToText = function(fragments) {
|
55
|
-
var fragment;
|
56
|
-
return ((function() {
|
57
|
-
var j, len1, results;
|
58
|
-
results = [];
|
59
|
-
for (j = 0, len1 = fragments.length; j < len1; j++) {
|
60
|
-
fragment = fragments[j];
|
61
|
-
results.push(fragment.code);
|
62
|
-
}
|
63
|
-
return results;
|
64
|
-
})()).join('');
|
65
|
-
};
|
66
|
-
|
67
|
-
exports.Base = Base = (function() {
|
68
|
-
function Base() {}
|
69
|
-
|
70
|
-
Base.prototype.compile = function(o, lvl) {
|
71
|
-
return fragmentsToText(this.compileToFragments(o, lvl));
|
72
|
-
};
|
73
|
-
|
74
|
-
Base.prototype.compileToFragments = function(o, lvl) {
|
75
|
-
var node;
|
76
|
-
o = extend({}, o);
|
77
|
-
if (lvl) {
|
78
|
-
o.level = lvl;
|
79
|
-
}
|
80
|
-
node = this.unfoldSoak(o) || this;
|
81
|
-
node.tab = o.indent;
|
82
|
-
if (o.level === LEVEL_TOP || !node.isStatement(o)) {
|
83
|
-
return node.compileNode(o);
|
84
|
-
} else {
|
85
|
-
return node.compileClosure(o);
|
86
|
-
}
|
87
|
-
};
|
88
|
-
|
89
|
-
Base.prototype.compileClosure = function(o) {
|
90
|
-
var args, argumentsNode, func, jumpNode, meth, parts, ref3;
|
91
|
-
if (jumpNode = this.jumps()) {
|
92
|
-
jumpNode.error('cannot use a pure statement in an expression');
|
93
|
-
}
|
94
|
-
o.sharedScope = true;
|
95
|
-
func = new Code([], Block.wrap([this]));
|
96
|
-
args = [];
|
97
|
-
if ((argumentsNode = this.contains(isLiteralArguments)) || this.contains(isLiteralThis)) {
|
98
|
-
args = [new ThisLiteral];
|
99
|
-
if (argumentsNode) {
|
100
|
-
meth = 'apply';
|
101
|
-
args.push(new IdentifierLiteral('arguments'));
|
102
|
-
} else {
|
103
|
-
meth = 'call';
|
104
|
-
}
|
105
|
-
func = new Value(func, [new Access(new PropertyName(meth))]);
|
106
|
-
}
|
107
|
-
parts = (new Call(func, args)).compileNode(o);
|
108
|
-
if (func.isGenerator || ((ref3 = func.base) != null ? ref3.isGenerator : void 0)) {
|
109
|
-
parts.unshift(this.makeCode("(yield* "));
|
110
|
-
parts.push(this.makeCode(")"));
|
111
|
-
}
|
112
|
-
return parts;
|
113
|
-
};
|
114
|
-
|
115
|
-
Base.prototype.cache = function(o, level, isComplex) {
|
116
|
-
var complex, ref, sub;
|
117
|
-
complex = isComplex != null ? isComplex(this) : this.isComplex();
|
118
|
-
if (complex) {
|
119
|
-
ref = new IdentifierLiteral(o.scope.freeVariable('ref'));
|
120
|
-
sub = new Assign(ref, this);
|
121
|
-
if (level) {
|
122
|
-
return [sub.compileToFragments(o, level), [this.makeCode(ref.value)]];
|
123
|
-
} else {
|
124
|
-
return [sub, ref];
|
125
|
-
}
|
126
|
-
} else {
|
127
|
-
ref = level ? this.compileToFragments(o, level) : this;
|
128
|
-
return [ref, ref];
|
129
|
-
}
|
130
|
-
};
|
131
|
-
|
132
|
-
Base.prototype.cacheToCodeFragments = function(cacheValues) {
|
133
|
-
return [fragmentsToText(cacheValues[0]), fragmentsToText(cacheValues[1])];
|
134
|
-
};
|
135
|
-
|
136
|
-
Base.prototype.makeReturn = function(res) {
|
137
|
-
var me;
|
138
|
-
me = this.unwrapAll();
|
139
|
-
if (res) {
|
140
|
-
return new Call(new Literal(res + ".push"), [me]);
|
141
|
-
} else {
|
142
|
-
return new Return(me);
|
143
|
-
}
|
144
|
-
};
|
145
|
-
|
146
|
-
Base.prototype.contains = function(pred) {
|
147
|
-
var node;
|
148
|
-
node = void 0;
|
149
|
-
this.traverseChildren(false, function(n) {
|
150
|
-
if (pred(n)) {
|
151
|
-
node = n;
|
152
|
-
return false;
|
153
|
-
}
|
154
|
-
});
|
155
|
-
return node;
|
156
|
-
};
|
157
|
-
|
158
|
-
Base.prototype.lastNonComment = function(list) {
|
159
|
-
var i;
|
160
|
-
i = list.length;
|
161
|
-
while (i--) {
|
162
|
-
if (!(list[i] instanceof Comment)) {
|
163
|
-
return list[i];
|
164
|
-
}
|
165
|
-
}
|
166
|
-
return null;
|
167
|
-
};
|
168
|
-
|
169
|
-
Base.prototype.toString = function(idt, name) {
|
170
|
-
var tree;
|
171
|
-
if (idt == null) {
|
172
|
-
idt = '';
|
173
|
-
}
|
174
|
-
if (name == null) {
|
175
|
-
name = this.constructor.name;
|
176
|
-
}
|
177
|
-
tree = '\n' + idt + name;
|
178
|
-
if (this.soak) {
|
179
|
-
tree += '?';
|
180
|
-
}
|
181
|
-
this.eachChild(function(node) {
|
182
|
-
return tree += node.toString(idt + TAB);
|
183
|
-
});
|
184
|
-
return tree;
|
185
|
-
};
|
186
|
-
|
187
|
-
Base.prototype.eachChild = function(func) {
|
188
|
-
var attr, child, j, k, len1, len2, ref3, ref4;
|
189
|
-
if (!this.children) {
|
190
|
-
return this;
|
191
|
-
}
|
192
|
-
ref3 = this.children;
|
193
|
-
for (j = 0, len1 = ref3.length; j < len1; j++) {
|
194
|
-
attr = ref3[j];
|
195
|
-
if (this[attr]) {
|
196
|
-
ref4 = flatten([this[attr]]);
|
197
|
-
for (k = 0, len2 = ref4.length; k < len2; k++) {
|
198
|
-
child = ref4[k];
|
199
|
-
if (func(child) === false) {
|
200
|
-
return this;
|
201
|
-
}
|
202
|
-
}
|
203
|
-
}
|
204
|
-
}
|
205
|
-
return this;
|
206
|
-
};
|
207
|
-
|
208
|
-
Base.prototype.traverseChildren = function(crossScope, func) {
|
209
|
-
return this.eachChild(function(child) {
|
210
|
-
var recur;
|
211
|
-
recur = func(child);
|
212
|
-
if (recur !== false) {
|
213
|
-
return child.traverseChildren(crossScope, func);
|
214
|
-
}
|
215
|
-
});
|
216
|
-
};
|
217
|
-
|
218
|
-
Base.prototype.invert = function() {
|
219
|
-
return new Op('!', this);
|
220
|
-
};
|
221
|
-
|
222
|
-
Base.prototype.unwrapAll = function() {
|
223
|
-
var node;
|
224
|
-
node = this;
|
225
|
-
while (node !== (node = node.unwrap())) {
|
226
|
-
continue;
|
227
|
-
}
|
228
|
-
return node;
|
229
|
-
};
|
230
|
-
|
231
|
-
Base.prototype.children = [];
|
232
|
-
|
233
|
-
Base.prototype.isStatement = NO;
|
234
|
-
|
235
|
-
Base.prototype.jumps = NO;
|
236
|
-
|
237
|
-
Base.prototype.isComplex = YES;
|
238
|
-
|
239
|
-
Base.prototype.isChainable = NO;
|
240
|
-
|
241
|
-
Base.prototype.isAssignable = NO;
|
242
|
-
|
243
|
-
Base.prototype.isNumber = NO;
|
244
|
-
|
245
|
-
Base.prototype.unwrap = THIS;
|
246
|
-
|
247
|
-
Base.prototype.unfoldSoak = NO;
|
248
|
-
|
249
|
-
Base.prototype.assigns = NO;
|
250
|
-
|
251
|
-
Base.prototype.updateLocationDataIfMissing = function(locationData) {
|
252
|
-
if (this.locationData) {
|
253
|
-
return this;
|
254
|
-
}
|
255
|
-
this.locationData = locationData;
|
256
|
-
return this.eachChild(function(child) {
|
257
|
-
return child.updateLocationDataIfMissing(locationData);
|
258
|
-
});
|
259
|
-
};
|
260
|
-
|
261
|
-
Base.prototype.error = function(message) {
|
262
|
-
return throwSyntaxError(message, this.locationData);
|
263
|
-
};
|
264
|
-
|
265
|
-
Base.prototype.makeCode = function(code) {
|
266
|
-
return new CodeFragment(this, code);
|
267
|
-
};
|
268
|
-
|
269
|
-
Base.prototype.wrapInBraces = function(fragments) {
|
270
|
-
return [].concat(this.makeCode('('), fragments, this.makeCode(')'));
|
271
|
-
};
|
272
|
-
|
273
|
-
Base.prototype.joinFragmentArrays = function(fragmentsList, joinStr) {
|
274
|
-
var answer, fragments, i, j, len1;
|
275
|
-
answer = [];
|
276
|
-
for (i = j = 0, len1 = fragmentsList.length; j < len1; i = ++j) {
|
277
|
-
fragments = fragmentsList[i];
|
278
|
-
if (i) {
|
279
|
-
answer.push(this.makeCode(joinStr));
|
280
|
-
}
|
281
|
-
answer = answer.concat(fragments);
|
282
|
-
}
|
283
|
-
return answer;
|
284
|
-
};
|
285
|
-
|
286
|
-
return Base;
|
287
|
-
|
288
|
-
})();
|
289
|
-
|
290
|
-
exports.Block = Block = (function(superClass1) {
|
291
|
-
extend1(Block, superClass1);
|
292
|
-
|
293
|
-
function Block(nodes) {
|
294
|
-
this.expressions = compact(flatten(nodes || []));
|
295
|
-
}
|
296
|
-
|
297
|
-
Block.prototype.children = ['expressions'];
|
298
|
-
|
299
|
-
Block.prototype.push = function(node) {
|
300
|
-
this.expressions.push(node);
|
301
|
-
return this;
|
302
|
-
};
|
303
|
-
|
304
|
-
Block.prototype.pop = function() {
|
305
|
-
return this.expressions.pop();
|
306
|
-
};
|
307
|
-
|
308
|
-
Block.prototype.unshift = function(node) {
|
309
|
-
this.expressions.unshift(node);
|
310
|
-
return this;
|
311
|
-
};
|
312
|
-
|
313
|
-
Block.prototype.unwrap = function() {
|
314
|
-
if (this.expressions.length === 1) {
|
315
|
-
return this.expressions[0];
|
316
|
-
} else {
|
317
|
-
return this;
|
318
|
-
}
|
319
|
-
};
|
320
|
-
|
321
|
-
Block.prototype.isEmpty = function() {
|
322
|
-
return !this.expressions.length;
|
323
|
-
};
|
324
|
-
|
325
|
-
Block.prototype.isStatement = function(o) {
|
326
|
-
var exp, j, len1, ref3;
|
327
|
-
ref3 = this.expressions;
|
328
|
-
for (j = 0, len1 = ref3.length; j < len1; j++) {
|
329
|
-
exp = ref3[j];
|
330
|
-
if (exp.isStatement(o)) {
|
331
|
-
return true;
|
332
|
-
}
|
333
|
-
}
|
334
|
-
return false;
|
335
|
-
};
|
336
|
-
|
337
|
-
Block.prototype.jumps = function(o) {
|
338
|
-
var exp, j, jumpNode, len1, ref3;
|
339
|
-
ref3 = this.expressions;
|
340
|
-
for (j = 0, len1 = ref3.length; j < len1; j++) {
|
341
|
-
exp = ref3[j];
|
342
|
-
if (jumpNode = exp.jumps(o)) {
|
343
|
-
return jumpNode;
|
344
|
-
}
|
345
|
-
}
|
346
|
-
};
|
347
|
-
|
348
|
-
Block.prototype.makeReturn = function(res) {
|
349
|
-
var expr, len;
|
350
|
-
len = this.expressions.length;
|
351
|
-
while (len--) {
|
352
|
-
expr = this.expressions[len];
|
353
|
-
if (!(expr instanceof Comment)) {
|
354
|
-
this.expressions[len] = expr.makeReturn(res);
|
355
|
-
if (expr instanceof Return && !expr.expression) {
|
356
|
-
this.expressions.splice(len, 1);
|
357
|
-
}
|
358
|
-
break;
|
359
|
-
}
|
360
|
-
}
|
361
|
-
return this;
|
362
|
-
};
|
363
|
-
|
364
|
-
Block.prototype.compileToFragments = function(o, level) {
|
365
|
-
if (o == null) {
|
366
|
-
o = {};
|
367
|
-
}
|
368
|
-
if (o.scope) {
|
369
|
-
return Block.__super__.compileToFragments.call(this, o, level);
|
370
|
-
} else {
|
371
|
-
return this.compileRoot(o);
|
372
|
-
}
|
373
|
-
};
|
374
|
-
|
375
|
-
Block.prototype.compileNode = function(o) {
|
376
|
-
var answer, compiledNodes, fragments, index, j, len1, node, ref3, top;
|
377
|
-
this.tab = o.indent;
|
378
|
-
top = o.level === LEVEL_TOP;
|
379
|
-
compiledNodes = [];
|
380
|
-
ref3 = this.expressions;
|
381
|
-
for (index = j = 0, len1 = ref3.length; j < len1; index = ++j) {
|
382
|
-
node = ref3[index];
|
383
|
-
node = node.unwrapAll();
|
384
|
-
node = node.unfoldSoak(o) || node;
|
385
|
-
if (node instanceof Block) {
|
386
|
-
compiledNodes.push(node.compileNode(o));
|
387
|
-
} else if (top) {
|
388
|
-
node.front = true;
|
389
|
-
fragments = node.compileToFragments(o);
|
390
|
-
if (!node.isStatement(o)) {
|
391
|
-
fragments.unshift(this.makeCode("" + this.tab));
|
392
|
-
fragments.push(this.makeCode(";"));
|
393
|
-
}
|
394
|
-
compiledNodes.push(fragments);
|
395
|
-
} else {
|
396
|
-
compiledNodes.push(node.compileToFragments(o, LEVEL_LIST));
|
397
|
-
}
|
398
|
-
}
|
399
|
-
if (top) {
|
400
|
-
if (this.spaced) {
|
401
|
-
return [].concat(this.joinFragmentArrays(compiledNodes, '\n\n'), this.makeCode("\n"));
|
402
|
-
} else {
|
403
|
-
return this.joinFragmentArrays(compiledNodes, '\n');
|
404
|
-
}
|
405
|
-
}
|
406
|
-
if (compiledNodes.length) {
|
407
|
-
answer = this.joinFragmentArrays(compiledNodes, ', ');
|
408
|
-
} else {
|
409
|
-
answer = [this.makeCode("void 0")];
|
410
|
-
}
|
411
|
-
if (compiledNodes.length > 1 && o.level >= LEVEL_LIST) {
|
412
|
-
return this.wrapInBraces(answer);
|
413
|
-
} else {
|
414
|
-
return answer;
|
415
|
-
}
|
416
|
-
};
|
417
|
-
|
418
|
-
Block.prototype.compileRoot = function(o) {
|
419
|
-
var exp, fragments, i, j, len1, name, prelude, preludeExps, ref3, ref4, rest;
|
420
|
-
o.indent = o.bare ? '' : TAB;
|
421
|
-
o.level = LEVEL_TOP;
|
422
|
-
this.spaced = true;
|
423
|
-
o.scope = new Scope(null, this, null, (ref3 = o.referencedVars) != null ? ref3 : []);
|
424
|
-
ref4 = o.locals || [];
|
425
|
-
for (j = 0, len1 = ref4.length; j < len1; j++) {
|
426
|
-
name = ref4[j];
|
427
|
-
o.scope.parameter(name);
|
428
|
-
}
|
429
|
-
prelude = [];
|
430
|
-
if (!o.bare) {
|
431
|
-
preludeExps = (function() {
|
432
|
-
var k, len2, ref5, results;
|
433
|
-
ref5 = this.expressions;
|
434
|
-
results = [];
|
435
|
-
for (i = k = 0, len2 = ref5.length; k < len2; i = ++k) {
|
436
|
-
exp = ref5[i];
|
437
|
-
if (!(exp.unwrap() instanceof Comment)) {
|
438
|
-
break;
|
439
|
-
}
|
440
|
-
results.push(exp);
|
441
|
-
}
|
442
|
-
return results;
|
443
|
-
}).call(this);
|
444
|
-
rest = this.expressions.slice(preludeExps.length);
|
445
|
-
this.expressions = preludeExps;
|
446
|
-
if (preludeExps.length) {
|
447
|
-
prelude = this.compileNode(merge(o, {
|
448
|
-
indent: ''
|
449
|
-
}));
|
450
|
-
prelude.push(this.makeCode("\n"));
|
451
|
-
}
|
452
|
-
this.expressions = rest;
|
453
|
-
}
|
454
|
-
fragments = this.compileWithDeclarations(o);
|
455
|
-
if (o.bare) {
|
456
|
-
return fragments;
|
457
|
-
}
|
458
|
-
return [].concat(prelude, this.makeCode("(function() {\n"), fragments, this.makeCode("\n}).call(this);\n"));
|
459
|
-
};
|
460
|
-
|
461
|
-
Block.prototype.compileWithDeclarations = function(o) {
|
462
|
-
var assigns, declars, exp, fragments, i, j, len1, post, ref3, ref4, ref5, rest, scope, spaced;
|
463
|
-
fragments = [];
|
464
|
-
post = [];
|
465
|
-
ref3 = this.expressions;
|
466
|
-
for (i = j = 0, len1 = ref3.length; j < len1; i = ++j) {
|
467
|
-
exp = ref3[i];
|
468
|
-
exp = exp.unwrap();
|
469
|
-
if (!(exp instanceof Comment || exp instanceof Literal)) {
|
470
|
-
break;
|
471
|
-
}
|
472
|
-
}
|
473
|
-
o = merge(o, {
|
474
|
-
level: LEVEL_TOP
|
475
|
-
});
|
476
|
-
if (i) {
|
477
|
-
rest = this.expressions.splice(i, 9e9);
|
478
|
-
ref4 = [this.spaced, false], spaced = ref4[0], this.spaced = ref4[1];
|
479
|
-
ref5 = [this.compileNode(o), spaced], fragments = ref5[0], this.spaced = ref5[1];
|
480
|
-
this.expressions = rest;
|
481
|
-
}
|
482
|
-
post = this.compileNode(o);
|
483
|
-
scope = o.scope;
|
484
|
-
if (scope.expressions === this) {
|
485
|
-
declars = o.scope.hasDeclarations();
|
486
|
-
assigns = scope.hasAssignments;
|
487
|
-
if (declars || assigns) {
|
488
|
-
if (i) {
|
489
|
-
fragments.push(this.makeCode('\n'));
|
490
|
-
}
|
491
|
-
fragments.push(this.makeCode(this.tab + "var "));
|
492
|
-
if (declars) {
|
493
|
-
fragments.push(this.makeCode(scope.declaredVariables().join(', ')));
|
494
|
-
}
|
495
|
-
if (assigns) {
|
496
|
-
if (declars) {
|
497
|
-
fragments.push(this.makeCode(",\n" + (this.tab + TAB)));
|
498
|
-
}
|
499
|
-
fragments.push(this.makeCode(scope.assignedVariables().join(",\n" + (this.tab + TAB))));
|
500
|
-
}
|
501
|
-
fragments.push(this.makeCode(";\n" + (this.spaced ? '\n' : '')));
|
502
|
-
} else if (fragments.length && post.length) {
|
503
|
-
fragments.push(this.makeCode("\n"));
|
504
|
-
}
|
505
|
-
}
|
506
|
-
return fragments.concat(post);
|
507
|
-
};
|
508
|
-
|
509
|
-
Block.wrap = function(nodes) {
|
510
|
-
if (nodes.length === 1 && nodes[0] instanceof Block) {
|
511
|
-
return nodes[0];
|
512
|
-
}
|
513
|
-
return new Block(nodes);
|
514
|
-
};
|
515
|
-
|
516
|
-
return Block;
|
517
|
-
|
518
|
-
})(Base);
|
519
|
-
|
520
|
-
exports.Literal = Literal = (function(superClass1) {
|
521
|
-
extend1(Literal, superClass1);
|
522
|
-
|
523
|
-
function Literal(value1) {
|
524
|
-
this.value = value1;
|
525
|
-
}
|
526
|
-
|
527
|
-
Literal.prototype.isComplex = NO;
|
528
|
-
|
529
|
-
Literal.prototype.assigns = function(name) {
|
530
|
-
return name === this.value;
|
531
|
-
};
|
532
|
-
|
533
|
-
Literal.prototype.compileNode = function(o) {
|
534
|
-
return [this.makeCode(this.value)];
|
535
|
-
};
|
536
|
-
|
537
|
-
Literal.prototype.toString = function() {
|
538
|
-
return " " + (this.isStatement() ? Literal.__super__.toString.apply(this, arguments) : this.constructor.name) + ": " + this.value;
|
539
|
-
};
|
540
|
-
|
541
|
-
return Literal;
|
542
|
-
|
543
|
-
})(Base);
|
544
|
-
|
545
|
-
exports.NumberLiteral = NumberLiteral = (function(superClass1) {
|
546
|
-
extend1(NumberLiteral, superClass1);
|
547
|
-
|
548
|
-
function NumberLiteral() {
|
549
|
-
return NumberLiteral.__super__.constructor.apply(this, arguments);
|
550
|
-
}
|
551
|
-
|
552
|
-
return NumberLiteral;
|
553
|
-
|
554
|
-
})(Literal);
|
555
|
-
|
556
|
-
exports.InfinityLiteral = InfinityLiteral = (function(superClass1) {
|
557
|
-
extend1(InfinityLiteral, superClass1);
|
558
|
-
|
559
|
-
function InfinityLiteral() {
|
560
|
-
return InfinityLiteral.__super__.constructor.apply(this, arguments);
|
561
|
-
}
|
562
|
-
|
563
|
-
InfinityLiteral.prototype.compileNode = function() {
|
564
|
-
return [this.makeCode('2e308')];
|
565
|
-
};
|
566
|
-
|
567
|
-
return InfinityLiteral;
|
568
|
-
|
569
|
-
})(NumberLiteral);
|
570
|
-
|
571
|
-
exports.NaNLiteral = NaNLiteral = (function(superClass1) {
|
572
|
-
extend1(NaNLiteral, superClass1);
|
573
|
-
|
574
|
-
function NaNLiteral() {
|
575
|
-
NaNLiteral.__super__.constructor.call(this, 'NaN');
|
576
|
-
}
|
577
|
-
|
578
|
-
NaNLiteral.prototype.compileNode = function(o) {
|
579
|
-
var code;
|
580
|
-
code = [this.makeCode('0/0')];
|
581
|
-
if (o.level >= LEVEL_OP) {
|
582
|
-
return this.wrapInBraces(code);
|
583
|
-
} else {
|
584
|
-
return code;
|
585
|
-
}
|
586
|
-
};
|
587
|
-
|
588
|
-
return NaNLiteral;
|
589
|
-
|
590
|
-
})(NumberLiteral);
|
591
|
-
|
592
|
-
exports.StringLiteral = StringLiteral = (function(superClass1) {
|
593
|
-
extend1(StringLiteral, superClass1);
|
594
|
-
|
595
|
-
function StringLiteral() {
|
596
|
-
return StringLiteral.__super__.constructor.apply(this, arguments);
|
597
|
-
}
|
598
|
-
|
599
|
-
return StringLiteral;
|
600
|
-
|
601
|
-
})(Literal);
|
602
|
-
|
603
|
-
exports.RegexLiteral = RegexLiteral = (function(superClass1) {
|
604
|
-
extend1(RegexLiteral, superClass1);
|
605
|
-
|
606
|
-
function RegexLiteral() {
|
607
|
-
return RegexLiteral.__super__.constructor.apply(this, arguments);
|
608
|
-
}
|
609
|
-
|
610
|
-
return RegexLiteral;
|
611
|
-
|
612
|
-
})(Literal);
|
613
|
-
|
614
|
-
exports.PassthroughLiteral = PassthroughLiteral = (function(superClass1) {
|
615
|
-
extend1(PassthroughLiteral, superClass1);
|
616
|
-
|
617
|
-
function PassthroughLiteral() {
|
618
|
-
return PassthroughLiteral.__super__.constructor.apply(this, arguments);
|
619
|
-
}
|
620
|
-
|
621
|
-
return PassthroughLiteral;
|
622
|
-
|
623
|
-
})(Literal);
|
624
|
-
|
625
|
-
exports.IdentifierLiteral = IdentifierLiteral = (function(superClass1) {
|
626
|
-
extend1(IdentifierLiteral, superClass1);
|
627
|
-
|
628
|
-
function IdentifierLiteral() {
|
629
|
-
return IdentifierLiteral.__super__.constructor.apply(this, arguments);
|
630
|
-
}
|
631
|
-
|
632
|
-
IdentifierLiteral.prototype.isAssignable = YES;
|
633
|
-
|
634
|
-
return IdentifierLiteral;
|
635
|
-
|
636
|
-
})(Literal);
|
637
|
-
|
638
|
-
exports.PropertyName = PropertyName = (function(superClass1) {
|
639
|
-
extend1(PropertyName, superClass1);
|
640
|
-
|
641
|
-
function PropertyName() {
|
642
|
-
return PropertyName.__super__.constructor.apply(this, arguments);
|
643
|
-
}
|
644
|
-
|
645
|
-
PropertyName.prototype.isAssignable = YES;
|
646
|
-
|
647
|
-
return PropertyName;
|
648
|
-
|
649
|
-
})(Literal);
|
650
|
-
|
651
|
-
exports.StatementLiteral = StatementLiteral = (function(superClass1) {
|
652
|
-
extend1(StatementLiteral, superClass1);
|
653
|
-
|
654
|
-
function StatementLiteral() {
|
655
|
-
return StatementLiteral.__super__.constructor.apply(this, arguments);
|
656
|
-
}
|
657
|
-
|
658
|
-
StatementLiteral.prototype.isStatement = YES;
|
659
|
-
|
660
|
-
StatementLiteral.prototype.makeReturn = THIS;
|
661
|
-
|
662
|
-
StatementLiteral.prototype.jumps = function(o) {
|
663
|
-
if (this.value === 'break' && !((o != null ? o.loop : void 0) || (o != null ? o.block : void 0))) {
|
664
|
-
return this;
|
665
|
-
}
|
666
|
-
if (this.value === 'continue' && !(o != null ? o.loop : void 0)) {
|
667
|
-
return this;
|
668
|
-
}
|
669
|
-
};
|
670
|
-
|
671
|
-
StatementLiteral.prototype.compileNode = function(o) {
|
672
|
-
return [this.makeCode("" + this.tab + this.value + ";")];
|
673
|
-
};
|
674
|
-
|
675
|
-
return StatementLiteral;
|
676
|
-
|
677
|
-
})(Literal);
|
678
|
-
|
679
|
-
exports.ThisLiteral = ThisLiteral = (function(superClass1) {
|
680
|
-
extend1(ThisLiteral, superClass1);
|
681
|
-
|
682
|
-
function ThisLiteral() {
|
683
|
-
ThisLiteral.__super__.constructor.call(this, 'this');
|
684
|
-
}
|
685
|
-
|
686
|
-
ThisLiteral.prototype.compileNode = function(o) {
|
687
|
-
var code, ref3;
|
688
|
-
code = ((ref3 = o.scope.method) != null ? ref3.bound : void 0) ? o.scope.method.context : this.value;
|
689
|
-
return [this.makeCode(code)];
|
690
|
-
};
|
691
|
-
|
692
|
-
return ThisLiteral;
|
693
|
-
|
694
|
-
})(Literal);
|
695
|
-
|
696
|
-
exports.UndefinedLiteral = UndefinedLiteral = (function(superClass1) {
|
697
|
-
extend1(UndefinedLiteral, superClass1);
|
698
|
-
|
699
|
-
function UndefinedLiteral() {
|
700
|
-
UndefinedLiteral.__super__.constructor.call(this, 'undefined');
|
701
|
-
}
|
702
|
-
|
703
|
-
UndefinedLiteral.prototype.compileNode = function(o) {
|
704
|
-
return [this.makeCode(o.level >= LEVEL_ACCESS ? '(void 0)' : 'void 0')];
|
705
|
-
};
|
706
|
-
|
707
|
-
return UndefinedLiteral;
|
708
|
-
|
709
|
-
})(Literal);
|
710
|
-
|
711
|
-
exports.NullLiteral = NullLiteral = (function(superClass1) {
|
712
|
-
extend1(NullLiteral, superClass1);
|
713
|
-
|
714
|
-
function NullLiteral() {
|
715
|
-
NullLiteral.__super__.constructor.call(this, 'null');
|
716
|
-
}
|
717
|
-
|
718
|
-
return NullLiteral;
|
719
|
-
|
720
|
-
})(Literal);
|
721
|
-
|
722
|
-
exports.BooleanLiteral = BooleanLiteral = (function(superClass1) {
|
723
|
-
extend1(BooleanLiteral, superClass1);
|
724
|
-
|
725
|
-
function BooleanLiteral() {
|
726
|
-
return BooleanLiteral.__super__.constructor.apply(this, arguments);
|
727
|
-
}
|
728
|
-
|
729
|
-
return BooleanLiteral;
|
730
|
-
|
731
|
-
})(Literal);
|
732
|
-
|
733
|
-
exports.Return = Return = (function(superClass1) {
|
734
|
-
extend1(Return, superClass1);
|
735
|
-
|
736
|
-
function Return(expression) {
|
737
|
-
this.expression = expression;
|
738
|
-
}
|
739
|
-
|
740
|
-
Return.prototype.children = ['expression'];
|
741
|
-
|
742
|
-
Return.prototype.isStatement = YES;
|
743
|
-
|
744
|
-
Return.prototype.makeReturn = THIS;
|
745
|
-
|
746
|
-
Return.prototype.jumps = THIS;
|
747
|
-
|
748
|
-
Return.prototype.compileToFragments = function(o, level) {
|
749
|
-
var expr, ref3;
|
750
|
-
expr = (ref3 = this.expression) != null ? ref3.makeReturn() : void 0;
|
751
|
-
if (expr && !(expr instanceof Return)) {
|
752
|
-
return expr.compileToFragments(o, level);
|
753
|
-
} else {
|
754
|
-
return Return.__super__.compileToFragments.call(this, o, level);
|
755
|
-
}
|
756
|
-
};
|
757
|
-
|
758
|
-
Return.prototype.compileNode = function(o) {
|
759
|
-
var answer;
|
760
|
-
answer = [];
|
761
|
-
answer.push(this.makeCode(this.tab + ("return" + (this.expression ? " " : ""))));
|
762
|
-
if (this.expression) {
|
763
|
-
answer = answer.concat(this.expression.compileToFragments(o, LEVEL_PAREN));
|
764
|
-
}
|
765
|
-
answer.push(this.makeCode(";"));
|
766
|
-
return answer;
|
767
|
-
};
|
768
|
-
|
769
|
-
return Return;
|
770
|
-
|
771
|
-
})(Base);
|
772
|
-
|
773
|
-
exports.YieldReturn = YieldReturn = (function(superClass1) {
|
774
|
-
extend1(YieldReturn, superClass1);
|
775
|
-
|
776
|
-
function YieldReturn() {
|
777
|
-
return YieldReturn.__super__.constructor.apply(this, arguments);
|
778
|
-
}
|
779
|
-
|
780
|
-
YieldReturn.prototype.compileNode = function(o) {
|
781
|
-
if (o.scope.parent == null) {
|
782
|
-
this.error('yield can only occur inside functions');
|
783
|
-
}
|
784
|
-
return YieldReturn.__super__.compileNode.apply(this, arguments);
|
785
|
-
};
|
786
|
-
|
787
|
-
return YieldReturn;
|
788
|
-
|
789
|
-
})(Return);
|
790
|
-
|
791
|
-
exports.Value = Value = (function(superClass1) {
|
792
|
-
extend1(Value, superClass1);
|
793
|
-
|
794
|
-
function Value(base, props, tag) {
|
795
|
-
if (!props && base instanceof Value) {
|
796
|
-
return base;
|
797
|
-
}
|
798
|
-
this.base = base;
|
799
|
-
this.properties = props || [];
|
800
|
-
if (tag) {
|
801
|
-
this[tag] = true;
|
802
|
-
}
|
803
|
-
return this;
|
804
|
-
}
|
805
|
-
|
806
|
-
Value.prototype.children = ['base', 'properties'];
|
807
|
-
|
808
|
-
Value.prototype.add = function(props) {
|
809
|
-
this.properties = this.properties.concat(props);
|
810
|
-
return this;
|
811
|
-
};
|
812
|
-
|
813
|
-
Value.prototype.hasProperties = function() {
|
814
|
-
return !!this.properties.length;
|
815
|
-
};
|
816
|
-
|
817
|
-
Value.prototype.bareLiteral = function(type) {
|
818
|
-
return !this.properties.length && this.base instanceof type;
|
819
|
-
};
|
820
|
-
|
821
|
-
Value.prototype.isArray = function() {
|
822
|
-
return this.bareLiteral(Arr);
|
823
|
-
};
|
824
|
-
|
825
|
-
Value.prototype.isRange = function() {
|
826
|
-
return this.bareLiteral(Range);
|
827
|
-
};
|
828
|
-
|
829
|
-
Value.prototype.isComplex = function() {
|
830
|
-
return this.hasProperties() || this.base.isComplex();
|
831
|
-
};
|
832
|
-
|
833
|
-
Value.prototype.isAssignable = function() {
|
834
|
-
return this.hasProperties() || this.base.isAssignable();
|
835
|
-
};
|
836
|
-
|
837
|
-
Value.prototype.isNumber = function() {
|
838
|
-
return this.bareLiteral(NumberLiteral);
|
839
|
-
};
|
840
|
-
|
841
|
-
Value.prototype.isString = function() {
|
842
|
-
return this.bareLiteral(StringLiteral);
|
843
|
-
};
|
844
|
-
|
845
|
-
Value.prototype.isRegex = function() {
|
846
|
-
return this.bareLiteral(RegexLiteral);
|
847
|
-
};
|
848
|
-
|
849
|
-
Value.prototype.isUndefined = function() {
|
850
|
-
return this.bareLiteral(UndefinedLiteral);
|
851
|
-
};
|
852
|
-
|
853
|
-
Value.prototype.isNull = function() {
|
854
|
-
return this.bareLiteral(NullLiteral);
|
855
|
-
};
|
856
|
-
|
857
|
-
Value.prototype.isBoolean = function() {
|
858
|
-
return this.bareLiteral(BooleanLiteral);
|
859
|
-
};
|
860
|
-
|
861
|
-
Value.prototype.isAtomic = function() {
|
862
|
-
var j, len1, node, ref3;
|
863
|
-
ref3 = this.properties.concat(this.base);
|
864
|
-
for (j = 0, len1 = ref3.length; j < len1; j++) {
|
865
|
-
node = ref3[j];
|
866
|
-
if (node.soak || node instanceof Call) {
|
867
|
-
return false;
|
868
|
-
}
|
869
|
-
}
|
870
|
-
return true;
|
871
|
-
};
|
872
|
-
|
873
|
-
Value.prototype.isNotCallable = function() {
|
874
|
-
return this.isNumber() || this.isString() || this.isRegex() || this.isArray() || this.isRange() || this.isSplice() || this.isObject() || this.isUndefined() || this.isNull() || this.isBoolean();
|
875
|
-
};
|
876
|
-
|
877
|
-
Value.prototype.isStatement = function(o) {
|
878
|
-
return !this.properties.length && this.base.isStatement(o);
|
879
|
-
};
|
880
|
-
|
881
|
-
Value.prototype.assigns = function(name) {
|
882
|
-
return !this.properties.length && this.base.assigns(name);
|
883
|
-
};
|
884
|
-
|
885
|
-
Value.prototype.jumps = function(o) {
|
886
|
-
return !this.properties.length && this.base.jumps(o);
|
887
|
-
};
|
888
|
-
|
889
|
-
Value.prototype.isObject = function(onlyGenerated) {
|
890
|
-
if (this.properties.length) {
|
891
|
-
return false;
|
892
|
-
}
|
893
|
-
return (this.base instanceof Obj) && (!onlyGenerated || this.base.generated);
|
894
|
-
};
|
895
|
-
|
896
|
-
Value.prototype.isSplice = function() {
|
897
|
-
var lastProp, ref3;
|
898
|
-
ref3 = this.properties, lastProp = ref3[ref3.length - 1];
|
899
|
-
return lastProp instanceof Slice;
|
900
|
-
};
|
901
|
-
|
902
|
-
Value.prototype.looksStatic = function(className) {
|
903
|
-
var ref3;
|
904
|
-
return this.base.value === className && this.properties.length === 1 && ((ref3 = this.properties[0].name) != null ? ref3.value : void 0) !== 'prototype';
|
905
|
-
};
|
906
|
-
|
907
|
-
Value.prototype.unwrap = function() {
|
908
|
-
if (this.properties.length) {
|
909
|
-
return this;
|
910
|
-
} else {
|
911
|
-
return this.base;
|
912
|
-
}
|
913
|
-
};
|
914
|
-
|
915
|
-
Value.prototype.cacheReference = function(o) {
|
916
|
-
var base, bref, name, nref, ref3;
|
917
|
-
ref3 = this.properties, name = ref3[ref3.length - 1];
|
918
|
-
if (this.properties.length < 2 && !this.base.isComplex() && !(name != null ? name.isComplex() : void 0)) {
|
919
|
-
return [this, this];
|
920
|
-
}
|
921
|
-
base = new Value(this.base, this.properties.slice(0, -1));
|
922
|
-
if (base.isComplex()) {
|
923
|
-
bref = new IdentifierLiteral(o.scope.freeVariable('base'));
|
924
|
-
base = new Value(new Parens(new Assign(bref, base)));
|
925
|
-
}
|
926
|
-
if (!name) {
|
927
|
-
return [base, bref];
|
928
|
-
}
|
929
|
-
if (name.isComplex()) {
|
930
|
-
nref = new IdentifierLiteral(o.scope.freeVariable('name'));
|
931
|
-
name = new Index(new Assign(nref, name.index));
|
932
|
-
nref = new Index(nref);
|
933
|
-
}
|
934
|
-
return [base.add(name), new Value(bref || base.base, [nref || name])];
|
935
|
-
};
|
936
|
-
|
937
|
-
Value.prototype.compileNode = function(o) {
|
938
|
-
var fragments, j, len1, prop, props;
|
939
|
-
this.base.front = this.front;
|
940
|
-
props = this.properties;
|
941
|
-
fragments = this.base.compileToFragments(o, (props.length ? LEVEL_ACCESS : null));
|
942
|
-
if (props.length && SIMPLENUM.test(fragmentsToText(fragments))) {
|
943
|
-
fragments.push(this.makeCode('.'));
|
944
|
-
}
|
945
|
-
for (j = 0, len1 = props.length; j < len1; j++) {
|
946
|
-
prop = props[j];
|
947
|
-
fragments.push.apply(fragments, prop.compileToFragments(o));
|
948
|
-
}
|
949
|
-
return fragments;
|
950
|
-
};
|
951
|
-
|
952
|
-
Value.prototype.unfoldSoak = function(o) {
|
953
|
-
return this.unfoldedSoak != null ? this.unfoldedSoak : this.unfoldedSoak = (function(_this) {
|
954
|
-
return function() {
|
955
|
-
var fst, i, ifn, j, len1, prop, ref, ref3, ref4, snd;
|
956
|
-
if (ifn = _this.base.unfoldSoak(o)) {
|
957
|
-
(ref3 = ifn.body.properties).push.apply(ref3, _this.properties);
|
958
|
-
return ifn;
|
959
|
-
}
|
960
|
-
ref4 = _this.properties;
|
961
|
-
for (i = j = 0, len1 = ref4.length; j < len1; i = ++j) {
|
962
|
-
prop = ref4[i];
|
963
|
-
if (!prop.soak) {
|
964
|
-
continue;
|
965
|
-
}
|
966
|
-
prop.soak = false;
|
967
|
-
fst = new Value(_this.base, _this.properties.slice(0, i));
|
968
|
-
snd = new Value(_this.base, _this.properties.slice(i));
|
969
|
-
if (fst.isComplex()) {
|
970
|
-
ref = new IdentifierLiteral(o.scope.freeVariable('ref'));
|
971
|
-
fst = new Parens(new Assign(ref, fst));
|
972
|
-
snd.base = ref;
|
973
|
-
}
|
974
|
-
return new If(new Existence(fst), snd, {
|
975
|
-
soak: true
|
976
|
-
});
|
977
|
-
}
|
978
|
-
return false;
|
979
|
-
};
|
980
|
-
})(this)();
|
981
|
-
};
|
982
|
-
|
983
|
-
return Value;
|
984
|
-
|
985
|
-
})(Base);
|
986
|
-
|
987
|
-
exports.Comment = Comment = (function(superClass1) {
|
988
|
-
extend1(Comment, superClass1);
|
989
|
-
|
990
|
-
function Comment(comment1) {
|
991
|
-
this.comment = comment1;
|
992
|
-
}
|
993
|
-
|
994
|
-
Comment.prototype.isStatement = YES;
|
995
|
-
|
996
|
-
Comment.prototype.makeReturn = THIS;
|
997
|
-
|
998
|
-
Comment.prototype.compileNode = function(o, level) {
|
999
|
-
var code, comment;
|
1000
|
-
comment = this.comment.replace(/^(\s*)#(?=\s)/gm, "$1 *");
|
1001
|
-
code = "/*" + (multident(comment, this.tab)) + (indexOf.call(comment, '\n') >= 0 ? "\n" + this.tab : '') + " */";
|
1002
|
-
if ((level || o.level) === LEVEL_TOP) {
|
1003
|
-
code = o.indent + code;
|
1004
|
-
}
|
1005
|
-
return [this.makeCode("\n"), this.makeCode(code)];
|
1006
|
-
};
|
1007
|
-
|
1008
|
-
return Comment;
|
1009
|
-
|
1010
|
-
})(Base);
|
1011
|
-
|
1012
|
-
exports.Call = Call = (function(superClass1) {
|
1013
|
-
extend1(Call, superClass1);
|
1014
|
-
|
1015
|
-
function Call(variable1, args1, soak1) {
|
1016
|
-
this.variable = variable1;
|
1017
|
-
this.args = args1 != null ? args1 : [];
|
1018
|
-
this.soak = soak1;
|
1019
|
-
this.isNew = false;
|
1020
|
-
if (this.variable instanceof Value && this.variable.isNotCallable()) {
|
1021
|
-
this.variable.error("literal is not a function");
|
1022
|
-
}
|
1023
|
-
}
|
1024
|
-
|
1025
|
-
Call.prototype.children = ['variable', 'args'];
|
1026
|
-
|
1027
|
-
Call.prototype.updateLocationDataIfMissing = function(locationData) {
|
1028
|
-
var base, ref3;
|
1029
|
-
if (this.locationData && this.needsUpdatedStartLocation) {
|
1030
|
-
this.locationData.first_line = locationData.first_line;
|
1031
|
-
this.locationData.first_column = locationData.first_column;
|
1032
|
-
base = ((ref3 = this.variable) != null ? ref3.base : void 0) || this.variable;
|
1033
|
-
if (base.needsUpdatedStartLocation) {
|
1034
|
-
this.variable.locationData.first_line = locationData.first_line;
|
1035
|
-
this.variable.locationData.first_column = locationData.first_column;
|
1036
|
-
base.updateLocationDataIfMissing(locationData);
|
1037
|
-
}
|
1038
|
-
delete this.needsUpdatedStartLocation;
|
1039
|
-
}
|
1040
|
-
return Call.__super__.updateLocationDataIfMissing.apply(this, arguments);
|
1041
|
-
};
|
1042
|
-
|
1043
|
-
Call.prototype.newInstance = function() {
|
1044
|
-
var base, ref3;
|
1045
|
-
base = ((ref3 = this.variable) != null ? ref3.base : void 0) || this.variable;
|
1046
|
-
if (base instanceof Call && !base.isNew) {
|
1047
|
-
base.newInstance();
|
1048
|
-
} else {
|
1049
|
-
this.isNew = true;
|
1050
|
-
}
|
1051
|
-
this.needsUpdatedStartLocation = true;
|
1052
|
-
return this;
|
1053
|
-
};
|
1054
|
-
|
1055
|
-
Call.prototype.unfoldSoak = function(o) {
|
1056
|
-
var call, ifn, j, left, len1, list, ref3, ref4, rite;
|
1057
|
-
if (this.soak) {
|
1058
|
-
if (this instanceof SuperCall) {
|
1059
|
-
left = new Literal(this.superReference(o));
|
1060
|
-
rite = new Value(left);
|
1061
|
-
} else {
|
1062
|
-
if (ifn = unfoldSoak(o, this, 'variable')) {
|
1063
|
-
return ifn;
|
1064
|
-
}
|
1065
|
-
ref3 = new Value(this.variable).cacheReference(o), left = ref3[0], rite = ref3[1];
|
1066
|
-
}
|
1067
|
-
rite = new Call(rite, this.args);
|
1068
|
-
rite.isNew = this.isNew;
|
1069
|
-
left = new Literal("typeof " + (left.compile(o)) + " === \"function\"");
|
1070
|
-
return new If(left, new Value(rite), {
|
1071
|
-
soak: true
|
1072
|
-
});
|
1073
|
-
}
|
1074
|
-
call = this;
|
1075
|
-
list = [];
|
1076
|
-
while (true) {
|
1077
|
-
if (call.variable instanceof Call) {
|
1078
|
-
list.push(call);
|
1079
|
-
call = call.variable;
|
1080
|
-
continue;
|
1081
|
-
}
|
1082
|
-
if (!(call.variable instanceof Value)) {
|
1083
|
-
break;
|
1084
|
-
}
|
1085
|
-
list.push(call);
|
1086
|
-
if (!((call = call.variable.base) instanceof Call)) {
|
1087
|
-
break;
|
1088
|
-
}
|
1089
|
-
}
|
1090
|
-
ref4 = list.reverse();
|
1091
|
-
for (j = 0, len1 = ref4.length; j < len1; j++) {
|
1092
|
-
call = ref4[j];
|
1093
|
-
if (ifn) {
|
1094
|
-
if (call.variable instanceof Call) {
|
1095
|
-
call.variable = ifn;
|
1096
|
-
} else {
|
1097
|
-
call.variable.base = ifn;
|
1098
|
-
}
|
1099
|
-
}
|
1100
|
-
ifn = unfoldSoak(o, call, 'variable');
|
1101
|
-
}
|
1102
|
-
return ifn;
|
1103
|
-
};
|
1104
|
-
|
1105
|
-
Call.prototype.compileNode = function(o) {
|
1106
|
-
var arg, argIndex, compiledArgs, compiledArray, fragments, j, len1, preface, ref3, ref4;
|
1107
|
-
if ((ref3 = this.variable) != null) {
|
1108
|
-
ref3.front = this.front;
|
1109
|
-
}
|
1110
|
-
compiledArray = Splat.compileSplattedArray(o, this.args, true);
|
1111
|
-
if (compiledArray.length) {
|
1112
|
-
return this.compileSplat(o, compiledArray);
|
1113
|
-
}
|
1114
|
-
compiledArgs = [];
|
1115
|
-
ref4 = this.args;
|
1116
|
-
for (argIndex = j = 0, len1 = ref4.length; j < len1; argIndex = ++j) {
|
1117
|
-
arg = ref4[argIndex];
|
1118
|
-
if (argIndex) {
|
1119
|
-
compiledArgs.push(this.makeCode(", "));
|
1120
|
-
}
|
1121
|
-
compiledArgs.push.apply(compiledArgs, arg.compileToFragments(o, LEVEL_LIST));
|
1122
|
-
}
|
1123
|
-
fragments = [];
|
1124
|
-
if (this instanceof SuperCall) {
|
1125
|
-
preface = this.superReference(o) + (".call(" + (this.superThis(o)));
|
1126
|
-
if (compiledArgs.length) {
|
1127
|
-
preface += ", ";
|
1128
|
-
}
|
1129
|
-
fragments.push(this.makeCode(preface));
|
1130
|
-
} else {
|
1131
|
-
if (this.isNew) {
|
1132
|
-
fragments.push(this.makeCode('new '));
|
1133
|
-
}
|
1134
|
-
fragments.push.apply(fragments, this.variable.compileToFragments(o, LEVEL_ACCESS));
|
1135
|
-
fragments.push(this.makeCode("("));
|
1136
|
-
}
|
1137
|
-
fragments.push.apply(fragments, compiledArgs);
|
1138
|
-
fragments.push(this.makeCode(")"));
|
1139
|
-
return fragments;
|
1140
|
-
};
|
1141
|
-
|
1142
|
-
Call.prototype.compileSplat = function(o, splatArgs) {
|
1143
|
-
var answer, base, fun, idt, name, ref;
|
1144
|
-
if (this instanceof SuperCall) {
|
1145
|
-
return [].concat(this.makeCode((this.superReference(o)) + ".apply(" + (this.superThis(o)) + ", "), splatArgs, this.makeCode(")"));
|
1146
|
-
}
|
1147
|
-
if (this.isNew) {
|
1148
|
-
idt = this.tab + TAB;
|
1149
|
-
return [].concat(this.makeCode("(function(func, args, ctor) {\n" + idt + "ctor.prototype = func.prototype;\n" + idt + "var child = new ctor, result = func.apply(child, args);\n" + idt + "return Object(result) === result ? result : child;\n" + this.tab + "})("), this.variable.compileToFragments(o, LEVEL_LIST), this.makeCode(", "), splatArgs, this.makeCode(", function(){})"));
|
1150
|
-
}
|
1151
|
-
answer = [];
|
1152
|
-
base = new Value(this.variable);
|
1153
|
-
if ((name = base.properties.pop()) && base.isComplex()) {
|
1154
|
-
ref = o.scope.freeVariable('ref');
|
1155
|
-
answer = answer.concat(this.makeCode("(" + ref + " = "), base.compileToFragments(o, LEVEL_LIST), this.makeCode(")"), name.compileToFragments(o));
|
1156
|
-
} else {
|
1157
|
-
fun = base.compileToFragments(o, LEVEL_ACCESS);
|
1158
|
-
if (SIMPLENUM.test(fragmentsToText(fun))) {
|
1159
|
-
fun = this.wrapInBraces(fun);
|
1160
|
-
}
|
1161
|
-
if (name) {
|
1162
|
-
ref = fragmentsToText(fun);
|
1163
|
-
fun.push.apply(fun, name.compileToFragments(o));
|
1164
|
-
} else {
|
1165
|
-
ref = 'null';
|
1166
|
-
}
|
1167
|
-
answer = answer.concat(fun);
|
1168
|
-
}
|
1169
|
-
return answer = answer.concat(this.makeCode(".apply(" + ref + ", "), splatArgs, this.makeCode(")"));
|
1170
|
-
};
|
1171
|
-
|
1172
|
-
return Call;
|
1173
|
-
|
1174
|
-
})(Base);
|
1175
|
-
|
1176
|
-
exports.SuperCall = SuperCall = (function(superClass1) {
|
1177
|
-
extend1(SuperCall, superClass1);
|
1178
|
-
|
1179
|
-
function SuperCall(args) {
|
1180
|
-
SuperCall.__super__.constructor.call(this, null, args != null ? args : [new Splat(new IdentifierLiteral('arguments'))]);
|
1181
|
-
this.isBare = args != null;
|
1182
|
-
}
|
1183
|
-
|
1184
|
-
SuperCall.prototype.superReference = function(o) {
|
1185
|
-
var accesses, base, bref, klass, method, name, nref, variable;
|
1186
|
-
method = o.scope.namedMethod();
|
1187
|
-
if (method != null ? method.klass : void 0) {
|
1188
|
-
klass = method.klass, name = method.name, variable = method.variable;
|
1189
|
-
if (klass.isComplex()) {
|
1190
|
-
bref = new IdentifierLiteral(o.scope.parent.freeVariable('base'));
|
1191
|
-
base = new Value(new Parens(new Assign(bref, klass)));
|
1192
|
-
variable.base = base;
|
1193
|
-
variable.properties.splice(0, klass.properties.length);
|
1194
|
-
}
|
1195
|
-
if (name.isComplex() || (name instanceof Index && name.index.isAssignable())) {
|
1196
|
-
nref = new IdentifierLiteral(o.scope.parent.freeVariable('name'));
|
1197
|
-
name = new Index(new Assign(nref, name.index));
|
1198
|
-
variable.properties.pop();
|
1199
|
-
variable.properties.push(name);
|
1200
|
-
}
|
1201
|
-
accesses = [new Access(new PropertyName('__super__'))];
|
1202
|
-
if (method["static"]) {
|
1203
|
-
accesses.push(new Access(new PropertyName('constructor')));
|
1204
|
-
}
|
1205
|
-
accesses.push(nref != null ? new Index(nref) : name);
|
1206
|
-
return (new Value(bref != null ? bref : klass, accesses)).compile(o);
|
1207
|
-
} else if (method != null ? method.ctor : void 0) {
|
1208
|
-
return method.name + ".__super__.constructor";
|
1209
|
-
} else {
|
1210
|
-
return this.error('cannot call super outside of an instance method.');
|
1211
|
-
}
|
1212
|
-
};
|
1213
|
-
|
1214
|
-
SuperCall.prototype.superThis = function(o) {
|
1215
|
-
var method;
|
1216
|
-
method = o.scope.method;
|
1217
|
-
return (method && !method.klass && method.context) || "this";
|
1218
|
-
};
|
1219
|
-
|
1220
|
-
return SuperCall;
|
1221
|
-
|
1222
|
-
})(Call);
|
1223
|
-
|
1224
|
-
exports.RegexWithInterpolations = RegexWithInterpolations = (function(superClass1) {
|
1225
|
-
extend1(RegexWithInterpolations, superClass1);
|
1226
|
-
|
1227
|
-
function RegexWithInterpolations(args) {
|
1228
|
-
if (args == null) {
|
1229
|
-
args = [];
|
1230
|
-
}
|
1231
|
-
RegexWithInterpolations.__super__.constructor.call(this, new Value(new IdentifierLiteral('RegExp')), args, false);
|
1232
|
-
}
|
1233
|
-
|
1234
|
-
return RegexWithInterpolations;
|
1235
|
-
|
1236
|
-
})(Call);
|
1237
|
-
|
1238
|
-
exports.TaggedTemplateCall = TaggedTemplateCall = (function(superClass1) {
|
1239
|
-
extend1(TaggedTemplateCall, superClass1);
|
1240
|
-
|
1241
|
-
function TaggedTemplateCall(variable, arg, soak) {
|
1242
|
-
if (arg instanceof StringLiteral) {
|
1243
|
-
arg = new StringWithInterpolations(Block.wrap([new Value(arg)]));
|
1244
|
-
}
|
1245
|
-
TaggedTemplateCall.__super__.constructor.call(this, variable, [arg], soak);
|
1246
|
-
}
|
1247
|
-
|
1248
|
-
TaggedTemplateCall.prototype.compileNode = function(o) {
|
1249
|
-
o.inTaggedTemplateCall = true;
|
1250
|
-
return this.variable.compileToFragments(o, LEVEL_ACCESS).concat(this.args[0].compileToFragments(o, LEVEL_LIST));
|
1251
|
-
};
|
1252
|
-
|
1253
|
-
return TaggedTemplateCall;
|
1254
|
-
|
1255
|
-
})(Call);
|
1256
|
-
|
1257
|
-
exports.Extends = Extends = (function(superClass1) {
|
1258
|
-
extend1(Extends, superClass1);
|
1259
|
-
|
1260
|
-
function Extends(child1, parent1) {
|
1261
|
-
this.child = child1;
|
1262
|
-
this.parent = parent1;
|
1263
|
-
}
|
1264
|
-
|
1265
|
-
Extends.prototype.children = ['child', 'parent'];
|
1266
|
-
|
1267
|
-
Extends.prototype.compileToFragments = function(o) {
|
1268
|
-
return new Call(new Value(new Literal(utility('extend', o))), [this.child, this.parent]).compileToFragments(o);
|
1269
|
-
};
|
1270
|
-
|
1271
|
-
return Extends;
|
1272
|
-
|
1273
|
-
})(Base);
|
1274
|
-
|
1275
|
-
exports.Access = Access = (function(superClass1) {
|
1276
|
-
extend1(Access, superClass1);
|
1277
|
-
|
1278
|
-
function Access(name1, tag) {
|
1279
|
-
this.name = name1;
|
1280
|
-
this.soak = tag === 'soak';
|
1281
|
-
}
|
1282
|
-
|
1283
|
-
Access.prototype.children = ['name'];
|
1284
|
-
|
1285
|
-
Access.prototype.compileToFragments = function(o) {
|
1286
|
-
var name, node, ref3;
|
1287
|
-
name = this.name.compileToFragments(o);
|
1288
|
-
node = this.name.unwrap();
|
1289
|
-
if (node instanceof PropertyName) {
|
1290
|
-
if (ref3 = node.value, indexOf.call(JS_FORBIDDEN, ref3) >= 0) {
|
1291
|
-
return [this.makeCode('["')].concat(slice.call(name), [this.makeCode('"]')]);
|
1292
|
-
} else {
|
1293
|
-
return [this.makeCode('.')].concat(slice.call(name));
|
1294
|
-
}
|
1295
|
-
} else {
|
1296
|
-
return [this.makeCode('[')].concat(slice.call(name), [this.makeCode(']')]);
|
1297
|
-
}
|
1298
|
-
};
|
1299
|
-
|
1300
|
-
Access.prototype.isComplex = NO;
|
1301
|
-
|
1302
|
-
return Access;
|
1303
|
-
|
1304
|
-
})(Base);
|
1305
|
-
|
1306
|
-
exports.Index = Index = (function(superClass1) {
|
1307
|
-
extend1(Index, superClass1);
|
1308
|
-
|
1309
|
-
function Index(index1) {
|
1310
|
-
this.index = index1;
|
1311
|
-
}
|
1312
|
-
|
1313
|
-
Index.prototype.children = ['index'];
|
1314
|
-
|
1315
|
-
Index.prototype.compileToFragments = function(o) {
|
1316
|
-
return [].concat(this.makeCode("["), this.index.compileToFragments(o, LEVEL_PAREN), this.makeCode("]"));
|
1317
|
-
};
|
1318
|
-
|
1319
|
-
Index.prototype.isComplex = function() {
|
1320
|
-
return this.index.isComplex();
|
1321
|
-
};
|
1322
|
-
|
1323
|
-
return Index;
|
1324
|
-
|
1325
|
-
})(Base);
|
1326
|
-
|
1327
|
-
exports.Range = Range = (function(superClass1) {
|
1328
|
-
extend1(Range, superClass1);
|
1329
|
-
|
1330
|
-
Range.prototype.children = ['from', 'to'];
|
1331
|
-
|
1332
|
-
function Range(from1, to1, tag) {
|
1333
|
-
this.from = from1;
|
1334
|
-
this.to = to1;
|
1335
|
-
this.exclusive = tag === 'exclusive';
|
1336
|
-
this.equals = this.exclusive ? '' : '=';
|
1337
|
-
}
|
1338
|
-
|
1339
|
-
Range.prototype.compileVariables = function(o) {
|
1340
|
-
var isComplex, ref3, ref4, ref5, step;
|
1341
|
-
o = merge(o, {
|
1342
|
-
top: true
|
1343
|
-
});
|
1344
|
-
isComplex = del(o, 'isComplex');
|
1345
|
-
ref3 = this.cacheToCodeFragments(this.from.cache(o, LEVEL_LIST, isComplex)), this.fromC = ref3[0], this.fromVar = ref3[1];
|
1346
|
-
ref4 = this.cacheToCodeFragments(this.to.cache(o, LEVEL_LIST, isComplex)), this.toC = ref4[0], this.toVar = ref4[1];
|
1347
|
-
if (step = del(o, 'step')) {
|
1348
|
-
ref5 = this.cacheToCodeFragments(step.cache(o, LEVEL_LIST, isComplex)), this.step = ref5[0], this.stepVar = ref5[1];
|
1349
|
-
}
|
1350
|
-
this.fromNum = this.from.isNumber() ? Number(this.fromVar) : null;
|
1351
|
-
this.toNum = this.to.isNumber() ? Number(this.toVar) : null;
|
1352
|
-
return this.stepNum = (step != null ? step.isNumber() : void 0) ? Number(this.stepVar) : null;
|
1353
|
-
};
|
1354
|
-
|
1355
|
-
Range.prototype.compileNode = function(o) {
|
1356
|
-
var cond, condPart, from, gt, idx, idxName, known, lt, namedIndex, ref3, ref4, stepPart, to, varPart;
|
1357
|
-
if (!this.fromVar) {
|
1358
|
-
this.compileVariables(o);
|
1359
|
-
}
|
1360
|
-
if (!o.index) {
|
1361
|
-
return this.compileArray(o);
|
1362
|
-
}
|
1363
|
-
known = (this.fromNum != null) && (this.toNum != null);
|
1364
|
-
idx = del(o, 'index');
|
1365
|
-
idxName = del(o, 'name');
|
1366
|
-
namedIndex = idxName && idxName !== idx;
|
1367
|
-
varPart = idx + " = " + this.fromC;
|
1368
|
-
if (this.toC !== this.toVar) {
|
1369
|
-
varPart += ", " + this.toC;
|
1370
|
-
}
|
1371
|
-
if (this.step !== this.stepVar) {
|
1372
|
-
varPart += ", " + this.step;
|
1373
|
-
}
|
1374
|
-
ref3 = [idx + " <" + this.equals, idx + " >" + this.equals], lt = ref3[0], gt = ref3[1];
|
1375
|
-
condPart = this.stepNum != null ? this.stepNum > 0 ? lt + " " + this.toVar : gt + " " + this.toVar : known ? ((ref4 = [this.fromNum, this.toNum], from = ref4[0], to = ref4[1], ref4), from <= to ? lt + " " + to : gt + " " + to) : (cond = this.stepVar ? this.stepVar + " > 0" : this.fromVar + " <= " + this.toVar, cond + " ? " + lt + " " + this.toVar + " : " + gt + " " + this.toVar);
|
1376
|
-
stepPart = this.stepVar ? idx + " += " + this.stepVar : known ? namedIndex ? from <= to ? "++" + idx : "--" + idx : from <= to ? idx + "++" : idx + "--" : namedIndex ? cond + " ? ++" + idx + " : --" + idx : cond + " ? " + idx + "++ : " + idx + "--";
|
1377
|
-
if (namedIndex) {
|
1378
|
-
varPart = idxName + " = " + varPart;
|
1379
|
-
}
|
1380
|
-
if (namedIndex) {
|
1381
|
-
stepPart = idxName + " = " + stepPart;
|
1382
|
-
}
|
1383
|
-
return [this.makeCode(varPart + "; " + condPart + "; " + stepPart)];
|
1384
|
-
};
|
1385
|
-
|
1386
|
-
Range.prototype.compileArray = function(o) {
|
1387
|
-
var args, body, cond, hasArgs, i, idt, j, known, post, pre, range, ref3, ref4, result, results, vars;
|
1388
|
-
known = (this.fromNum != null) && (this.toNum != null);
|
1389
|
-
if (known && Math.abs(this.fromNum - this.toNum) <= 20) {
|
1390
|
-
range = (function() {
|
1391
|
-
results = [];
|
1392
|
-
for (var j = ref3 = this.fromNum, ref4 = this.toNum; ref3 <= ref4 ? j <= ref4 : j >= ref4; ref3 <= ref4 ? j++ : j--){ results.push(j); }
|
1393
|
-
return results;
|
1394
|
-
}).apply(this);
|
1395
|
-
if (this.exclusive) {
|
1396
|
-
range.pop();
|
1397
|
-
}
|
1398
|
-
return [this.makeCode("[" + (range.join(', ')) + "]")];
|
1399
|
-
}
|
1400
|
-
idt = this.tab + TAB;
|
1401
|
-
i = o.scope.freeVariable('i', {
|
1402
|
-
single: true
|
1403
|
-
});
|
1404
|
-
result = o.scope.freeVariable('results');
|
1405
|
-
pre = "\n" + idt + result + " = [];";
|
1406
|
-
if (known) {
|
1407
|
-
o.index = i;
|
1408
|
-
body = fragmentsToText(this.compileNode(o));
|
1409
|
-
} else {
|
1410
|
-
vars = (i + " = " + this.fromC) + (this.toC !== this.toVar ? ", " + this.toC : '');
|
1411
|
-
cond = this.fromVar + " <= " + this.toVar;
|
1412
|
-
body = "var " + vars + "; " + cond + " ? " + i + " <" + this.equals + " " + this.toVar + " : " + i + " >" + this.equals + " " + this.toVar + "; " + cond + " ? " + i + "++ : " + i + "--";
|
1413
|
-
}
|
1414
|
-
post = "{ " + result + ".push(" + i + "); }\n" + idt + "return " + result + ";\n" + o.indent;
|
1415
|
-
hasArgs = function(node) {
|
1416
|
-
return node != null ? node.contains(isLiteralArguments) : void 0;
|
1417
|
-
};
|
1418
|
-
if (hasArgs(this.from) || hasArgs(this.to)) {
|
1419
|
-
args = ', arguments';
|
1420
|
-
}
|
1421
|
-
return [this.makeCode("(function() {" + pre + "\n" + idt + "for (" + body + ")" + post + "}).apply(this" + (args != null ? args : '') + ")")];
|
1422
|
-
};
|
1423
|
-
|
1424
|
-
return Range;
|
1425
|
-
|
1426
|
-
})(Base);
|
1427
|
-
|
1428
|
-
exports.Slice = Slice = (function(superClass1) {
|
1429
|
-
extend1(Slice, superClass1);
|
1430
|
-
|
1431
|
-
Slice.prototype.children = ['range'];
|
1432
|
-
|
1433
|
-
function Slice(range1) {
|
1434
|
-
this.range = range1;
|
1435
|
-
Slice.__super__.constructor.call(this);
|
1436
|
-
}
|
1437
|
-
|
1438
|
-
Slice.prototype.compileNode = function(o) {
|
1439
|
-
var compiled, compiledText, from, fromCompiled, ref3, to, toStr;
|
1440
|
-
ref3 = this.range, to = ref3.to, from = ref3.from;
|
1441
|
-
fromCompiled = from && from.compileToFragments(o, LEVEL_PAREN) || [this.makeCode('0')];
|
1442
|
-
if (to) {
|
1443
|
-
compiled = to.compileToFragments(o, LEVEL_PAREN);
|
1444
|
-
compiledText = fragmentsToText(compiled);
|
1445
|
-
if (!(!this.range.exclusive && +compiledText === -1)) {
|
1446
|
-
toStr = ', ' + (this.range.exclusive ? compiledText : to.isNumber() ? "" + (+compiledText + 1) : (compiled = to.compileToFragments(o, LEVEL_ACCESS), "+" + (fragmentsToText(compiled)) + " + 1 || 9e9"));
|
1447
|
-
}
|
1448
|
-
}
|
1449
|
-
return [this.makeCode(".slice(" + (fragmentsToText(fromCompiled)) + (toStr || '') + ")")];
|
1450
|
-
};
|
1451
|
-
|
1452
|
-
return Slice;
|
1453
|
-
|
1454
|
-
})(Base);
|
1455
|
-
|
1456
|
-
exports.Obj = Obj = (function(superClass1) {
|
1457
|
-
extend1(Obj, superClass1);
|
1458
|
-
|
1459
|
-
function Obj(props, generated) {
|
1460
|
-
this.generated = generated != null ? generated : false;
|
1461
|
-
this.objects = this.properties = props || [];
|
1462
|
-
}
|
1463
|
-
|
1464
|
-
Obj.prototype.children = ['properties'];
|
1465
|
-
|
1466
|
-
Obj.prototype.compileNode = function(o) {
|
1467
|
-
var answer, dynamicIndex, hasDynamic, i, idt, indent, j, join, k, key, l, lastNoncom, len1, len2, len3, node, oref, prop, props, ref3, value;
|
1468
|
-
props = this.properties;
|
1469
|
-
if (this.generated) {
|
1470
|
-
for (j = 0, len1 = props.length; j < len1; j++) {
|
1471
|
-
node = props[j];
|
1472
|
-
if (node instanceof Value) {
|
1473
|
-
node.error('cannot have an implicit value in an implicit object');
|
1474
|
-
}
|
1475
|
-
}
|
1476
|
-
}
|
1477
|
-
for (dynamicIndex = k = 0, len2 = props.length; k < len2; dynamicIndex = ++k) {
|
1478
|
-
prop = props[dynamicIndex];
|
1479
|
-
if ((prop.variable || prop).base instanceof Parens) {
|
1480
|
-
break;
|
1481
|
-
}
|
1482
|
-
}
|
1483
|
-
hasDynamic = dynamicIndex < props.length;
|
1484
|
-
idt = o.indent += TAB;
|
1485
|
-
lastNoncom = this.lastNonComment(this.properties);
|
1486
|
-
answer = [];
|
1487
|
-
if (hasDynamic) {
|
1488
|
-
oref = o.scope.freeVariable('obj');
|
1489
|
-
answer.push(this.makeCode("(\n" + idt + oref + " = "));
|
1490
|
-
}
|
1491
|
-
answer.push(this.makeCode("{" + (props.length === 0 || dynamicIndex === 0 ? '}' : '\n')));
|
1492
|
-
for (i = l = 0, len3 = props.length; l < len3; i = ++l) {
|
1493
|
-
prop = props[i];
|
1494
|
-
if (i === dynamicIndex) {
|
1495
|
-
if (i !== 0) {
|
1496
|
-
answer.push(this.makeCode("\n" + idt + "}"));
|
1497
|
-
}
|
1498
|
-
answer.push(this.makeCode(',\n'));
|
1499
|
-
}
|
1500
|
-
join = i === props.length - 1 || i === dynamicIndex - 1 ? '' : prop === lastNoncom || prop instanceof Comment ? '\n' : ',\n';
|
1501
|
-
indent = prop instanceof Comment ? '' : idt;
|
1502
|
-
if (hasDynamic && i < dynamicIndex) {
|
1503
|
-
indent += TAB;
|
1504
|
-
}
|
1505
|
-
if (prop instanceof Assign) {
|
1506
|
-
if (prop.context !== 'object') {
|
1507
|
-
prop.operatorToken.error("unexpected " + prop.operatorToken.value);
|
1508
|
-
}
|
1509
|
-
if (prop.variable instanceof Value && prop.variable.hasProperties()) {
|
1510
|
-
prop.variable.error('invalid object key');
|
1511
|
-
}
|
1512
|
-
}
|
1513
|
-
if (prop instanceof Value && prop["this"]) {
|
1514
|
-
prop = new Assign(prop.properties[0].name, prop, 'object');
|
1515
|
-
}
|
1516
|
-
if (!(prop instanceof Comment)) {
|
1517
|
-
if (i < dynamicIndex) {
|
1518
|
-
if (!(prop instanceof Assign)) {
|
1519
|
-
prop = new Assign(prop, prop, 'object');
|
1520
|
-
}
|
1521
|
-
} else {
|
1522
|
-
if (prop instanceof Assign) {
|
1523
|
-
key = prop.variable;
|
1524
|
-
value = prop.value;
|
1525
|
-
} else {
|
1526
|
-
ref3 = prop.base.cache(o), key = ref3[0], value = ref3[1];
|
1527
|
-
if (key instanceof IdentifierLiteral) {
|
1528
|
-
key = new PropertyName(key.value);
|
1529
|
-
}
|
1530
|
-
}
|
1531
|
-
prop = new Assign(new Value(new IdentifierLiteral(oref), [new Access(key)]), value);
|
1532
|
-
}
|
1533
|
-
}
|
1534
|
-
if (indent) {
|
1535
|
-
answer.push(this.makeCode(indent));
|
1536
|
-
}
|
1537
|
-
answer.push.apply(answer, prop.compileToFragments(o, LEVEL_TOP));
|
1538
|
-
if (join) {
|
1539
|
-
answer.push(this.makeCode(join));
|
1540
|
-
}
|
1541
|
-
}
|
1542
|
-
if (hasDynamic) {
|
1543
|
-
answer.push(this.makeCode(",\n" + idt + oref + "\n" + this.tab + ")"));
|
1544
|
-
} else {
|
1545
|
-
if (props.length !== 0) {
|
1546
|
-
answer.push(this.makeCode("\n" + this.tab + "}"));
|
1547
|
-
}
|
1548
|
-
}
|
1549
|
-
if (this.front && !hasDynamic) {
|
1550
|
-
return this.wrapInBraces(answer);
|
1551
|
-
} else {
|
1552
|
-
return answer;
|
1553
|
-
}
|
1554
|
-
};
|
1555
|
-
|
1556
|
-
Obj.prototype.assigns = function(name) {
|
1557
|
-
var j, len1, prop, ref3;
|
1558
|
-
ref3 = this.properties;
|
1559
|
-
for (j = 0, len1 = ref3.length; j < len1; j++) {
|
1560
|
-
prop = ref3[j];
|
1561
|
-
if (prop.assigns(name)) {
|
1562
|
-
return true;
|
1563
|
-
}
|
1564
|
-
}
|
1565
|
-
return false;
|
1566
|
-
};
|
1567
|
-
|
1568
|
-
return Obj;
|
1569
|
-
|
1570
|
-
})(Base);
|
1571
|
-
|
1572
|
-
exports.Arr = Arr = (function(superClass1) {
|
1573
|
-
extend1(Arr, superClass1);
|
1574
|
-
|
1575
|
-
function Arr(objs) {
|
1576
|
-
this.objects = objs || [];
|
1577
|
-
}
|
1578
|
-
|
1579
|
-
Arr.prototype.children = ['objects'];
|
1580
|
-
|
1581
|
-
Arr.prototype.compileNode = function(o) {
|
1582
|
-
var answer, compiledObjs, fragments, index, j, len1, obj;
|
1583
|
-
if (!this.objects.length) {
|
1584
|
-
return [this.makeCode('[]')];
|
1585
|
-
}
|
1586
|
-
o.indent += TAB;
|
1587
|
-
answer = Splat.compileSplattedArray(o, this.objects);
|
1588
|
-
if (answer.length) {
|
1589
|
-
return answer;
|
1590
|
-
}
|
1591
|
-
answer = [];
|
1592
|
-
compiledObjs = (function() {
|
1593
|
-
var j, len1, ref3, results;
|
1594
|
-
ref3 = this.objects;
|
1595
|
-
results = [];
|
1596
|
-
for (j = 0, len1 = ref3.length; j < len1; j++) {
|
1597
|
-
obj = ref3[j];
|
1598
|
-
results.push(obj.compileToFragments(o, LEVEL_LIST));
|
1599
|
-
}
|
1600
|
-
return results;
|
1601
|
-
}).call(this);
|
1602
|
-
for (index = j = 0, len1 = compiledObjs.length; j < len1; index = ++j) {
|
1603
|
-
fragments = compiledObjs[index];
|
1604
|
-
if (index) {
|
1605
|
-
answer.push(this.makeCode(", "));
|
1606
|
-
}
|
1607
|
-
answer.push.apply(answer, fragments);
|
1608
|
-
}
|
1609
|
-
if (fragmentsToText(answer).indexOf('\n') >= 0) {
|
1610
|
-
answer.unshift(this.makeCode("[\n" + o.indent));
|
1611
|
-
answer.push(this.makeCode("\n" + this.tab + "]"));
|
1612
|
-
} else {
|
1613
|
-
answer.unshift(this.makeCode("["));
|
1614
|
-
answer.push(this.makeCode("]"));
|
1615
|
-
}
|
1616
|
-
return answer;
|
1617
|
-
};
|
1618
|
-
|
1619
|
-
Arr.prototype.assigns = function(name) {
|
1620
|
-
var j, len1, obj, ref3;
|
1621
|
-
ref3 = this.objects;
|
1622
|
-
for (j = 0, len1 = ref3.length; j < len1; j++) {
|
1623
|
-
obj = ref3[j];
|
1624
|
-
if (obj.assigns(name)) {
|
1625
|
-
return true;
|
1626
|
-
}
|
1627
|
-
}
|
1628
|
-
return false;
|
1629
|
-
};
|
1630
|
-
|
1631
|
-
return Arr;
|
1632
|
-
|
1633
|
-
})(Base);
|
1634
|
-
|
1635
|
-
exports.Class = Class = (function(superClass1) {
|
1636
|
-
extend1(Class, superClass1);
|
1637
|
-
|
1638
|
-
function Class(variable1, parent1, body1) {
|
1639
|
-
this.variable = variable1;
|
1640
|
-
this.parent = parent1;
|
1641
|
-
this.body = body1 != null ? body1 : new Block;
|
1642
|
-
this.boundFuncs = [];
|
1643
|
-
this.body.classBody = true;
|
1644
|
-
}
|
1645
|
-
|
1646
|
-
Class.prototype.children = ['variable', 'parent', 'body'];
|
1647
|
-
|
1648
|
-
Class.prototype.defaultClassVariableName = '_Class';
|
1649
|
-
|
1650
|
-
Class.prototype.determineName = function() {
|
1651
|
-
var message, name, node, ref3, tail;
|
1652
|
-
if (!this.variable) {
|
1653
|
-
return this.defaultClassVariableName;
|
1654
|
-
}
|
1655
|
-
ref3 = this.variable.properties, tail = ref3[ref3.length - 1];
|
1656
|
-
node = tail ? tail instanceof Access && tail.name : this.variable.base;
|
1657
|
-
if (!(node instanceof IdentifierLiteral || node instanceof PropertyName)) {
|
1658
|
-
return this.defaultClassVariableName;
|
1659
|
-
}
|
1660
|
-
name = node.value;
|
1661
|
-
if (!tail) {
|
1662
|
-
message = isUnassignable(name);
|
1663
|
-
if (message) {
|
1664
|
-
this.variable.error(message);
|
1665
|
-
}
|
1666
|
-
}
|
1667
|
-
if (indexOf.call(JS_FORBIDDEN, name) >= 0) {
|
1668
|
-
return "_" + name;
|
1669
|
-
} else {
|
1670
|
-
return name;
|
1671
|
-
}
|
1672
|
-
};
|
1673
|
-
|
1674
|
-
Class.prototype.setContext = function(name) {
|
1675
|
-
return this.body.traverseChildren(false, function(node) {
|
1676
|
-
if (node.classBody) {
|
1677
|
-
return false;
|
1678
|
-
}
|
1679
|
-
if (node instanceof ThisLiteral) {
|
1680
|
-
return node.value = name;
|
1681
|
-
} else if (node instanceof Code) {
|
1682
|
-
if (node.bound) {
|
1683
|
-
return node.context = name;
|
1684
|
-
}
|
1685
|
-
}
|
1686
|
-
});
|
1687
|
-
};
|
1688
|
-
|
1689
|
-
Class.prototype.addBoundFunctions = function(o) {
|
1690
|
-
var bvar, j, len1, lhs, ref3;
|
1691
|
-
ref3 = this.boundFuncs;
|
1692
|
-
for (j = 0, len1 = ref3.length; j < len1; j++) {
|
1693
|
-
bvar = ref3[j];
|
1694
|
-
lhs = (new Value(new ThisLiteral, [new Access(bvar)])).compile(o);
|
1695
|
-
this.ctor.body.unshift(new Literal(lhs + " = " + (utility('bind', o)) + "(" + lhs + ", this)"));
|
1696
|
-
}
|
1697
|
-
};
|
1698
|
-
|
1699
|
-
Class.prototype.addProperties = function(node, name, o) {
|
1700
|
-
var acc, assign, base, exprs, func, props;
|
1701
|
-
props = node.base.properties.slice(0);
|
1702
|
-
exprs = (function() {
|
1703
|
-
var results;
|
1704
|
-
results = [];
|
1705
|
-
while (assign = props.shift()) {
|
1706
|
-
if (assign instanceof Assign) {
|
1707
|
-
base = assign.variable.base;
|
1708
|
-
delete assign.context;
|
1709
|
-
func = assign.value;
|
1710
|
-
if (base.value === 'constructor') {
|
1711
|
-
if (this.ctor) {
|
1712
|
-
assign.error('cannot define more than one constructor in a class');
|
1713
|
-
}
|
1714
|
-
if (func.bound) {
|
1715
|
-
assign.error('cannot define a constructor as a bound function');
|
1716
|
-
}
|
1717
|
-
if (func instanceof Code) {
|
1718
|
-
assign = this.ctor = func;
|
1719
|
-
} else {
|
1720
|
-
this.externalCtor = o.classScope.freeVariable('ctor');
|
1721
|
-
assign = new Assign(new IdentifierLiteral(this.externalCtor), func);
|
1722
|
-
}
|
1723
|
-
} else {
|
1724
|
-
if (assign.variable["this"]) {
|
1725
|
-
func["static"] = true;
|
1726
|
-
} else {
|
1727
|
-
acc = base.isComplex() ? new Index(base) : new Access(base);
|
1728
|
-
assign.variable = new Value(new IdentifierLiteral(name), [new Access(new PropertyName('prototype')), acc]);
|
1729
|
-
if (func instanceof Code && func.bound) {
|
1730
|
-
this.boundFuncs.push(base);
|
1731
|
-
func.bound = false;
|
1732
|
-
}
|
1733
|
-
}
|
1734
|
-
}
|
1735
|
-
}
|
1736
|
-
results.push(assign);
|
1737
|
-
}
|
1738
|
-
return results;
|
1739
|
-
}).call(this);
|
1740
|
-
return compact(exprs);
|
1741
|
-
};
|
1742
|
-
|
1743
|
-
Class.prototype.walkBody = function(name, o) {
|
1744
|
-
return this.traverseChildren(false, (function(_this) {
|
1745
|
-
return function(child) {
|
1746
|
-
var cont, exps, i, j, len1, node, ref3;
|
1747
|
-
cont = true;
|
1748
|
-
if (child instanceof Class) {
|
1749
|
-
return false;
|
1750
|
-
}
|
1751
|
-
if (child instanceof Block) {
|
1752
|
-
ref3 = exps = child.expressions;
|
1753
|
-
for (i = j = 0, len1 = ref3.length; j < len1; i = ++j) {
|
1754
|
-
node = ref3[i];
|
1755
|
-
if (node instanceof Assign && node.variable.looksStatic(name)) {
|
1756
|
-
node.value["static"] = true;
|
1757
|
-
} else if (node instanceof Value && node.isObject(true)) {
|
1758
|
-
cont = false;
|
1759
|
-
exps[i] = _this.addProperties(node, name, o);
|
1760
|
-
}
|
1761
|
-
}
|
1762
|
-
child.expressions = exps = flatten(exps);
|
1763
|
-
}
|
1764
|
-
return cont && !(child instanceof Class);
|
1765
|
-
};
|
1766
|
-
})(this));
|
1767
|
-
};
|
1768
|
-
|
1769
|
-
Class.prototype.hoistDirectivePrologue = function() {
|
1770
|
-
var expressions, index, node;
|
1771
|
-
index = 0;
|
1772
|
-
expressions = this.body.expressions;
|
1773
|
-
while ((node = expressions[index]) && node instanceof Comment || node instanceof Value && node.isString()) {
|
1774
|
-
++index;
|
1775
|
-
}
|
1776
|
-
return this.directives = expressions.splice(0, index);
|
1777
|
-
};
|
1778
|
-
|
1779
|
-
Class.prototype.ensureConstructor = function(name) {
|
1780
|
-
if (!this.ctor) {
|
1781
|
-
this.ctor = new Code;
|
1782
|
-
if (this.externalCtor) {
|
1783
|
-
this.ctor.body.push(new Literal(this.externalCtor + ".apply(this, arguments)"));
|
1784
|
-
} else if (this.parent) {
|
1785
|
-
this.ctor.body.push(new Literal(name + ".__super__.constructor.apply(this, arguments)"));
|
1786
|
-
}
|
1787
|
-
this.ctor.body.makeReturn();
|
1788
|
-
this.body.expressions.unshift(this.ctor);
|
1789
|
-
}
|
1790
|
-
this.ctor.ctor = this.ctor.name = name;
|
1791
|
-
this.ctor.klass = null;
|
1792
|
-
return this.ctor.noReturn = true;
|
1793
|
-
};
|
1794
|
-
|
1795
|
-
Class.prototype.compileNode = function(o) {
|
1796
|
-
var args, argumentsNode, func, jumpNode, klass, lname, name, ref3, superClass;
|
1797
|
-
if (jumpNode = this.body.jumps()) {
|
1798
|
-
jumpNode.error('Class bodies cannot contain pure statements');
|
1799
|
-
}
|
1800
|
-
if (argumentsNode = this.body.contains(isLiteralArguments)) {
|
1801
|
-
argumentsNode.error("Class bodies shouldn't reference arguments");
|
1802
|
-
}
|
1803
|
-
name = this.determineName();
|
1804
|
-
lname = new IdentifierLiteral(name);
|
1805
|
-
func = new Code([], Block.wrap([this.body]));
|
1806
|
-
args = [];
|
1807
|
-
o.classScope = func.makeScope(o.scope);
|
1808
|
-
this.hoistDirectivePrologue();
|
1809
|
-
this.setContext(name);
|
1810
|
-
this.walkBody(name, o);
|
1811
|
-
this.ensureConstructor(name);
|
1812
|
-
this.addBoundFunctions(o);
|
1813
|
-
this.body.spaced = true;
|
1814
|
-
this.body.expressions.push(lname);
|
1815
|
-
if (this.parent) {
|
1816
|
-
superClass = new IdentifierLiteral(o.classScope.freeVariable('superClass', {
|
1817
|
-
reserve: false
|
1818
|
-
}));
|
1819
|
-
this.body.expressions.unshift(new Extends(lname, superClass));
|
1820
|
-
func.params.push(new Param(superClass));
|
1821
|
-
args.push(this.parent);
|
1822
|
-
}
|
1823
|
-
(ref3 = this.body.expressions).unshift.apply(ref3, this.directives);
|
1824
|
-
klass = new Parens(new Call(func, args));
|
1825
|
-
if (this.variable) {
|
1826
|
-
klass = new Assign(this.variable, klass, null, {
|
1827
|
-
moduleDeclaration: this.moduleDeclaration
|
1828
|
-
});
|
1829
|
-
}
|
1830
|
-
return klass.compileToFragments(o);
|
1831
|
-
};
|
1832
|
-
|
1833
|
-
return Class;
|
1834
|
-
|
1835
|
-
})(Base);
|
1836
|
-
|
1837
|
-
exports.ModuleDeclaration = ModuleDeclaration = (function(superClass1) {
|
1838
|
-
extend1(ModuleDeclaration, superClass1);
|
1839
|
-
|
1840
|
-
function ModuleDeclaration(clause, source1) {
|
1841
|
-
this.clause = clause;
|
1842
|
-
this.source = source1;
|
1843
|
-
this.checkSource();
|
1844
|
-
}
|
1845
|
-
|
1846
|
-
ModuleDeclaration.prototype.children = ['clause', 'source'];
|
1847
|
-
|
1848
|
-
ModuleDeclaration.prototype.isStatement = YES;
|
1849
|
-
|
1850
|
-
ModuleDeclaration.prototype.jumps = THIS;
|
1851
|
-
|
1852
|
-
ModuleDeclaration.prototype.makeReturn = THIS;
|
1853
|
-
|
1854
|
-
ModuleDeclaration.prototype.checkSource = function() {
|
1855
|
-
if ((this.source != null) && this.source instanceof StringWithInterpolations) {
|
1856
|
-
return this.source.error('the name of the module to be imported from must be an uninterpolated string');
|
1857
|
-
}
|
1858
|
-
};
|
1859
|
-
|
1860
|
-
ModuleDeclaration.prototype.checkScope = function(o, moduleDeclarationType) {
|
1861
|
-
if (o.indent.length !== 0) {
|
1862
|
-
return this.error(moduleDeclarationType + " statements must be at top-level scope");
|
1863
|
-
}
|
1864
|
-
};
|
1865
|
-
|
1866
|
-
return ModuleDeclaration;
|
1867
|
-
|
1868
|
-
})(Base);
|
1869
|
-
|
1870
|
-
exports.ImportDeclaration = ImportDeclaration = (function(superClass1) {
|
1871
|
-
extend1(ImportDeclaration, superClass1);
|
1872
|
-
|
1873
|
-
function ImportDeclaration() {
|
1874
|
-
return ImportDeclaration.__super__.constructor.apply(this, arguments);
|
1875
|
-
}
|
1876
|
-
|
1877
|
-
ImportDeclaration.prototype.compileNode = function(o) {
|
1878
|
-
var code, ref3;
|
1879
|
-
this.checkScope(o, 'import');
|
1880
|
-
o.importedSymbols = [];
|
1881
|
-
code = [];
|
1882
|
-
code.push(this.makeCode(this.tab + "import "));
|
1883
|
-
if (this.clause != null) {
|
1884
|
-
code.push.apply(code, this.clause.compileNode(o));
|
1885
|
-
}
|
1886
|
-
if (((ref3 = this.source) != null ? ref3.value : void 0) != null) {
|
1887
|
-
if (this.clause !== null) {
|
1888
|
-
code.push(this.makeCode(' from '));
|
1889
|
-
}
|
1890
|
-
code.push(this.makeCode(this.source.value));
|
1891
|
-
}
|
1892
|
-
code.push(this.makeCode(';'));
|
1893
|
-
return code;
|
1894
|
-
};
|
1895
|
-
|
1896
|
-
return ImportDeclaration;
|
1897
|
-
|
1898
|
-
})(ModuleDeclaration);
|
1899
|
-
|
1900
|
-
exports.ImportClause = ImportClause = (function(superClass1) {
|
1901
|
-
extend1(ImportClause, superClass1);
|
1902
|
-
|
1903
|
-
function ImportClause(defaultBinding, namedImports) {
|
1904
|
-
this.defaultBinding = defaultBinding;
|
1905
|
-
this.namedImports = namedImports;
|
1906
|
-
}
|
1907
|
-
|
1908
|
-
ImportClause.prototype.children = ['defaultBinding', 'namedImports'];
|
1909
|
-
|
1910
|
-
ImportClause.prototype.compileNode = function(o) {
|
1911
|
-
var code;
|
1912
|
-
code = [];
|
1913
|
-
if (this.defaultBinding != null) {
|
1914
|
-
code.push.apply(code, this.defaultBinding.compileNode(o));
|
1915
|
-
if (this.namedImports != null) {
|
1916
|
-
code.push(this.makeCode(', '));
|
1917
|
-
}
|
1918
|
-
}
|
1919
|
-
if (this.namedImports != null) {
|
1920
|
-
code.push.apply(code, this.namedImports.compileNode(o));
|
1921
|
-
}
|
1922
|
-
return code;
|
1923
|
-
};
|
1924
|
-
|
1925
|
-
return ImportClause;
|
1926
|
-
|
1927
|
-
})(Base);
|
1928
|
-
|
1929
|
-
exports.ExportDeclaration = ExportDeclaration = (function(superClass1) {
|
1930
|
-
extend1(ExportDeclaration, superClass1);
|
1931
|
-
|
1932
|
-
function ExportDeclaration() {
|
1933
|
-
return ExportDeclaration.__super__.constructor.apply(this, arguments);
|
1934
|
-
}
|
1935
|
-
|
1936
|
-
ExportDeclaration.prototype.compileNode = function(o) {
|
1937
|
-
var code, ref3;
|
1938
|
-
this.checkScope(o, 'export');
|
1939
|
-
code = [];
|
1940
|
-
code.push(this.makeCode(this.tab + "export "));
|
1941
|
-
if (this instanceof ExportDefaultDeclaration) {
|
1942
|
-
code.push(this.makeCode('default '));
|
1943
|
-
}
|
1944
|
-
if (!(this instanceof ExportDefaultDeclaration) && (this.clause instanceof Assign || this.clause instanceof Class)) {
|
1945
|
-
if (this.clause instanceof Class && !this.clause.variable) {
|
1946
|
-
this.clause.error('anonymous classes cannot be exported');
|
1947
|
-
}
|
1948
|
-
code.push(this.makeCode('var '));
|
1949
|
-
this.clause.moduleDeclaration = 'export';
|
1950
|
-
}
|
1951
|
-
if ((this.clause.body != null) && this.clause.body instanceof Block) {
|
1952
|
-
code = code.concat(this.clause.compileToFragments(o, LEVEL_TOP));
|
1953
|
-
} else {
|
1954
|
-
code = code.concat(this.clause.compileNode(o));
|
1955
|
-
}
|
1956
|
-
if (((ref3 = this.source) != null ? ref3.value : void 0) != null) {
|
1957
|
-
code.push(this.makeCode(" from " + this.source.value));
|
1958
|
-
}
|
1959
|
-
code.push(this.makeCode(';'));
|
1960
|
-
return code;
|
1961
|
-
};
|
1962
|
-
|
1963
|
-
return ExportDeclaration;
|
1964
|
-
|
1965
|
-
})(ModuleDeclaration);
|
1966
|
-
|
1967
|
-
exports.ExportNamedDeclaration = ExportNamedDeclaration = (function(superClass1) {
|
1968
|
-
extend1(ExportNamedDeclaration, superClass1);
|
1969
|
-
|
1970
|
-
function ExportNamedDeclaration() {
|
1971
|
-
return ExportNamedDeclaration.__super__.constructor.apply(this, arguments);
|
1972
|
-
}
|
1973
|
-
|
1974
|
-
return ExportNamedDeclaration;
|
1975
|
-
|
1976
|
-
})(ExportDeclaration);
|
1977
|
-
|
1978
|
-
exports.ExportDefaultDeclaration = ExportDefaultDeclaration = (function(superClass1) {
|
1979
|
-
extend1(ExportDefaultDeclaration, superClass1);
|
1980
|
-
|
1981
|
-
function ExportDefaultDeclaration() {
|
1982
|
-
return ExportDefaultDeclaration.__super__.constructor.apply(this, arguments);
|
1983
|
-
}
|
1984
|
-
|
1985
|
-
return ExportDefaultDeclaration;
|
1986
|
-
|
1987
|
-
})(ExportDeclaration);
|
1988
|
-
|
1989
|
-
exports.ExportAllDeclaration = ExportAllDeclaration = (function(superClass1) {
|
1990
|
-
extend1(ExportAllDeclaration, superClass1);
|
1991
|
-
|
1992
|
-
function ExportAllDeclaration() {
|
1993
|
-
return ExportAllDeclaration.__super__.constructor.apply(this, arguments);
|
1994
|
-
}
|
1995
|
-
|
1996
|
-
return ExportAllDeclaration;
|
1997
|
-
|
1998
|
-
})(ExportDeclaration);
|
1999
|
-
|
2000
|
-
exports.ModuleSpecifierList = ModuleSpecifierList = (function(superClass1) {
|
2001
|
-
extend1(ModuleSpecifierList, superClass1);
|
2002
|
-
|
2003
|
-
function ModuleSpecifierList(specifiers) {
|
2004
|
-
this.specifiers = specifiers;
|
2005
|
-
}
|
2006
|
-
|
2007
|
-
ModuleSpecifierList.prototype.children = ['specifiers'];
|
2008
|
-
|
2009
|
-
ModuleSpecifierList.prototype.compileNode = function(o) {
|
2010
|
-
var code, compiledList, fragments, index, j, len1, specifier;
|
2011
|
-
code = [];
|
2012
|
-
o.indent += TAB;
|
2013
|
-
compiledList = (function() {
|
2014
|
-
var j, len1, ref3, results;
|
2015
|
-
ref3 = this.specifiers;
|
2016
|
-
results = [];
|
2017
|
-
for (j = 0, len1 = ref3.length; j < len1; j++) {
|
2018
|
-
specifier = ref3[j];
|
2019
|
-
results.push(specifier.compileToFragments(o, LEVEL_LIST));
|
2020
|
-
}
|
2021
|
-
return results;
|
2022
|
-
}).call(this);
|
2023
|
-
if (this.specifiers.length !== 0) {
|
2024
|
-
code.push(this.makeCode("{\n" + o.indent));
|
2025
|
-
for (index = j = 0, len1 = compiledList.length; j < len1; index = ++j) {
|
2026
|
-
fragments = compiledList[index];
|
2027
|
-
if (index) {
|
2028
|
-
code.push(this.makeCode(",\n" + o.indent));
|
2029
|
-
}
|
2030
|
-
code.push.apply(code, fragments);
|
2031
|
-
}
|
2032
|
-
code.push(this.makeCode("\n}"));
|
2033
|
-
} else {
|
2034
|
-
code.push(this.makeCode('{}'));
|
2035
|
-
}
|
2036
|
-
return code;
|
2037
|
-
};
|
2038
|
-
|
2039
|
-
return ModuleSpecifierList;
|
2040
|
-
|
2041
|
-
})(Base);
|
2042
|
-
|
2043
|
-
exports.ImportSpecifierList = ImportSpecifierList = (function(superClass1) {
|
2044
|
-
extend1(ImportSpecifierList, superClass1);
|
2045
|
-
|
2046
|
-
function ImportSpecifierList() {
|
2047
|
-
return ImportSpecifierList.__super__.constructor.apply(this, arguments);
|
2048
|
-
}
|
2049
|
-
|
2050
|
-
return ImportSpecifierList;
|
2051
|
-
|
2052
|
-
})(ModuleSpecifierList);
|
2053
|
-
|
2054
|
-
exports.ExportSpecifierList = ExportSpecifierList = (function(superClass1) {
|
2055
|
-
extend1(ExportSpecifierList, superClass1);
|
2056
|
-
|
2057
|
-
function ExportSpecifierList() {
|
2058
|
-
return ExportSpecifierList.__super__.constructor.apply(this, arguments);
|
2059
|
-
}
|
2060
|
-
|
2061
|
-
return ExportSpecifierList;
|
2062
|
-
|
2063
|
-
})(ModuleSpecifierList);
|
2064
|
-
|
2065
|
-
exports.ModuleSpecifier = ModuleSpecifier = (function(superClass1) {
|
2066
|
-
extend1(ModuleSpecifier, superClass1);
|
2067
|
-
|
2068
|
-
function ModuleSpecifier(original, alias, moduleDeclarationType1) {
|
2069
|
-
this.original = original;
|
2070
|
-
this.alias = alias;
|
2071
|
-
this.moduleDeclarationType = moduleDeclarationType1;
|
2072
|
-
this.identifier = this.alias != null ? this.alias.value : this.original.value;
|
2073
|
-
}
|
2074
|
-
|
2075
|
-
ModuleSpecifier.prototype.children = ['original', 'alias'];
|
2076
|
-
|
2077
|
-
ModuleSpecifier.prototype.compileNode = function(o) {
|
2078
|
-
var code;
|
2079
|
-
o.scope.find(this.identifier, this.moduleDeclarationType);
|
2080
|
-
code = [];
|
2081
|
-
code.push(this.makeCode(this.original.value));
|
2082
|
-
if (this.alias != null) {
|
2083
|
-
code.push(this.makeCode(" as " + this.alias.value));
|
2084
|
-
}
|
2085
|
-
return code;
|
2086
|
-
};
|
2087
|
-
|
2088
|
-
return ModuleSpecifier;
|
2089
|
-
|
2090
|
-
})(Base);
|
2091
|
-
|
2092
|
-
exports.ImportSpecifier = ImportSpecifier = (function(superClass1) {
|
2093
|
-
extend1(ImportSpecifier, superClass1);
|
2094
|
-
|
2095
|
-
function ImportSpecifier(imported, local) {
|
2096
|
-
ImportSpecifier.__super__.constructor.call(this, imported, local, 'import');
|
2097
|
-
}
|
2098
|
-
|
2099
|
-
ImportSpecifier.prototype.compileNode = function(o) {
|
2100
|
-
var ref3;
|
2101
|
-
if ((ref3 = this.identifier, indexOf.call(o.importedSymbols, ref3) >= 0) || o.scope.check(this.identifier)) {
|
2102
|
-
this.error("'" + this.identifier + "' has already been declared");
|
2103
|
-
} else {
|
2104
|
-
o.importedSymbols.push(this.identifier);
|
2105
|
-
}
|
2106
|
-
return ImportSpecifier.__super__.compileNode.call(this, o);
|
2107
|
-
};
|
2108
|
-
|
2109
|
-
return ImportSpecifier;
|
2110
|
-
|
2111
|
-
})(ModuleSpecifier);
|
2112
|
-
|
2113
|
-
exports.ImportDefaultSpecifier = ImportDefaultSpecifier = (function(superClass1) {
|
2114
|
-
extend1(ImportDefaultSpecifier, superClass1);
|
2115
|
-
|
2116
|
-
function ImportDefaultSpecifier() {
|
2117
|
-
return ImportDefaultSpecifier.__super__.constructor.apply(this, arguments);
|
2118
|
-
}
|
2119
|
-
|
2120
|
-
return ImportDefaultSpecifier;
|
2121
|
-
|
2122
|
-
})(ImportSpecifier);
|
2123
|
-
|
2124
|
-
exports.ImportNamespaceSpecifier = ImportNamespaceSpecifier = (function(superClass1) {
|
2125
|
-
extend1(ImportNamespaceSpecifier, superClass1);
|
2126
|
-
|
2127
|
-
function ImportNamespaceSpecifier() {
|
2128
|
-
return ImportNamespaceSpecifier.__super__.constructor.apply(this, arguments);
|
2129
|
-
}
|
2130
|
-
|
2131
|
-
return ImportNamespaceSpecifier;
|
2132
|
-
|
2133
|
-
})(ImportSpecifier);
|
2134
|
-
|
2135
|
-
exports.ExportSpecifier = ExportSpecifier = (function(superClass1) {
|
2136
|
-
extend1(ExportSpecifier, superClass1);
|
2137
|
-
|
2138
|
-
function ExportSpecifier(local, exported) {
|
2139
|
-
ExportSpecifier.__super__.constructor.call(this, local, exported, 'export');
|
2140
|
-
}
|
2141
|
-
|
2142
|
-
return ExportSpecifier;
|
2143
|
-
|
2144
|
-
})(ModuleSpecifier);
|
2145
|
-
|
2146
|
-
exports.Assign = Assign = (function(superClass1) {
|
2147
|
-
extend1(Assign, superClass1);
|
2148
|
-
|
2149
|
-
function Assign(variable1, value1, context, options) {
|
2150
|
-
this.variable = variable1;
|
2151
|
-
this.value = value1;
|
2152
|
-
this.context = context;
|
2153
|
-
if (options == null) {
|
2154
|
-
options = {};
|
2155
|
-
}
|
2156
|
-
this.param = options.param, this.subpattern = options.subpattern, this.operatorToken = options.operatorToken, this.moduleDeclaration = options.moduleDeclaration;
|
2157
|
-
}
|
2158
|
-
|
2159
|
-
Assign.prototype.children = ['variable', 'value'];
|
2160
|
-
|
2161
|
-
Assign.prototype.isStatement = function(o) {
|
2162
|
-
return (o != null ? o.level : void 0) === LEVEL_TOP && (this.context != null) && (this.moduleDeclaration || indexOf.call(this.context, "?") >= 0);
|
2163
|
-
};
|
2164
|
-
|
2165
|
-
Assign.prototype.checkAssignability = function(o, varBase) {
|
2166
|
-
if (Object.prototype.hasOwnProperty.call(o.scope.positions, varBase.value) && o.scope.variables[o.scope.positions[varBase.value]].type === 'import') {
|
2167
|
-
return varBase.error("'" + varBase.value + "' is read-only");
|
2168
|
-
}
|
2169
|
-
};
|
2170
|
-
|
2171
|
-
Assign.prototype.assigns = function(name) {
|
2172
|
-
return this[this.context === 'object' ? 'value' : 'variable'].assigns(name);
|
2173
|
-
};
|
2174
|
-
|
2175
|
-
Assign.prototype.unfoldSoak = function(o) {
|
2176
|
-
return unfoldSoak(o, this, 'variable');
|
2177
|
-
};
|
2178
|
-
|
2179
|
-
Assign.prototype.compileNode = function(o) {
|
2180
|
-
var answer, compiledName, isValue, j, name, properties, prototype, ref3, ref4, ref5, ref6, ref7, ref8, val, varBase;
|
2181
|
-
if (isValue = this.variable instanceof Value) {
|
2182
|
-
if (this.variable.isArray() || this.variable.isObject()) {
|
2183
|
-
return this.compilePatternMatch(o);
|
2184
|
-
}
|
2185
|
-
if (this.variable.isSplice()) {
|
2186
|
-
return this.compileSplice(o);
|
2187
|
-
}
|
2188
|
-
if ((ref3 = this.context) === '||=' || ref3 === '&&=' || ref3 === '?=') {
|
2189
|
-
return this.compileConditional(o);
|
2190
|
-
}
|
2191
|
-
if ((ref4 = this.context) === '**=' || ref4 === '//=' || ref4 === '%%=') {
|
2192
|
-
return this.compileSpecialMath(o);
|
2193
|
-
}
|
2194
|
-
}
|
2195
|
-
if (this.value instanceof Code) {
|
2196
|
-
if (this.value["static"]) {
|
2197
|
-
this.value.klass = this.variable.base;
|
2198
|
-
this.value.name = this.variable.properties[0];
|
2199
|
-
this.value.variable = this.variable;
|
2200
|
-
} else if (((ref5 = this.variable.properties) != null ? ref5.length : void 0) >= 2) {
|
2201
|
-
ref6 = this.variable.properties, properties = 3 <= ref6.length ? slice.call(ref6, 0, j = ref6.length - 2) : (j = 0, []), prototype = ref6[j++], name = ref6[j++];
|
2202
|
-
if (((ref7 = prototype.name) != null ? ref7.value : void 0) === 'prototype') {
|
2203
|
-
this.value.klass = new Value(this.variable.base, properties);
|
2204
|
-
this.value.name = name;
|
2205
|
-
this.value.variable = this.variable;
|
2206
|
-
}
|
2207
|
-
}
|
2208
|
-
}
|
2209
|
-
if (!this.context) {
|
2210
|
-
varBase = this.variable.unwrapAll();
|
2211
|
-
if (!varBase.isAssignable()) {
|
2212
|
-
this.variable.error("'" + (this.variable.compile(o)) + "' can't be assigned");
|
2213
|
-
}
|
2214
|
-
if (!(typeof varBase.hasProperties === "function" ? varBase.hasProperties() : void 0)) {
|
2215
|
-
if (this.moduleDeclaration) {
|
2216
|
-
this.checkAssignability(o, varBase);
|
2217
|
-
o.scope.add(varBase.value, this.moduleDeclaration);
|
2218
|
-
} else if (this.param) {
|
2219
|
-
o.scope.add(varBase.value, 'var');
|
2220
|
-
} else {
|
2221
|
-
this.checkAssignability(o, varBase);
|
2222
|
-
o.scope.find(varBase.value);
|
2223
|
-
}
|
2224
|
-
}
|
2225
|
-
}
|
2226
|
-
val = this.value.compileToFragments(o, LEVEL_LIST);
|
2227
|
-
if (isValue && this.variable.base instanceof Obj) {
|
2228
|
-
this.variable.front = true;
|
2229
|
-
}
|
2230
|
-
compiledName = this.variable.compileToFragments(o, LEVEL_LIST);
|
2231
|
-
if (this.context === 'object') {
|
2232
|
-
if (ref8 = fragmentsToText(compiledName), indexOf.call(JS_FORBIDDEN, ref8) >= 0) {
|
2233
|
-
compiledName.unshift(this.makeCode('"'));
|
2234
|
-
compiledName.push(this.makeCode('"'));
|
2235
|
-
}
|
2236
|
-
return compiledName.concat(this.makeCode(": "), val);
|
2237
|
-
}
|
2238
|
-
answer = compiledName.concat(this.makeCode(" " + (this.context || '=') + " "), val);
|
2239
|
-
if (o.level <= LEVEL_LIST) {
|
2240
|
-
return answer;
|
2241
|
-
} else {
|
2242
|
-
return this.wrapInBraces(answer);
|
2243
|
-
}
|
2244
|
-
};
|
2245
|
-
|
2246
|
-
Assign.prototype.compilePatternMatch = function(o) {
|
2247
|
-
var acc, assigns, code, defaultValue, expandedIdx, fragments, i, idx, isObject, ivar, j, len1, message, name, obj, objects, olen, ref, ref3, ref4, ref5, ref6, rest, top, val, value, vvar, vvarText;
|
2248
|
-
top = o.level === LEVEL_TOP;
|
2249
|
-
value = this.value;
|
2250
|
-
objects = this.variable.base.objects;
|
2251
|
-
if (!(olen = objects.length)) {
|
2252
|
-
code = value.compileToFragments(o);
|
2253
|
-
if (o.level >= LEVEL_OP) {
|
2254
|
-
return this.wrapInBraces(code);
|
2255
|
-
} else {
|
2256
|
-
return code;
|
2257
|
-
}
|
2258
|
-
}
|
2259
|
-
obj = objects[0];
|
2260
|
-
if (olen === 1 && obj instanceof Expansion) {
|
2261
|
-
obj.error('Destructuring assignment has no target');
|
2262
|
-
}
|
2263
|
-
isObject = this.variable.isObject();
|
2264
|
-
if (top && olen === 1 && !(obj instanceof Splat)) {
|
2265
|
-
defaultValue = null;
|
2266
|
-
if (obj instanceof Assign && obj.context === 'object') {
|
2267
|
-
ref3 = obj, (ref4 = ref3.variable, idx = ref4.base), obj = ref3.value;
|
2268
|
-
if (obj instanceof Assign) {
|
2269
|
-
defaultValue = obj.value;
|
2270
|
-
obj = obj.variable;
|
2271
|
-
}
|
2272
|
-
} else {
|
2273
|
-
if (obj instanceof Assign) {
|
2274
|
-
defaultValue = obj.value;
|
2275
|
-
obj = obj.variable;
|
2276
|
-
}
|
2277
|
-
idx = isObject ? obj["this"] ? obj.properties[0].name : new PropertyName(obj.unwrap().value) : new NumberLiteral(0);
|
2278
|
-
}
|
2279
|
-
acc = idx.unwrap() instanceof PropertyName;
|
2280
|
-
value = new Value(value);
|
2281
|
-
value.properties.push(new (acc ? Access : Index)(idx));
|
2282
|
-
message = isUnassignable(obj.unwrap().value);
|
2283
|
-
if (message) {
|
2284
|
-
obj.error(message);
|
2285
|
-
}
|
2286
|
-
if (defaultValue) {
|
2287
|
-
value = new Op('?', value, defaultValue);
|
2288
|
-
}
|
2289
|
-
return new Assign(obj, value, null, {
|
2290
|
-
param: this.param
|
2291
|
-
}).compileToFragments(o, LEVEL_TOP);
|
2292
|
-
}
|
2293
|
-
vvar = value.compileToFragments(o, LEVEL_LIST);
|
2294
|
-
vvarText = fragmentsToText(vvar);
|
2295
|
-
assigns = [];
|
2296
|
-
expandedIdx = false;
|
2297
|
-
if (!(value.unwrap() instanceof IdentifierLiteral) || this.variable.assigns(vvarText)) {
|
2298
|
-
assigns.push([this.makeCode((ref = o.scope.freeVariable('ref')) + " = ")].concat(slice.call(vvar)));
|
2299
|
-
vvar = [this.makeCode(ref)];
|
2300
|
-
vvarText = ref;
|
2301
|
-
}
|
2302
|
-
for (i = j = 0, len1 = objects.length; j < len1; i = ++j) {
|
2303
|
-
obj = objects[i];
|
2304
|
-
idx = i;
|
2305
|
-
if (!expandedIdx && obj instanceof Splat) {
|
2306
|
-
name = obj.name.unwrap().value;
|
2307
|
-
obj = obj.unwrap();
|
2308
|
-
val = olen + " <= " + vvarText + ".length ? " + (utility('slice', o)) + ".call(" + vvarText + ", " + i;
|
2309
|
-
if (rest = olen - i - 1) {
|
2310
|
-
ivar = o.scope.freeVariable('i', {
|
2311
|
-
single: true
|
2312
|
-
});
|
2313
|
-
val += ", " + ivar + " = " + vvarText + ".length - " + rest + ") : (" + ivar + " = " + i + ", [])";
|
2314
|
-
} else {
|
2315
|
-
val += ") : []";
|
2316
|
-
}
|
2317
|
-
val = new Literal(val);
|
2318
|
-
expandedIdx = ivar + "++";
|
2319
|
-
} else if (!expandedIdx && obj instanceof Expansion) {
|
2320
|
-
if (rest = olen - i - 1) {
|
2321
|
-
if (rest === 1) {
|
2322
|
-
expandedIdx = vvarText + ".length - 1";
|
2323
|
-
} else {
|
2324
|
-
ivar = o.scope.freeVariable('i', {
|
2325
|
-
single: true
|
2326
|
-
});
|
2327
|
-
val = new Literal(ivar + " = " + vvarText + ".length - " + rest);
|
2328
|
-
expandedIdx = ivar + "++";
|
2329
|
-
assigns.push(val.compileToFragments(o, LEVEL_LIST));
|
2330
|
-
}
|
2331
|
-
}
|
2332
|
-
continue;
|
2333
|
-
} else {
|
2334
|
-
if (obj instanceof Splat || obj instanceof Expansion) {
|
2335
|
-
obj.error("multiple splats/expansions are disallowed in an assignment");
|
2336
|
-
}
|
2337
|
-
defaultValue = null;
|
2338
|
-
if (obj instanceof Assign && obj.context === 'object') {
|
2339
|
-
ref5 = obj, (ref6 = ref5.variable, idx = ref6.base), obj = ref5.value;
|
2340
|
-
if (obj instanceof Assign) {
|
2341
|
-
defaultValue = obj.value;
|
2342
|
-
obj = obj.variable;
|
2343
|
-
}
|
2344
|
-
} else {
|
2345
|
-
if (obj instanceof Assign) {
|
2346
|
-
defaultValue = obj.value;
|
2347
|
-
obj = obj.variable;
|
2348
|
-
}
|
2349
|
-
idx = isObject ? obj["this"] ? obj.properties[0].name : new PropertyName(obj.unwrap().value) : new Literal(expandedIdx || idx);
|
2350
|
-
}
|
2351
|
-
name = obj.unwrap().value;
|
2352
|
-
acc = idx.unwrap() instanceof PropertyName;
|
2353
|
-
val = new Value(new Literal(vvarText), [new (acc ? Access : Index)(idx)]);
|
2354
|
-
if (defaultValue) {
|
2355
|
-
val = new Op('?', val, defaultValue);
|
2356
|
-
}
|
2357
|
-
}
|
2358
|
-
if (name != null) {
|
2359
|
-
message = isUnassignable(name);
|
2360
|
-
if (message) {
|
2361
|
-
obj.error(message);
|
2362
|
-
}
|
2363
|
-
}
|
2364
|
-
assigns.push(new Assign(obj, val, null, {
|
2365
|
-
param: this.param,
|
2366
|
-
subpattern: true
|
2367
|
-
}).compileToFragments(o, LEVEL_LIST));
|
2368
|
-
}
|
2369
|
-
if (!(top || this.subpattern)) {
|
2370
|
-
assigns.push(vvar);
|
2371
|
-
}
|
2372
|
-
fragments = this.joinFragmentArrays(assigns, ', ');
|
2373
|
-
if (o.level < LEVEL_LIST) {
|
2374
|
-
return fragments;
|
2375
|
-
} else {
|
2376
|
-
return this.wrapInBraces(fragments);
|
2377
|
-
}
|
2378
|
-
};
|
2379
|
-
|
2380
|
-
Assign.prototype.compileConditional = function(o) {
|
2381
|
-
var fragments, left, ref3, right;
|
2382
|
-
ref3 = this.variable.cacheReference(o), left = ref3[0], right = ref3[1];
|
2383
|
-
if (!left.properties.length && left.base instanceof Literal && !(left.base instanceof ThisLiteral) && !o.scope.check(left.base.value)) {
|
2384
|
-
this.variable.error("the variable \"" + left.base.value + "\" can't be assigned with " + this.context + " because it has not been declared before");
|
2385
|
-
}
|
2386
|
-
if (indexOf.call(this.context, "?") >= 0) {
|
2387
|
-
o.isExistentialEquals = true;
|
2388
|
-
return new If(new Existence(left), right, {
|
2389
|
-
type: 'if'
|
2390
|
-
}).addElse(new Assign(right, this.value, '=')).compileToFragments(o);
|
2391
|
-
} else {
|
2392
|
-
fragments = new Op(this.context.slice(0, -1), left, new Assign(right, this.value, '=')).compileToFragments(o);
|
2393
|
-
if (o.level <= LEVEL_LIST) {
|
2394
|
-
return fragments;
|
2395
|
-
} else {
|
2396
|
-
return this.wrapInBraces(fragments);
|
2397
|
-
}
|
2398
|
-
}
|
2399
|
-
};
|
2400
|
-
|
2401
|
-
Assign.prototype.compileSpecialMath = function(o) {
|
2402
|
-
var left, ref3, right;
|
2403
|
-
ref3 = this.variable.cacheReference(o), left = ref3[0], right = ref3[1];
|
2404
|
-
return new Assign(left, new Op(this.context.slice(0, -1), right, this.value)).compileToFragments(o);
|
2405
|
-
};
|
2406
|
-
|
2407
|
-
Assign.prototype.compileSplice = function(o) {
|
2408
|
-
var answer, exclusive, from, fromDecl, fromRef, name, ref3, ref4, ref5, to, valDef, valRef;
|
2409
|
-
ref3 = this.variable.properties.pop().range, from = ref3.from, to = ref3.to, exclusive = ref3.exclusive;
|
2410
|
-
name = this.variable.compile(o);
|
2411
|
-
if (from) {
|
2412
|
-
ref4 = this.cacheToCodeFragments(from.cache(o, LEVEL_OP)), fromDecl = ref4[0], fromRef = ref4[1];
|
2413
|
-
} else {
|
2414
|
-
fromDecl = fromRef = '0';
|
2415
|
-
}
|
2416
|
-
if (to) {
|
2417
|
-
if ((from != null ? from.isNumber() : void 0) && to.isNumber()) {
|
2418
|
-
to = to.compile(o) - fromRef;
|
2419
|
-
if (!exclusive) {
|
2420
|
-
to += 1;
|
2421
|
-
}
|
2422
|
-
} else {
|
2423
|
-
to = to.compile(o, LEVEL_ACCESS) + ' - ' + fromRef;
|
2424
|
-
if (!exclusive) {
|
2425
|
-
to += ' + 1';
|
2426
|
-
}
|
2427
|
-
}
|
2428
|
-
} else {
|
2429
|
-
to = "9e9";
|
2430
|
-
}
|
2431
|
-
ref5 = this.value.cache(o, LEVEL_LIST), valDef = ref5[0], valRef = ref5[1];
|
2432
|
-
answer = [].concat(this.makeCode("[].splice.apply(" + name + ", [" + fromDecl + ", " + to + "].concat("), valDef, this.makeCode(")), "), valRef);
|
2433
|
-
if (o.level > LEVEL_TOP) {
|
2434
|
-
return this.wrapInBraces(answer);
|
2435
|
-
} else {
|
2436
|
-
return answer;
|
2437
|
-
}
|
2438
|
-
};
|
2439
|
-
|
2440
|
-
return Assign;
|
2441
|
-
|
2442
|
-
})(Base);
|
2443
|
-
|
2444
|
-
exports.Code = Code = (function(superClass1) {
|
2445
|
-
extend1(Code, superClass1);
|
2446
|
-
|
2447
|
-
function Code(params, body, tag) {
|
2448
|
-
this.params = params || [];
|
2449
|
-
this.body = body || new Block;
|
2450
|
-
this.bound = tag === 'boundfunc';
|
2451
|
-
this.isGenerator = !!this.body.contains(function(node) {
|
2452
|
-
return (node instanceof Op && node.isYield()) || node instanceof YieldReturn;
|
2453
|
-
});
|
2454
|
-
}
|
2455
|
-
|
2456
|
-
Code.prototype.children = ['params', 'body'];
|
2457
|
-
|
2458
|
-
Code.prototype.isStatement = function() {
|
2459
|
-
return !!this.ctor;
|
2460
|
-
};
|
2461
|
-
|
2462
|
-
Code.prototype.jumps = NO;
|
2463
|
-
|
2464
|
-
Code.prototype.makeScope = function(parentScope) {
|
2465
|
-
return new Scope(parentScope, this.body, this);
|
2466
|
-
};
|
2467
|
-
|
2468
|
-
Code.prototype.compileNode = function(o) {
|
2469
|
-
var answer, boundfunc, code, exprs, i, j, k, l, len1, len2, len3, len4, len5, len6, lit, m, p, param, params, q, r, ref, ref3, ref4, ref5, ref6, ref7, ref8, splats, uniqs, val, wasEmpty, wrapper;
|
2470
|
-
if (this.bound && ((ref3 = o.scope.method) != null ? ref3.bound : void 0)) {
|
2471
|
-
this.context = o.scope.method.context;
|
2472
|
-
}
|
2473
|
-
if (this.bound && !this.context) {
|
2474
|
-
this.context = '_this';
|
2475
|
-
wrapper = new Code([new Param(new IdentifierLiteral(this.context))], new Block([this]));
|
2476
|
-
boundfunc = new Call(wrapper, [new ThisLiteral]);
|
2477
|
-
boundfunc.updateLocationDataIfMissing(this.locationData);
|
2478
|
-
return boundfunc.compileNode(o);
|
2479
|
-
}
|
2480
|
-
o.scope = del(o, 'classScope') || this.makeScope(o.scope);
|
2481
|
-
o.scope.shared = del(o, 'sharedScope');
|
2482
|
-
o.indent += TAB;
|
2483
|
-
delete o.bare;
|
2484
|
-
delete o.isExistentialEquals;
|
2485
|
-
params = [];
|
2486
|
-
exprs = [];
|
2487
|
-
ref4 = this.params;
|
2488
|
-
for (j = 0, len1 = ref4.length; j < len1; j++) {
|
2489
|
-
param = ref4[j];
|
2490
|
-
if (!(param instanceof Expansion)) {
|
2491
|
-
o.scope.parameter(param.asReference(o));
|
2492
|
-
}
|
2493
|
-
}
|
2494
|
-
ref5 = this.params;
|
2495
|
-
for (k = 0, len2 = ref5.length; k < len2; k++) {
|
2496
|
-
param = ref5[k];
|
2497
|
-
if (!(param.splat || param instanceof Expansion)) {
|
2498
|
-
continue;
|
2499
|
-
}
|
2500
|
-
ref6 = this.params;
|
2501
|
-
for (l = 0, len3 = ref6.length; l < len3; l++) {
|
2502
|
-
p = ref6[l];
|
2503
|
-
if (!(p instanceof Expansion) && p.name.value) {
|
2504
|
-
o.scope.add(p.name.value, 'var', true);
|
2505
|
-
}
|
2506
|
-
}
|
2507
|
-
splats = new Assign(new Value(new Arr((function() {
|
2508
|
-
var len4, m, ref7, results;
|
2509
|
-
ref7 = this.params;
|
2510
|
-
results = [];
|
2511
|
-
for (m = 0, len4 = ref7.length; m < len4; m++) {
|
2512
|
-
p = ref7[m];
|
2513
|
-
results.push(p.asReference(o));
|
2514
|
-
}
|
2515
|
-
return results;
|
2516
|
-
}).call(this))), new Value(new IdentifierLiteral('arguments')));
|
2517
|
-
break;
|
2518
|
-
}
|
2519
|
-
ref7 = this.params;
|
2520
|
-
for (m = 0, len4 = ref7.length; m < len4; m++) {
|
2521
|
-
param = ref7[m];
|
2522
|
-
if (param.isComplex()) {
|
2523
|
-
val = ref = param.asReference(o);
|
2524
|
-
if (param.value) {
|
2525
|
-
val = new Op('?', ref, param.value);
|
2526
|
-
}
|
2527
|
-
exprs.push(new Assign(new Value(param.name), val, '=', {
|
2528
|
-
param: true
|
2529
|
-
}));
|
2530
|
-
} else {
|
2531
|
-
ref = param;
|
2532
|
-
if (param.value) {
|
2533
|
-
lit = new Literal(ref.name.value + ' == null');
|
2534
|
-
val = new Assign(new Value(param.name), param.value, '=');
|
2535
|
-
exprs.push(new If(lit, val));
|
2536
|
-
}
|
2537
|
-
}
|
2538
|
-
if (!splats) {
|
2539
|
-
params.push(ref);
|
2540
|
-
}
|
2541
|
-
}
|
2542
|
-
wasEmpty = this.body.isEmpty();
|
2543
|
-
if (splats) {
|
2544
|
-
exprs.unshift(splats);
|
2545
|
-
}
|
2546
|
-
if (exprs.length) {
|
2547
|
-
(ref8 = this.body.expressions).unshift.apply(ref8, exprs);
|
2548
|
-
}
|
2549
|
-
for (i = q = 0, len5 = params.length; q < len5; i = ++q) {
|
2550
|
-
p = params[i];
|
2551
|
-
params[i] = p.compileToFragments(o);
|
2552
|
-
o.scope.parameter(fragmentsToText(params[i]));
|
2553
|
-
}
|
2554
|
-
uniqs = [];
|
2555
|
-
this.eachParamName(function(name, node) {
|
2556
|
-
if (indexOf.call(uniqs, name) >= 0) {
|
2557
|
-
node.error("multiple parameters named " + name);
|
2558
|
-
}
|
2559
|
-
return uniqs.push(name);
|
2560
|
-
});
|
2561
|
-
if (!(wasEmpty || this.noReturn)) {
|
2562
|
-
this.body.makeReturn();
|
2563
|
-
}
|
2564
|
-
code = 'function';
|
2565
|
-
if (this.isGenerator) {
|
2566
|
-
code += '*';
|
2567
|
-
}
|
2568
|
-
if (this.ctor) {
|
2569
|
-
code += ' ' + this.name;
|
2570
|
-
}
|
2571
|
-
code += '(';
|
2572
|
-
answer = [this.makeCode(code)];
|
2573
|
-
for (i = r = 0, len6 = params.length; r < len6; i = ++r) {
|
2574
|
-
p = params[i];
|
2575
|
-
if (i) {
|
2576
|
-
answer.push(this.makeCode(", "));
|
2577
|
-
}
|
2578
|
-
answer.push.apply(answer, p);
|
2579
|
-
}
|
2580
|
-
answer.push(this.makeCode(') {'));
|
2581
|
-
if (!this.body.isEmpty()) {
|
2582
|
-
answer = answer.concat(this.makeCode("\n"), this.body.compileWithDeclarations(o), this.makeCode("\n" + this.tab));
|
2583
|
-
}
|
2584
|
-
answer.push(this.makeCode('}'));
|
2585
|
-
if (this.ctor) {
|
2586
|
-
return [this.makeCode(this.tab)].concat(slice.call(answer));
|
2587
|
-
}
|
2588
|
-
if (this.front || (o.level >= LEVEL_ACCESS)) {
|
2589
|
-
return this.wrapInBraces(answer);
|
2590
|
-
} else {
|
2591
|
-
return answer;
|
2592
|
-
}
|
2593
|
-
};
|
2594
|
-
|
2595
|
-
Code.prototype.eachParamName = function(iterator) {
|
2596
|
-
var j, len1, param, ref3, results;
|
2597
|
-
ref3 = this.params;
|
2598
|
-
results = [];
|
2599
|
-
for (j = 0, len1 = ref3.length; j < len1; j++) {
|
2600
|
-
param = ref3[j];
|
2601
|
-
results.push(param.eachName(iterator));
|
2602
|
-
}
|
2603
|
-
return results;
|
2604
|
-
};
|
2605
|
-
|
2606
|
-
Code.prototype.traverseChildren = function(crossScope, func) {
|
2607
|
-
if (crossScope) {
|
2608
|
-
return Code.__super__.traverseChildren.call(this, crossScope, func);
|
2609
|
-
}
|
2610
|
-
};
|
2611
|
-
|
2612
|
-
return Code;
|
2613
|
-
|
2614
|
-
})(Base);
|
2615
|
-
|
2616
|
-
exports.Param = Param = (function(superClass1) {
|
2617
|
-
extend1(Param, superClass1);
|
2618
|
-
|
2619
|
-
function Param(name1, value1, splat) {
|
2620
|
-
var message, token;
|
2621
|
-
this.name = name1;
|
2622
|
-
this.value = value1;
|
2623
|
-
this.splat = splat;
|
2624
|
-
message = isUnassignable(this.name.unwrapAll().value);
|
2625
|
-
if (message) {
|
2626
|
-
this.name.error(message);
|
2627
|
-
}
|
2628
|
-
if (this.name instanceof Obj && this.name.generated) {
|
2629
|
-
token = this.name.objects[0].operatorToken;
|
2630
|
-
token.error("unexpected " + token.value);
|
2631
|
-
}
|
2632
|
-
}
|
2633
|
-
|
2634
|
-
Param.prototype.children = ['name', 'value'];
|
2635
|
-
|
2636
|
-
Param.prototype.compileToFragments = function(o) {
|
2637
|
-
return this.name.compileToFragments(o, LEVEL_LIST);
|
2638
|
-
};
|
2639
|
-
|
2640
|
-
Param.prototype.asReference = function(o) {
|
2641
|
-
var name, node;
|
2642
|
-
if (this.reference) {
|
2643
|
-
return this.reference;
|
2644
|
-
}
|
2645
|
-
node = this.name;
|
2646
|
-
if (node["this"]) {
|
2647
|
-
name = node.properties[0].name.value;
|
2648
|
-
if (indexOf.call(JS_FORBIDDEN, name) >= 0) {
|
2649
|
-
name = "_" + name;
|
2650
|
-
}
|
2651
|
-
node = new IdentifierLiteral(o.scope.freeVariable(name));
|
2652
|
-
} else if (node.isComplex()) {
|
2653
|
-
node = new IdentifierLiteral(o.scope.freeVariable('arg'));
|
2654
|
-
}
|
2655
|
-
node = new Value(node);
|
2656
|
-
if (this.splat) {
|
2657
|
-
node = new Splat(node);
|
2658
|
-
}
|
2659
|
-
node.updateLocationDataIfMissing(this.locationData);
|
2660
|
-
return this.reference = node;
|
2661
|
-
};
|
2662
|
-
|
2663
|
-
Param.prototype.isComplex = function() {
|
2664
|
-
return this.name.isComplex();
|
2665
|
-
};
|
2666
|
-
|
2667
|
-
Param.prototype.eachName = function(iterator, name) {
|
2668
|
-
var atParam, j, len1, node, obj, ref3, ref4;
|
2669
|
-
if (name == null) {
|
2670
|
-
name = this.name;
|
2671
|
-
}
|
2672
|
-
atParam = function(obj) {
|
2673
|
-
return iterator("@" + obj.properties[0].name.value, obj);
|
2674
|
-
};
|
2675
|
-
if (name instanceof Literal) {
|
2676
|
-
return iterator(name.value, name);
|
2677
|
-
}
|
2678
|
-
if (name instanceof Value) {
|
2679
|
-
return atParam(name);
|
2680
|
-
}
|
2681
|
-
ref4 = (ref3 = name.objects) != null ? ref3 : [];
|
2682
|
-
for (j = 0, len1 = ref4.length; j < len1; j++) {
|
2683
|
-
obj = ref4[j];
|
2684
|
-
if (obj instanceof Assign && (obj.context == null)) {
|
2685
|
-
obj = obj.variable;
|
2686
|
-
}
|
2687
|
-
if (obj instanceof Assign) {
|
2688
|
-
if (obj.value instanceof Assign) {
|
2689
|
-
obj = obj.value;
|
2690
|
-
}
|
2691
|
-
this.eachName(iterator, obj.value.unwrap());
|
2692
|
-
} else if (obj instanceof Splat) {
|
2693
|
-
node = obj.name.unwrap();
|
2694
|
-
iterator(node.value, node);
|
2695
|
-
} else if (obj instanceof Value) {
|
2696
|
-
if (obj.isArray() || obj.isObject()) {
|
2697
|
-
this.eachName(iterator, obj.base);
|
2698
|
-
} else if (obj["this"]) {
|
2699
|
-
atParam(obj);
|
2700
|
-
} else {
|
2701
|
-
iterator(obj.base.value, obj.base);
|
2702
|
-
}
|
2703
|
-
} else if (!(obj instanceof Expansion)) {
|
2704
|
-
obj.error("illegal parameter " + (obj.compile()));
|
2705
|
-
}
|
2706
|
-
}
|
2707
|
-
};
|
2708
|
-
|
2709
|
-
return Param;
|
2710
|
-
|
2711
|
-
})(Base);
|
2712
|
-
|
2713
|
-
exports.Splat = Splat = (function(superClass1) {
|
2714
|
-
extend1(Splat, superClass1);
|
2715
|
-
|
2716
|
-
Splat.prototype.children = ['name'];
|
2717
|
-
|
2718
|
-
Splat.prototype.isAssignable = YES;
|
2719
|
-
|
2720
|
-
function Splat(name) {
|
2721
|
-
this.name = name.compile ? name : new Literal(name);
|
2722
|
-
}
|
2723
|
-
|
2724
|
-
Splat.prototype.assigns = function(name) {
|
2725
|
-
return this.name.assigns(name);
|
2726
|
-
};
|
2727
|
-
|
2728
|
-
Splat.prototype.compileToFragments = function(o) {
|
2729
|
-
return this.name.compileToFragments(o);
|
2730
|
-
};
|
2731
|
-
|
2732
|
-
Splat.prototype.unwrap = function() {
|
2733
|
-
return this.name;
|
2734
|
-
};
|
2735
|
-
|
2736
|
-
Splat.compileSplattedArray = function(o, list, apply) {
|
2737
|
-
var args, base, compiledNode, concatPart, fragments, i, index, j, last, len1, node;
|
2738
|
-
index = -1;
|
2739
|
-
while ((node = list[++index]) && !(node instanceof Splat)) {
|
2740
|
-
continue;
|
2741
|
-
}
|
2742
|
-
if (index >= list.length) {
|
2743
|
-
return [];
|
2744
|
-
}
|
2745
|
-
if (list.length === 1) {
|
2746
|
-
node = list[0];
|
2747
|
-
fragments = node.compileToFragments(o, LEVEL_LIST);
|
2748
|
-
if (apply) {
|
2749
|
-
return fragments;
|
2750
|
-
}
|
2751
|
-
return [].concat(node.makeCode((utility('slice', o)) + ".call("), fragments, node.makeCode(")"));
|
2752
|
-
}
|
2753
|
-
args = list.slice(index);
|
2754
|
-
for (i = j = 0, len1 = args.length; j < len1; i = ++j) {
|
2755
|
-
node = args[i];
|
2756
|
-
compiledNode = node.compileToFragments(o, LEVEL_LIST);
|
2757
|
-
args[i] = node instanceof Splat ? [].concat(node.makeCode((utility('slice', o)) + ".call("), compiledNode, node.makeCode(")")) : [].concat(node.makeCode("["), compiledNode, node.makeCode("]"));
|
2758
|
-
}
|
2759
|
-
if (index === 0) {
|
2760
|
-
node = list[0];
|
2761
|
-
concatPart = node.joinFragmentArrays(args.slice(1), ', ');
|
2762
|
-
return args[0].concat(node.makeCode(".concat("), concatPart, node.makeCode(")"));
|
2763
|
-
}
|
2764
|
-
base = (function() {
|
2765
|
-
var k, len2, ref3, results;
|
2766
|
-
ref3 = list.slice(0, index);
|
2767
|
-
results = [];
|
2768
|
-
for (k = 0, len2 = ref3.length; k < len2; k++) {
|
2769
|
-
node = ref3[k];
|
2770
|
-
results.push(node.compileToFragments(o, LEVEL_LIST));
|
2771
|
-
}
|
2772
|
-
return results;
|
2773
|
-
})();
|
2774
|
-
base = list[0].joinFragmentArrays(base, ', ');
|
2775
|
-
concatPart = list[index].joinFragmentArrays(args, ', ');
|
2776
|
-
last = list[list.length - 1];
|
2777
|
-
return [].concat(list[0].makeCode("["), base, list[index].makeCode("].concat("), concatPart, last.makeCode(")"));
|
2778
|
-
};
|
2779
|
-
|
2780
|
-
return Splat;
|
2781
|
-
|
2782
|
-
})(Base);
|
2783
|
-
|
2784
|
-
exports.Expansion = Expansion = (function(superClass1) {
|
2785
|
-
extend1(Expansion, superClass1);
|
2786
|
-
|
2787
|
-
function Expansion() {
|
2788
|
-
return Expansion.__super__.constructor.apply(this, arguments);
|
2789
|
-
}
|
2790
|
-
|
2791
|
-
Expansion.prototype.isComplex = NO;
|
2792
|
-
|
2793
|
-
Expansion.prototype.compileNode = function(o) {
|
2794
|
-
return this.error('Expansion must be used inside a destructuring assignment or parameter list');
|
2795
|
-
};
|
2796
|
-
|
2797
|
-
Expansion.prototype.asReference = function(o) {
|
2798
|
-
return this;
|
2799
|
-
};
|
2800
|
-
|
2801
|
-
Expansion.prototype.eachName = function(iterator) {};
|
2802
|
-
|
2803
|
-
return Expansion;
|
2804
|
-
|
2805
|
-
})(Base);
|
2806
|
-
|
2807
|
-
exports.While = While = (function(superClass1) {
|
2808
|
-
extend1(While, superClass1);
|
2809
|
-
|
2810
|
-
function While(condition, options) {
|
2811
|
-
this.condition = (options != null ? options.invert : void 0) ? condition.invert() : condition;
|
2812
|
-
this.guard = options != null ? options.guard : void 0;
|
2813
|
-
}
|
2814
|
-
|
2815
|
-
While.prototype.children = ['condition', 'guard', 'body'];
|
2816
|
-
|
2817
|
-
While.prototype.isStatement = YES;
|
2818
|
-
|
2819
|
-
While.prototype.makeReturn = function(res) {
|
2820
|
-
if (res) {
|
2821
|
-
return While.__super__.makeReturn.apply(this, arguments);
|
2822
|
-
} else {
|
2823
|
-
this.returns = !this.jumps({
|
2824
|
-
loop: true
|
2825
|
-
});
|
2826
|
-
return this;
|
2827
|
-
}
|
2828
|
-
};
|
2829
|
-
|
2830
|
-
While.prototype.addBody = function(body1) {
|
2831
|
-
this.body = body1;
|
2832
|
-
return this;
|
2833
|
-
};
|
2834
|
-
|
2835
|
-
While.prototype.jumps = function() {
|
2836
|
-
var expressions, j, jumpNode, len1, node;
|
2837
|
-
expressions = this.body.expressions;
|
2838
|
-
if (!expressions.length) {
|
2839
|
-
return false;
|
2840
|
-
}
|
2841
|
-
for (j = 0, len1 = expressions.length; j < len1; j++) {
|
2842
|
-
node = expressions[j];
|
2843
|
-
if (jumpNode = node.jumps({
|
2844
|
-
loop: true
|
2845
|
-
})) {
|
2846
|
-
return jumpNode;
|
2847
|
-
}
|
2848
|
-
}
|
2849
|
-
return false;
|
2850
|
-
};
|
2851
|
-
|
2852
|
-
While.prototype.compileNode = function(o) {
|
2853
|
-
var answer, body, rvar, set;
|
2854
|
-
o.indent += TAB;
|
2855
|
-
set = '';
|
2856
|
-
body = this.body;
|
2857
|
-
if (body.isEmpty()) {
|
2858
|
-
body = this.makeCode('');
|
2859
|
-
} else {
|
2860
|
-
if (this.returns) {
|
2861
|
-
body.makeReturn(rvar = o.scope.freeVariable('results'));
|
2862
|
-
set = "" + this.tab + rvar + " = [];\n";
|
2863
|
-
}
|
2864
|
-
if (this.guard) {
|
2865
|
-
if (body.expressions.length > 1) {
|
2866
|
-
body.expressions.unshift(new If((new Parens(this.guard)).invert(), new StatementLiteral("continue")));
|
2867
|
-
} else {
|
2868
|
-
if (this.guard) {
|
2869
|
-
body = Block.wrap([new If(this.guard, body)]);
|
2870
|
-
}
|
2871
|
-
}
|
2872
|
-
}
|
2873
|
-
body = [].concat(this.makeCode("\n"), body.compileToFragments(o, LEVEL_TOP), this.makeCode("\n" + this.tab));
|
2874
|
-
}
|
2875
|
-
answer = [].concat(this.makeCode(set + this.tab + "while ("), this.condition.compileToFragments(o, LEVEL_PAREN), this.makeCode(") {"), body, this.makeCode("}"));
|
2876
|
-
if (this.returns) {
|
2877
|
-
answer.push(this.makeCode("\n" + this.tab + "return " + rvar + ";"));
|
2878
|
-
}
|
2879
|
-
return answer;
|
2880
|
-
};
|
2881
|
-
|
2882
|
-
return While;
|
2883
|
-
|
2884
|
-
})(Base);
|
2885
|
-
|
2886
|
-
exports.Op = Op = (function(superClass1) {
|
2887
|
-
var CONVERSIONS, INVERSIONS;
|
2888
|
-
|
2889
|
-
extend1(Op, superClass1);
|
2890
|
-
|
2891
|
-
function Op(op, first, second, flip) {
|
2892
|
-
if (op === 'in') {
|
2893
|
-
return new In(first, second);
|
2894
|
-
}
|
2895
|
-
if (op === 'do') {
|
2896
|
-
return this.generateDo(first);
|
2897
|
-
}
|
2898
|
-
if (op === 'new') {
|
2899
|
-
if (first instanceof Call && !first["do"] && !first.isNew) {
|
2900
|
-
return first.newInstance();
|
2901
|
-
}
|
2902
|
-
if (first instanceof Code && first.bound || first["do"]) {
|
2903
|
-
first = new Parens(first);
|
2904
|
-
}
|
2905
|
-
}
|
2906
|
-
this.operator = CONVERSIONS[op] || op;
|
2907
|
-
this.first = first;
|
2908
|
-
this.second = second;
|
2909
|
-
this.flip = !!flip;
|
2910
|
-
return this;
|
2911
|
-
}
|
2912
|
-
|
2913
|
-
CONVERSIONS = {
|
2914
|
-
'==': '===',
|
2915
|
-
'!=': '!==',
|
2916
|
-
'of': 'in',
|
2917
|
-
'yieldfrom': 'yield*'
|
2918
|
-
};
|
2919
|
-
|
2920
|
-
INVERSIONS = {
|
2921
|
-
'!==': '===',
|
2922
|
-
'===': '!=='
|
2923
|
-
};
|
2924
|
-
|
2925
|
-
Op.prototype.children = ['first', 'second'];
|
2926
|
-
|
2927
|
-
Op.prototype.isNumber = function() {
|
2928
|
-
var ref3;
|
2929
|
-
return this.isUnary() && ((ref3 = this.operator) === '+' || ref3 === '-') && this.first instanceof Value && this.first.isNumber();
|
2930
|
-
};
|
2931
|
-
|
2932
|
-
Op.prototype.isYield = function() {
|
2933
|
-
var ref3;
|
2934
|
-
return (ref3 = this.operator) === 'yield' || ref3 === 'yield*';
|
2935
|
-
};
|
2936
|
-
|
2937
|
-
Op.prototype.isUnary = function() {
|
2938
|
-
return !this.second;
|
2939
|
-
};
|
2940
|
-
|
2941
|
-
Op.prototype.isComplex = function() {
|
2942
|
-
return !this.isNumber();
|
2943
|
-
};
|
2944
|
-
|
2945
|
-
Op.prototype.isChainable = function() {
|
2946
|
-
var ref3;
|
2947
|
-
return (ref3 = this.operator) === '<' || ref3 === '>' || ref3 === '>=' || ref3 === '<=' || ref3 === '===' || ref3 === '!==';
|
2948
|
-
};
|
2949
|
-
|
2950
|
-
Op.prototype.invert = function() {
|
2951
|
-
var allInvertable, curr, fst, op, ref3;
|
2952
|
-
if (this.isChainable() && this.first.isChainable()) {
|
2953
|
-
allInvertable = true;
|
2954
|
-
curr = this;
|
2955
|
-
while (curr && curr.operator) {
|
2956
|
-
allInvertable && (allInvertable = curr.operator in INVERSIONS);
|
2957
|
-
curr = curr.first;
|
2958
|
-
}
|
2959
|
-
if (!allInvertable) {
|
2960
|
-
return new Parens(this).invert();
|
2961
|
-
}
|
2962
|
-
curr = this;
|
2963
|
-
while (curr && curr.operator) {
|
2964
|
-
curr.invert = !curr.invert;
|
2965
|
-
curr.operator = INVERSIONS[curr.operator];
|
2966
|
-
curr = curr.first;
|
2967
|
-
}
|
2968
|
-
return this;
|
2969
|
-
} else if (op = INVERSIONS[this.operator]) {
|
2970
|
-
this.operator = op;
|
2971
|
-
if (this.first.unwrap() instanceof Op) {
|
2972
|
-
this.first.invert();
|
2973
|
-
}
|
2974
|
-
return this;
|
2975
|
-
} else if (this.second) {
|
2976
|
-
return new Parens(this).invert();
|
2977
|
-
} else if (this.operator === '!' && (fst = this.first.unwrap()) instanceof Op && ((ref3 = fst.operator) === '!' || ref3 === 'in' || ref3 === 'instanceof')) {
|
2978
|
-
return fst;
|
2979
|
-
} else {
|
2980
|
-
return new Op('!', this);
|
2981
|
-
}
|
2982
|
-
};
|
2983
|
-
|
2984
|
-
Op.prototype.unfoldSoak = function(o) {
|
2985
|
-
var ref3;
|
2986
|
-
return ((ref3 = this.operator) === '++' || ref3 === '--' || ref3 === 'delete') && unfoldSoak(o, this, 'first');
|
2987
|
-
};
|
2988
|
-
|
2989
|
-
Op.prototype.generateDo = function(exp) {
|
2990
|
-
var call, func, j, len1, param, passedParams, ref, ref3;
|
2991
|
-
passedParams = [];
|
2992
|
-
func = exp instanceof Assign && (ref = exp.value.unwrap()) instanceof Code ? ref : exp;
|
2993
|
-
ref3 = func.params || [];
|
2994
|
-
for (j = 0, len1 = ref3.length; j < len1; j++) {
|
2995
|
-
param = ref3[j];
|
2996
|
-
if (param.value) {
|
2997
|
-
passedParams.push(param.value);
|
2998
|
-
delete param.value;
|
2999
|
-
} else {
|
3000
|
-
passedParams.push(param);
|
3001
|
-
}
|
3002
|
-
}
|
3003
|
-
call = new Call(exp, passedParams);
|
3004
|
-
call["do"] = true;
|
3005
|
-
return call;
|
3006
|
-
};
|
3007
|
-
|
3008
|
-
Op.prototype.compileNode = function(o) {
|
3009
|
-
var answer, isChain, lhs, message, ref3, rhs;
|
3010
|
-
isChain = this.isChainable() && this.first.isChainable();
|
3011
|
-
if (!isChain) {
|
3012
|
-
this.first.front = this.front;
|
3013
|
-
}
|
3014
|
-
if (this.operator === 'delete' && o.scope.check(this.first.unwrapAll().value)) {
|
3015
|
-
this.error('delete operand may not be argument or var');
|
3016
|
-
}
|
3017
|
-
if ((ref3 = this.operator) === '--' || ref3 === '++') {
|
3018
|
-
message = isUnassignable(this.first.unwrapAll().value);
|
3019
|
-
if (message) {
|
3020
|
-
this.first.error(message);
|
3021
|
-
}
|
3022
|
-
}
|
3023
|
-
if (this.isYield()) {
|
3024
|
-
return this.compileYield(o);
|
3025
|
-
}
|
3026
|
-
if (this.isUnary()) {
|
3027
|
-
return this.compileUnary(o);
|
3028
|
-
}
|
3029
|
-
if (isChain) {
|
3030
|
-
return this.compileChain(o);
|
3031
|
-
}
|
3032
|
-
switch (this.operator) {
|
3033
|
-
case '?':
|
3034
|
-
return this.compileExistence(o);
|
3035
|
-
case '**':
|
3036
|
-
return this.compilePower(o);
|
3037
|
-
case '//':
|
3038
|
-
return this.compileFloorDivision(o);
|
3039
|
-
case '%%':
|
3040
|
-
return this.compileModulo(o);
|
3041
|
-
default:
|
3042
|
-
lhs = this.first.compileToFragments(o, LEVEL_OP);
|
3043
|
-
rhs = this.second.compileToFragments(o, LEVEL_OP);
|
3044
|
-
answer = [].concat(lhs, this.makeCode(" " + this.operator + " "), rhs);
|
3045
|
-
if (o.level <= LEVEL_OP) {
|
3046
|
-
return answer;
|
3047
|
-
} else {
|
3048
|
-
return this.wrapInBraces(answer);
|
3049
|
-
}
|
3050
|
-
}
|
3051
|
-
};
|
3052
|
-
|
3053
|
-
Op.prototype.compileChain = function(o) {
|
3054
|
-
var fragments, fst, ref3, shared;
|
3055
|
-
ref3 = this.first.second.cache(o), this.first.second = ref3[0], shared = ref3[1];
|
3056
|
-
fst = this.first.compileToFragments(o, LEVEL_OP);
|
3057
|
-
fragments = fst.concat(this.makeCode(" " + (this.invert ? '&&' : '||') + " "), shared.compileToFragments(o), this.makeCode(" " + this.operator + " "), this.second.compileToFragments(o, LEVEL_OP));
|
3058
|
-
return this.wrapInBraces(fragments);
|
3059
|
-
};
|
3060
|
-
|
3061
|
-
Op.prototype.compileExistence = function(o) {
|
3062
|
-
var fst, ref;
|
3063
|
-
if (this.first.isComplex()) {
|
3064
|
-
ref = new IdentifierLiteral(o.scope.freeVariable('ref'));
|
3065
|
-
fst = new Parens(new Assign(ref, this.first));
|
3066
|
-
} else {
|
3067
|
-
fst = this.first;
|
3068
|
-
ref = fst;
|
3069
|
-
}
|
3070
|
-
return new If(new Existence(fst), ref, {
|
3071
|
-
type: 'if'
|
3072
|
-
}).addElse(this.second).compileToFragments(o);
|
3073
|
-
};
|
3074
|
-
|
3075
|
-
Op.prototype.compileUnary = function(o) {
|
3076
|
-
var op, parts, plusMinus;
|
3077
|
-
parts = [];
|
3078
|
-
op = this.operator;
|
3079
|
-
parts.push([this.makeCode(op)]);
|
3080
|
-
if (op === '!' && this.first instanceof Existence) {
|
3081
|
-
this.first.negated = !this.first.negated;
|
3082
|
-
return this.first.compileToFragments(o);
|
3083
|
-
}
|
3084
|
-
if (o.level >= LEVEL_ACCESS) {
|
3085
|
-
return (new Parens(this)).compileToFragments(o);
|
3086
|
-
}
|
3087
|
-
plusMinus = op === '+' || op === '-';
|
3088
|
-
if ((op === 'new' || op === 'typeof' || op === 'delete') || plusMinus && this.first instanceof Op && this.first.operator === op) {
|
3089
|
-
parts.push([this.makeCode(' ')]);
|
3090
|
-
}
|
3091
|
-
if ((plusMinus && this.first instanceof Op) || (op === 'new' && this.first.isStatement(o))) {
|
3092
|
-
this.first = new Parens(this.first);
|
3093
|
-
}
|
3094
|
-
parts.push(this.first.compileToFragments(o, LEVEL_OP));
|
3095
|
-
if (this.flip) {
|
3096
|
-
parts.reverse();
|
3097
|
-
}
|
3098
|
-
return this.joinFragmentArrays(parts, '');
|
3099
|
-
};
|
3100
|
-
|
3101
|
-
Op.prototype.compileYield = function(o) {
|
3102
|
-
var op, parts, ref3;
|
3103
|
-
parts = [];
|
3104
|
-
op = this.operator;
|
3105
|
-
if (o.scope.parent == null) {
|
3106
|
-
this.error('yield can only occur inside functions');
|
3107
|
-
}
|
3108
|
-
if (indexOf.call(Object.keys(this.first), 'expression') >= 0 && !(this.first instanceof Throw)) {
|
3109
|
-
if (this.first.expression != null) {
|
3110
|
-
parts.push(this.first.expression.compileToFragments(o, LEVEL_OP));
|
3111
|
-
}
|
3112
|
-
} else {
|
3113
|
-
if (o.level >= LEVEL_PAREN) {
|
3114
|
-
parts.push([this.makeCode("(")]);
|
3115
|
-
}
|
3116
|
-
parts.push([this.makeCode(op)]);
|
3117
|
-
if (((ref3 = this.first.base) != null ? ref3.value : void 0) !== '') {
|
3118
|
-
parts.push([this.makeCode(" ")]);
|
3119
|
-
}
|
3120
|
-
parts.push(this.first.compileToFragments(o, LEVEL_OP));
|
3121
|
-
if (o.level >= LEVEL_PAREN) {
|
3122
|
-
parts.push([this.makeCode(")")]);
|
3123
|
-
}
|
3124
|
-
}
|
3125
|
-
return this.joinFragmentArrays(parts, '');
|
3126
|
-
};
|
3127
|
-
|
3128
|
-
Op.prototype.compilePower = function(o) {
|
3129
|
-
var pow;
|
3130
|
-
pow = new Value(new IdentifierLiteral('Math'), [new Access(new PropertyName('pow'))]);
|
3131
|
-
return new Call(pow, [this.first, this.second]).compileToFragments(o);
|
3132
|
-
};
|
3133
|
-
|
3134
|
-
Op.prototype.compileFloorDivision = function(o) {
|
3135
|
-
var div, floor, second;
|
3136
|
-
floor = new Value(new IdentifierLiteral('Math'), [new Access(new PropertyName('floor'))]);
|
3137
|
-
second = this.second.isComplex() ? new Parens(this.second) : this.second;
|
3138
|
-
div = new Op('/', this.first, second);
|
3139
|
-
return new Call(floor, [div]).compileToFragments(o);
|
3140
|
-
};
|
3141
|
-
|
3142
|
-
Op.prototype.compileModulo = function(o) {
|
3143
|
-
var mod;
|
3144
|
-
mod = new Value(new Literal(utility('modulo', o)));
|
3145
|
-
return new Call(mod, [this.first, this.second]).compileToFragments(o);
|
3146
|
-
};
|
3147
|
-
|
3148
|
-
Op.prototype.toString = function(idt) {
|
3149
|
-
return Op.__super__.toString.call(this, idt, this.constructor.name + ' ' + this.operator);
|
3150
|
-
};
|
3151
|
-
|
3152
|
-
return Op;
|
3153
|
-
|
3154
|
-
})(Base);
|
3155
|
-
|
3156
|
-
exports.In = In = (function(superClass1) {
|
3157
|
-
extend1(In, superClass1);
|
3158
|
-
|
3159
|
-
function In(object, array) {
|
3160
|
-
this.object = object;
|
3161
|
-
this.array = array;
|
3162
|
-
}
|
3163
|
-
|
3164
|
-
In.prototype.children = ['object', 'array'];
|
3165
|
-
|
3166
|
-
In.prototype.invert = NEGATE;
|
3167
|
-
|
3168
|
-
In.prototype.compileNode = function(o) {
|
3169
|
-
var hasSplat, j, len1, obj, ref3;
|
3170
|
-
if (this.array instanceof Value && this.array.isArray() && this.array.base.objects.length) {
|
3171
|
-
ref3 = this.array.base.objects;
|
3172
|
-
for (j = 0, len1 = ref3.length; j < len1; j++) {
|
3173
|
-
obj = ref3[j];
|
3174
|
-
if (!(obj instanceof Splat)) {
|
3175
|
-
continue;
|
3176
|
-
}
|
3177
|
-
hasSplat = true;
|
3178
|
-
break;
|
3179
|
-
}
|
3180
|
-
if (!hasSplat) {
|
3181
|
-
return this.compileOrTest(o);
|
3182
|
-
}
|
3183
|
-
}
|
3184
|
-
return this.compileLoopTest(o);
|
3185
|
-
};
|
3186
|
-
|
3187
|
-
In.prototype.compileOrTest = function(o) {
|
3188
|
-
var cmp, cnj, i, item, j, len1, ref, ref3, ref4, ref5, sub, tests;
|
3189
|
-
ref3 = this.object.cache(o, LEVEL_OP), sub = ref3[0], ref = ref3[1];
|
3190
|
-
ref4 = this.negated ? [' !== ', ' && '] : [' === ', ' || '], cmp = ref4[0], cnj = ref4[1];
|
3191
|
-
tests = [];
|
3192
|
-
ref5 = this.array.base.objects;
|
3193
|
-
for (i = j = 0, len1 = ref5.length; j < len1; i = ++j) {
|
3194
|
-
item = ref5[i];
|
3195
|
-
if (i) {
|
3196
|
-
tests.push(this.makeCode(cnj));
|
3197
|
-
}
|
3198
|
-
tests = tests.concat((i ? ref : sub), this.makeCode(cmp), item.compileToFragments(o, LEVEL_ACCESS));
|
3199
|
-
}
|
3200
|
-
if (o.level < LEVEL_OP) {
|
3201
|
-
return tests;
|
3202
|
-
} else {
|
3203
|
-
return this.wrapInBraces(tests);
|
3204
|
-
}
|
3205
|
-
};
|
3206
|
-
|
3207
|
-
In.prototype.compileLoopTest = function(o) {
|
3208
|
-
var fragments, ref, ref3, sub;
|
3209
|
-
ref3 = this.object.cache(o, LEVEL_LIST), sub = ref3[0], ref = ref3[1];
|
3210
|
-
fragments = [].concat(this.makeCode(utility('indexOf', o) + ".call("), this.array.compileToFragments(o, LEVEL_LIST), this.makeCode(", "), ref, this.makeCode(") " + (this.negated ? '< 0' : '>= 0')));
|
3211
|
-
if (fragmentsToText(sub) === fragmentsToText(ref)) {
|
3212
|
-
return fragments;
|
3213
|
-
}
|
3214
|
-
fragments = sub.concat(this.makeCode(', '), fragments);
|
3215
|
-
if (o.level < LEVEL_LIST) {
|
3216
|
-
return fragments;
|
3217
|
-
} else {
|
3218
|
-
return this.wrapInBraces(fragments);
|
3219
|
-
}
|
3220
|
-
};
|
3221
|
-
|
3222
|
-
In.prototype.toString = function(idt) {
|
3223
|
-
return In.__super__.toString.call(this, idt, this.constructor.name + (this.negated ? '!' : ''));
|
3224
|
-
};
|
3225
|
-
|
3226
|
-
return In;
|
3227
|
-
|
3228
|
-
})(Base);
|
3229
|
-
|
3230
|
-
exports.Try = Try = (function(superClass1) {
|
3231
|
-
extend1(Try, superClass1);
|
3232
|
-
|
3233
|
-
function Try(attempt, errorVariable, recovery, ensure) {
|
3234
|
-
this.attempt = attempt;
|
3235
|
-
this.errorVariable = errorVariable;
|
3236
|
-
this.recovery = recovery;
|
3237
|
-
this.ensure = ensure;
|
3238
|
-
}
|
3239
|
-
|
3240
|
-
Try.prototype.children = ['attempt', 'recovery', 'ensure'];
|
3241
|
-
|
3242
|
-
Try.prototype.isStatement = YES;
|
3243
|
-
|
3244
|
-
Try.prototype.jumps = function(o) {
|
3245
|
-
var ref3;
|
3246
|
-
return this.attempt.jumps(o) || ((ref3 = this.recovery) != null ? ref3.jumps(o) : void 0);
|
3247
|
-
};
|
3248
|
-
|
3249
|
-
Try.prototype.makeReturn = function(res) {
|
3250
|
-
if (this.attempt) {
|
3251
|
-
this.attempt = this.attempt.makeReturn(res);
|
3252
|
-
}
|
3253
|
-
if (this.recovery) {
|
3254
|
-
this.recovery = this.recovery.makeReturn(res);
|
3255
|
-
}
|
3256
|
-
return this;
|
3257
|
-
};
|
3258
|
-
|
3259
|
-
Try.prototype.compileNode = function(o) {
|
3260
|
-
var catchPart, ensurePart, generatedErrorVariableName, message, placeholder, tryPart;
|
3261
|
-
o.indent += TAB;
|
3262
|
-
tryPart = this.attempt.compileToFragments(o, LEVEL_TOP);
|
3263
|
-
catchPart = this.recovery ? (generatedErrorVariableName = o.scope.freeVariable('error', {
|
3264
|
-
reserve: false
|
3265
|
-
}), placeholder = new IdentifierLiteral(generatedErrorVariableName), this.errorVariable ? (message = isUnassignable(this.errorVariable.unwrapAll().value), message ? this.errorVariable.error(message) : void 0, this.recovery.unshift(new Assign(this.errorVariable, placeholder))) : void 0, [].concat(this.makeCode(" catch ("), placeholder.compileToFragments(o), this.makeCode(") {\n"), this.recovery.compileToFragments(o, LEVEL_TOP), this.makeCode("\n" + this.tab + "}"))) : !(this.ensure || this.recovery) ? (generatedErrorVariableName = o.scope.freeVariable('error', {
|
3266
|
-
reserve: false
|
3267
|
-
}), [this.makeCode(" catch (" + generatedErrorVariableName + ") {}")]) : [];
|
3268
|
-
ensurePart = this.ensure ? [].concat(this.makeCode(" finally {\n"), this.ensure.compileToFragments(o, LEVEL_TOP), this.makeCode("\n" + this.tab + "}")) : [];
|
3269
|
-
return [].concat(this.makeCode(this.tab + "try {\n"), tryPart, this.makeCode("\n" + this.tab + "}"), catchPart, ensurePart);
|
3270
|
-
};
|
3271
|
-
|
3272
|
-
return Try;
|
3273
|
-
|
3274
|
-
})(Base);
|
3275
|
-
|
3276
|
-
exports.Throw = Throw = (function(superClass1) {
|
3277
|
-
extend1(Throw, superClass1);
|
3278
|
-
|
3279
|
-
function Throw(expression) {
|
3280
|
-
this.expression = expression;
|
3281
|
-
}
|
3282
|
-
|
3283
|
-
Throw.prototype.children = ['expression'];
|
3284
|
-
|
3285
|
-
Throw.prototype.isStatement = YES;
|
3286
|
-
|
3287
|
-
Throw.prototype.jumps = NO;
|
3288
|
-
|
3289
|
-
Throw.prototype.makeReturn = THIS;
|
3290
|
-
|
3291
|
-
Throw.prototype.compileNode = function(o) {
|
3292
|
-
return [].concat(this.makeCode(this.tab + "throw "), this.expression.compileToFragments(o), this.makeCode(";"));
|
3293
|
-
};
|
3294
|
-
|
3295
|
-
return Throw;
|
3296
|
-
|
3297
|
-
})(Base);
|
3298
|
-
|
3299
|
-
exports.Existence = Existence = (function(superClass1) {
|
3300
|
-
extend1(Existence, superClass1);
|
3301
|
-
|
3302
|
-
function Existence(expression) {
|
3303
|
-
this.expression = expression;
|
3304
|
-
}
|
3305
|
-
|
3306
|
-
Existence.prototype.children = ['expression'];
|
3307
|
-
|
3308
|
-
Existence.prototype.invert = NEGATE;
|
3309
|
-
|
3310
|
-
Existence.prototype.compileNode = function(o) {
|
3311
|
-
var cmp, cnj, code, ref3;
|
3312
|
-
this.expression.front = this.front;
|
3313
|
-
code = this.expression.compile(o, LEVEL_OP);
|
3314
|
-
if (this.expression.unwrap() instanceof IdentifierLiteral && !o.scope.check(code)) {
|
3315
|
-
ref3 = this.negated ? ['===', '||'] : ['!==', '&&'], cmp = ref3[0], cnj = ref3[1];
|
3316
|
-
code = "typeof " + code + " " + cmp + " \"undefined\" " + cnj + " " + code + " " + cmp + " null";
|
3317
|
-
} else {
|
3318
|
-
code = code + " " + (this.negated ? '==' : '!=') + " null";
|
3319
|
-
}
|
3320
|
-
return [this.makeCode(o.level <= LEVEL_COND ? code : "(" + code + ")")];
|
3321
|
-
};
|
3322
|
-
|
3323
|
-
return Existence;
|
3324
|
-
|
3325
|
-
})(Base);
|
3326
|
-
|
3327
|
-
exports.Parens = Parens = (function(superClass1) {
|
3328
|
-
extend1(Parens, superClass1);
|
3329
|
-
|
3330
|
-
function Parens(body1) {
|
3331
|
-
this.body = body1;
|
3332
|
-
}
|
3333
|
-
|
3334
|
-
Parens.prototype.children = ['body'];
|
3335
|
-
|
3336
|
-
Parens.prototype.unwrap = function() {
|
3337
|
-
return this.body;
|
3338
|
-
};
|
3339
|
-
|
3340
|
-
Parens.prototype.isComplex = function() {
|
3341
|
-
return this.body.isComplex();
|
3342
|
-
};
|
3343
|
-
|
3344
|
-
Parens.prototype.compileNode = function(o) {
|
3345
|
-
var bare, expr, fragments;
|
3346
|
-
expr = this.body.unwrap();
|
3347
|
-
if (expr instanceof Value && expr.isAtomic()) {
|
3348
|
-
expr.front = this.front;
|
3349
|
-
return expr.compileToFragments(o);
|
3350
|
-
}
|
3351
|
-
fragments = expr.compileToFragments(o, LEVEL_PAREN);
|
3352
|
-
bare = o.level < LEVEL_OP && (expr instanceof Op || expr instanceof Call || (expr instanceof For && expr.returns)) && (o.level < LEVEL_COND || fragments.length <= 3);
|
3353
|
-
if (bare) {
|
3354
|
-
return fragments;
|
3355
|
-
} else {
|
3356
|
-
return this.wrapInBraces(fragments);
|
3357
|
-
}
|
3358
|
-
};
|
3359
|
-
|
3360
|
-
return Parens;
|
3361
|
-
|
3362
|
-
})(Base);
|
3363
|
-
|
3364
|
-
exports.StringWithInterpolations = StringWithInterpolations = (function(superClass1) {
|
3365
|
-
extend1(StringWithInterpolations, superClass1);
|
3366
|
-
|
3367
|
-
function StringWithInterpolations() {
|
3368
|
-
return StringWithInterpolations.__super__.constructor.apply(this, arguments);
|
3369
|
-
}
|
3370
|
-
|
3371
|
-
StringWithInterpolations.prototype.compileNode = function(o) {
|
3372
|
-
var element, elements, expr, fragments, j, len1, value;
|
3373
|
-
if (!o.inTaggedTemplateCall) {
|
3374
|
-
return StringWithInterpolations.__super__.compileNode.apply(this, arguments);
|
3375
|
-
}
|
3376
|
-
expr = this.body.unwrap();
|
3377
|
-
elements = [];
|
3378
|
-
expr.traverseChildren(false, function(node) {
|
3379
|
-
if (node instanceof StringLiteral) {
|
3380
|
-
elements.push(node);
|
3381
|
-
return true;
|
3382
|
-
} else if (node instanceof Parens) {
|
3383
|
-
elements.push(node);
|
3384
|
-
return false;
|
3385
|
-
}
|
3386
|
-
return true;
|
3387
|
-
});
|
3388
|
-
fragments = [];
|
3389
|
-
fragments.push(this.makeCode('`'));
|
3390
|
-
for (j = 0, len1 = elements.length; j < len1; j++) {
|
3391
|
-
element = elements[j];
|
3392
|
-
if (element instanceof StringLiteral) {
|
3393
|
-
value = element.value.slice(1, -1);
|
3394
|
-
value = value.replace(/(\\*)(`|\$\{)/g, function(match, backslashes, toBeEscaped) {
|
3395
|
-
if (backslashes.length % 2 === 0) {
|
3396
|
-
return backslashes + "\\" + toBeEscaped;
|
3397
|
-
} else {
|
3398
|
-
return match;
|
3399
|
-
}
|
3400
|
-
});
|
3401
|
-
fragments.push(this.makeCode(value));
|
3402
|
-
} else {
|
3403
|
-
fragments.push(this.makeCode('${'));
|
3404
|
-
fragments.push.apply(fragments, element.compileToFragments(o, LEVEL_PAREN));
|
3405
|
-
fragments.push(this.makeCode('}'));
|
3406
|
-
}
|
3407
|
-
}
|
3408
|
-
fragments.push(this.makeCode('`'));
|
3409
|
-
return fragments;
|
3410
|
-
};
|
3411
|
-
|
3412
|
-
return StringWithInterpolations;
|
3413
|
-
|
3414
|
-
})(Parens);
|
3415
|
-
|
3416
|
-
exports.For = For = (function(superClass1) {
|
3417
|
-
extend1(For, superClass1);
|
3418
|
-
|
3419
|
-
function For(body, source) {
|
3420
|
-
var ref3;
|
3421
|
-
this.source = source.source, this.guard = source.guard, this.step = source.step, this.name = source.name, this.index = source.index;
|
3422
|
-
this.body = Block.wrap([body]);
|
3423
|
-
this.own = !!source.own;
|
3424
|
-
this.object = !!source.object;
|
3425
|
-
this.from = !!source.from;
|
3426
|
-
if (this.from && this.index) {
|
3427
|
-
this.index.error('cannot use index with for-from');
|
3428
|
-
}
|
3429
|
-
if (this.own && !this.object) {
|
3430
|
-
source.ownTag.error("cannot use own with for-" + (this.from ? 'from' : 'in'));
|
3431
|
-
}
|
3432
|
-
if (this.object) {
|
3433
|
-
ref3 = [this.index, this.name], this.name = ref3[0], this.index = ref3[1];
|
3434
|
-
}
|
3435
|
-
if (this.index instanceof Value && !this.index.isAssignable()) {
|
3436
|
-
this.index.error('index cannot be a pattern matching expression');
|
3437
|
-
}
|
3438
|
-
this.range = this.source instanceof Value && this.source.base instanceof Range && !this.source.properties.length && !this.from;
|
3439
|
-
this.pattern = this.name instanceof Value;
|
3440
|
-
if (this.range && this.index) {
|
3441
|
-
this.index.error('indexes do not apply to range loops');
|
3442
|
-
}
|
3443
|
-
if (this.range && this.pattern) {
|
3444
|
-
this.name.error('cannot pattern match over range loops');
|
3445
|
-
}
|
3446
|
-
this.returns = false;
|
3447
|
-
}
|
3448
|
-
|
3449
|
-
For.prototype.children = ['body', 'source', 'guard', 'step'];
|
3450
|
-
|
3451
|
-
For.prototype.compileNode = function(o) {
|
3452
|
-
var body, bodyFragments, compare, compareDown, declare, declareDown, defPart, defPartFragments, down, forPartFragments, guardPart, idt1, increment, index, ivar, kvar, kvarAssign, last, lvar, name, namePart, ref, ref3, ref4, resultPart, returnResult, rvar, scope, source, step, stepNum, stepVar, svar, varPart;
|
3453
|
-
body = Block.wrap([this.body]);
|
3454
|
-
ref3 = body.expressions, last = ref3[ref3.length - 1];
|
3455
|
-
if ((last != null ? last.jumps() : void 0) instanceof Return) {
|
3456
|
-
this.returns = false;
|
3457
|
-
}
|
3458
|
-
source = this.range ? this.source.base : this.source;
|
3459
|
-
scope = o.scope;
|
3460
|
-
if (!this.pattern) {
|
3461
|
-
name = this.name && (this.name.compile(o, LEVEL_LIST));
|
3462
|
-
}
|
3463
|
-
index = this.index && (this.index.compile(o, LEVEL_LIST));
|
3464
|
-
if (name && !this.pattern) {
|
3465
|
-
scope.find(name);
|
3466
|
-
}
|
3467
|
-
if (index && !(this.index instanceof Value)) {
|
3468
|
-
scope.find(index);
|
3469
|
-
}
|
3470
|
-
if (this.returns) {
|
3471
|
-
rvar = scope.freeVariable('results');
|
3472
|
-
}
|
3473
|
-
if (this.from) {
|
3474
|
-
if (this.pattern) {
|
3475
|
-
ivar = scope.freeVariable('x', {
|
3476
|
-
single: true
|
3477
|
-
});
|
3478
|
-
}
|
3479
|
-
} else {
|
3480
|
-
ivar = (this.object && index) || scope.freeVariable('i', {
|
3481
|
-
single: true
|
3482
|
-
});
|
3483
|
-
}
|
3484
|
-
kvar = ((this.range || this.from) && name) || index || ivar;
|
3485
|
-
kvarAssign = kvar !== ivar ? kvar + " = " : "";
|
3486
|
-
if (this.step && !this.range) {
|
3487
|
-
ref4 = this.cacheToCodeFragments(this.step.cache(o, LEVEL_LIST, isComplexOrAssignable)), step = ref4[0], stepVar = ref4[1];
|
3488
|
-
if (this.step.isNumber()) {
|
3489
|
-
stepNum = Number(stepVar);
|
3490
|
-
}
|
3491
|
-
}
|
3492
|
-
if (this.pattern) {
|
3493
|
-
name = ivar;
|
3494
|
-
}
|
3495
|
-
varPart = '';
|
3496
|
-
guardPart = '';
|
3497
|
-
defPart = '';
|
3498
|
-
idt1 = this.tab + TAB;
|
3499
|
-
if (this.range) {
|
3500
|
-
forPartFragments = source.compileToFragments(merge(o, {
|
3501
|
-
index: ivar,
|
3502
|
-
name: name,
|
3503
|
-
step: this.step,
|
3504
|
-
isComplex: isComplexOrAssignable
|
3505
|
-
}));
|
3506
|
-
} else {
|
3507
|
-
svar = this.source.compile(o, LEVEL_LIST);
|
3508
|
-
if ((name || this.own) && !(this.source.unwrap() instanceof IdentifierLiteral)) {
|
3509
|
-
defPart += "" + this.tab + (ref = scope.freeVariable('ref')) + " = " + svar + ";\n";
|
3510
|
-
svar = ref;
|
3511
|
-
}
|
3512
|
-
if (name && !this.pattern && !this.from) {
|
3513
|
-
namePart = name + " = " + svar + "[" + kvar + "]";
|
3514
|
-
}
|
3515
|
-
if (!this.object && !this.from) {
|
3516
|
-
if (step !== stepVar) {
|
3517
|
-
defPart += "" + this.tab + step + ";\n";
|
3518
|
-
}
|
3519
|
-
down = stepNum < 0;
|
3520
|
-
if (!(this.step && (stepNum != null) && down)) {
|
3521
|
-
lvar = scope.freeVariable('len');
|
3522
|
-
}
|
3523
|
-
declare = "" + kvarAssign + ivar + " = 0, " + lvar + " = " + svar + ".length";
|
3524
|
-
declareDown = "" + kvarAssign + ivar + " = " + svar + ".length - 1";
|
3525
|
-
compare = ivar + " < " + lvar;
|
3526
|
-
compareDown = ivar + " >= 0";
|
3527
|
-
if (this.step) {
|
3528
|
-
if (stepNum != null) {
|
3529
|
-
if (down) {
|
3530
|
-
compare = compareDown;
|
3531
|
-
declare = declareDown;
|
3532
|
-
}
|
3533
|
-
} else {
|
3534
|
-
compare = stepVar + " > 0 ? " + compare + " : " + compareDown;
|
3535
|
-
declare = "(" + stepVar + " > 0 ? (" + declare + ") : " + declareDown + ")";
|
3536
|
-
}
|
3537
|
-
increment = ivar + " += " + stepVar;
|
3538
|
-
} else {
|
3539
|
-
increment = "" + (kvar !== ivar ? "++" + ivar : ivar + "++");
|
3540
|
-
}
|
3541
|
-
forPartFragments = [this.makeCode(declare + "; " + compare + "; " + kvarAssign + increment)];
|
3542
|
-
}
|
3543
|
-
}
|
3544
|
-
if (this.returns) {
|
3545
|
-
resultPart = "" + this.tab + rvar + " = [];\n";
|
3546
|
-
returnResult = "\n" + this.tab + "return " + rvar + ";";
|
3547
|
-
body.makeReturn(rvar);
|
3548
|
-
}
|
3549
|
-
if (this.guard) {
|
3550
|
-
if (body.expressions.length > 1) {
|
3551
|
-
body.expressions.unshift(new If((new Parens(this.guard)).invert(), new StatementLiteral("continue")));
|
3552
|
-
} else {
|
3553
|
-
if (this.guard) {
|
3554
|
-
body = Block.wrap([new If(this.guard, body)]);
|
3555
|
-
}
|
3556
|
-
}
|
3557
|
-
}
|
3558
|
-
if (this.pattern) {
|
3559
|
-
body.expressions.unshift(new Assign(this.name, this.from ? new IdentifierLiteral(kvar) : new Literal(svar + "[" + kvar + "]")));
|
3560
|
-
}
|
3561
|
-
defPartFragments = [].concat(this.makeCode(defPart), this.pluckDirectCall(o, body));
|
3562
|
-
if (namePart) {
|
3563
|
-
varPart = "\n" + idt1 + namePart + ";";
|
3564
|
-
}
|
3565
|
-
if (this.object) {
|
3566
|
-
forPartFragments = [this.makeCode(kvar + " in " + svar)];
|
3567
|
-
if (this.own) {
|
3568
|
-
guardPart = "\n" + idt1 + "if (!" + (utility('hasProp', o)) + ".call(" + svar + ", " + kvar + ")) continue;";
|
3569
|
-
}
|
3570
|
-
} else if (this.from) {
|
3571
|
-
forPartFragments = [this.makeCode(kvar + " of " + svar)];
|
3572
|
-
}
|
3573
|
-
bodyFragments = body.compileToFragments(merge(o, {
|
3574
|
-
indent: idt1
|
3575
|
-
}), LEVEL_TOP);
|
3576
|
-
if (bodyFragments && bodyFragments.length > 0) {
|
3577
|
-
bodyFragments = [].concat(this.makeCode("\n"), bodyFragments, this.makeCode("\n"));
|
3578
|
-
}
|
3579
|
-
return [].concat(defPartFragments, this.makeCode("" + (resultPart || '') + this.tab + "for ("), forPartFragments, this.makeCode(") {" + guardPart + varPart), bodyFragments, this.makeCode(this.tab + "}" + (returnResult || '')));
|
3580
|
-
};
|
3581
|
-
|
3582
|
-
For.prototype.pluckDirectCall = function(o, body) {
|
3583
|
-
var base, defs, expr, fn, idx, j, len1, ref, ref3, ref4, ref5, ref6, ref7, ref8, ref9, val;
|
3584
|
-
defs = [];
|
3585
|
-
ref3 = body.expressions;
|
3586
|
-
for (idx = j = 0, len1 = ref3.length; j < len1; idx = ++j) {
|
3587
|
-
expr = ref3[idx];
|
3588
|
-
expr = expr.unwrapAll();
|
3589
|
-
if (!(expr instanceof Call)) {
|
3590
|
-
continue;
|
3591
|
-
}
|
3592
|
-
val = (ref4 = expr.variable) != null ? ref4.unwrapAll() : void 0;
|
3593
|
-
if (!((val instanceof Code) || (val instanceof Value && ((ref5 = val.base) != null ? ref5.unwrapAll() : void 0) instanceof Code && val.properties.length === 1 && ((ref6 = (ref7 = val.properties[0].name) != null ? ref7.value : void 0) === 'call' || ref6 === 'apply')))) {
|
3594
|
-
continue;
|
3595
|
-
}
|
3596
|
-
fn = ((ref8 = val.base) != null ? ref8.unwrapAll() : void 0) || val;
|
3597
|
-
ref = new IdentifierLiteral(o.scope.freeVariable('fn'));
|
3598
|
-
base = new Value(ref);
|
3599
|
-
if (val.base) {
|
3600
|
-
ref9 = [base, val], val.base = ref9[0], base = ref9[1];
|
3601
|
-
}
|
3602
|
-
body.expressions[idx] = new Call(base, expr.args);
|
3603
|
-
defs = defs.concat(this.makeCode(this.tab), new Assign(ref, fn).compileToFragments(o, LEVEL_TOP), this.makeCode(';\n'));
|
3604
|
-
}
|
3605
|
-
return defs;
|
3606
|
-
};
|
3607
|
-
|
3608
|
-
return For;
|
3609
|
-
|
3610
|
-
})(While);
|
3611
|
-
|
3612
|
-
exports.Switch = Switch = (function(superClass1) {
|
3613
|
-
extend1(Switch, superClass1);
|
3614
|
-
|
3615
|
-
function Switch(subject, cases, otherwise) {
|
3616
|
-
this.subject = subject;
|
3617
|
-
this.cases = cases;
|
3618
|
-
this.otherwise = otherwise;
|
3619
|
-
}
|
3620
|
-
|
3621
|
-
Switch.prototype.children = ['subject', 'cases', 'otherwise'];
|
3622
|
-
|
3623
|
-
Switch.prototype.isStatement = YES;
|
3624
|
-
|
3625
|
-
Switch.prototype.jumps = function(o) {
|
3626
|
-
var block, conds, j, jumpNode, len1, ref3, ref4, ref5;
|
3627
|
-
if (o == null) {
|
3628
|
-
o = {
|
3629
|
-
block: true
|
3630
|
-
};
|
3631
|
-
}
|
3632
|
-
ref3 = this.cases;
|
3633
|
-
for (j = 0, len1 = ref3.length; j < len1; j++) {
|
3634
|
-
ref4 = ref3[j], conds = ref4[0], block = ref4[1];
|
3635
|
-
if (jumpNode = block.jumps(o)) {
|
3636
|
-
return jumpNode;
|
3637
|
-
}
|
3638
|
-
}
|
3639
|
-
return (ref5 = this.otherwise) != null ? ref5.jumps(o) : void 0;
|
3640
|
-
};
|
3641
|
-
|
3642
|
-
Switch.prototype.makeReturn = function(res) {
|
3643
|
-
var j, len1, pair, ref3, ref4;
|
3644
|
-
ref3 = this.cases;
|
3645
|
-
for (j = 0, len1 = ref3.length; j < len1; j++) {
|
3646
|
-
pair = ref3[j];
|
3647
|
-
pair[1].makeReturn(res);
|
3648
|
-
}
|
3649
|
-
if (res) {
|
3650
|
-
this.otherwise || (this.otherwise = new Block([new Literal('void 0')]));
|
3651
|
-
}
|
3652
|
-
if ((ref4 = this.otherwise) != null) {
|
3653
|
-
ref4.makeReturn(res);
|
3654
|
-
}
|
3655
|
-
return this;
|
3656
|
-
};
|
3657
|
-
|
3658
|
-
Switch.prototype.compileNode = function(o) {
|
3659
|
-
var block, body, cond, conditions, expr, fragments, i, idt1, idt2, j, k, len1, len2, ref3, ref4, ref5;
|
3660
|
-
idt1 = o.indent + TAB;
|
3661
|
-
idt2 = o.indent = idt1 + TAB;
|
3662
|
-
fragments = [].concat(this.makeCode(this.tab + "switch ("), (this.subject ? this.subject.compileToFragments(o, LEVEL_PAREN) : this.makeCode("false")), this.makeCode(") {\n"));
|
3663
|
-
ref3 = this.cases;
|
3664
|
-
for (i = j = 0, len1 = ref3.length; j < len1; i = ++j) {
|
3665
|
-
ref4 = ref3[i], conditions = ref4[0], block = ref4[1];
|
3666
|
-
ref5 = flatten([conditions]);
|
3667
|
-
for (k = 0, len2 = ref5.length; k < len2; k++) {
|
3668
|
-
cond = ref5[k];
|
3669
|
-
if (!this.subject) {
|
3670
|
-
cond = cond.invert();
|
3671
|
-
}
|
3672
|
-
fragments = fragments.concat(this.makeCode(idt1 + "case "), cond.compileToFragments(o, LEVEL_PAREN), this.makeCode(":\n"));
|
3673
|
-
}
|
3674
|
-
if ((body = block.compileToFragments(o, LEVEL_TOP)).length > 0) {
|
3675
|
-
fragments = fragments.concat(body, this.makeCode('\n'));
|
3676
|
-
}
|
3677
|
-
if (i === this.cases.length - 1 && !this.otherwise) {
|
3678
|
-
break;
|
3679
|
-
}
|
3680
|
-
expr = this.lastNonComment(block.expressions);
|
3681
|
-
if (expr instanceof Return || (expr instanceof Literal && expr.jumps() && expr.value !== 'debugger')) {
|
3682
|
-
continue;
|
3683
|
-
}
|
3684
|
-
fragments.push(cond.makeCode(idt2 + 'break;\n'));
|
3685
|
-
}
|
3686
|
-
if (this.otherwise && this.otherwise.expressions.length) {
|
3687
|
-
fragments.push.apply(fragments, [this.makeCode(idt1 + "default:\n")].concat(slice.call(this.otherwise.compileToFragments(o, LEVEL_TOP)), [this.makeCode("\n")]));
|
3688
|
-
}
|
3689
|
-
fragments.push(this.makeCode(this.tab + '}'));
|
3690
|
-
return fragments;
|
3691
|
-
};
|
3692
|
-
|
3693
|
-
return Switch;
|
3694
|
-
|
3695
|
-
})(Base);
|
3696
|
-
|
3697
|
-
exports.If = If = (function(superClass1) {
|
3698
|
-
extend1(If, superClass1);
|
3699
|
-
|
3700
|
-
function If(condition, body1, options) {
|
3701
|
-
this.body = body1;
|
3702
|
-
if (options == null) {
|
3703
|
-
options = {};
|
3704
|
-
}
|
3705
|
-
this.condition = options.type === 'unless' ? condition.invert() : condition;
|
3706
|
-
this.elseBody = null;
|
3707
|
-
this.isChain = false;
|
3708
|
-
this.soak = options.soak;
|
3709
|
-
}
|
3710
|
-
|
3711
|
-
If.prototype.children = ['condition', 'body', 'elseBody'];
|
3712
|
-
|
3713
|
-
If.prototype.bodyNode = function() {
|
3714
|
-
var ref3;
|
3715
|
-
return (ref3 = this.body) != null ? ref3.unwrap() : void 0;
|
3716
|
-
};
|
3717
|
-
|
3718
|
-
If.prototype.elseBodyNode = function() {
|
3719
|
-
var ref3;
|
3720
|
-
return (ref3 = this.elseBody) != null ? ref3.unwrap() : void 0;
|
3721
|
-
};
|
3722
|
-
|
3723
|
-
If.prototype.addElse = function(elseBody) {
|
3724
|
-
if (this.isChain) {
|
3725
|
-
this.elseBodyNode().addElse(elseBody);
|
3726
|
-
} else {
|
3727
|
-
this.isChain = elseBody instanceof If;
|
3728
|
-
this.elseBody = this.ensureBlock(elseBody);
|
3729
|
-
this.elseBody.updateLocationDataIfMissing(elseBody.locationData);
|
3730
|
-
}
|
3731
|
-
return this;
|
3732
|
-
};
|
3733
|
-
|
3734
|
-
If.prototype.isStatement = function(o) {
|
3735
|
-
var ref3;
|
3736
|
-
return (o != null ? o.level : void 0) === LEVEL_TOP || this.bodyNode().isStatement(o) || ((ref3 = this.elseBodyNode()) != null ? ref3.isStatement(o) : void 0);
|
3737
|
-
};
|
3738
|
-
|
3739
|
-
If.prototype.jumps = function(o) {
|
3740
|
-
var ref3;
|
3741
|
-
return this.body.jumps(o) || ((ref3 = this.elseBody) != null ? ref3.jumps(o) : void 0);
|
3742
|
-
};
|
3743
|
-
|
3744
|
-
If.prototype.compileNode = function(o) {
|
3745
|
-
if (this.isStatement(o)) {
|
3746
|
-
return this.compileStatement(o);
|
3747
|
-
} else {
|
3748
|
-
return this.compileExpression(o);
|
3749
|
-
}
|
3750
|
-
};
|
3751
|
-
|
3752
|
-
If.prototype.makeReturn = function(res) {
|
3753
|
-
if (res) {
|
3754
|
-
this.elseBody || (this.elseBody = new Block([new Literal('void 0')]));
|
3755
|
-
}
|
3756
|
-
this.body && (this.body = new Block([this.body.makeReturn(res)]));
|
3757
|
-
this.elseBody && (this.elseBody = new Block([this.elseBody.makeReturn(res)]));
|
3758
|
-
return this;
|
3759
|
-
};
|
3760
|
-
|
3761
|
-
If.prototype.ensureBlock = function(node) {
|
3762
|
-
if (node instanceof Block) {
|
3763
|
-
return node;
|
3764
|
-
} else {
|
3765
|
-
return new Block([node]);
|
3766
|
-
}
|
3767
|
-
};
|
3768
|
-
|
3769
|
-
If.prototype.compileStatement = function(o) {
|
3770
|
-
var answer, body, child, cond, exeq, ifPart, indent;
|
3771
|
-
child = del(o, 'chainChild');
|
3772
|
-
exeq = del(o, 'isExistentialEquals');
|
3773
|
-
if (exeq) {
|
3774
|
-
return new If(this.condition.invert(), this.elseBodyNode(), {
|
3775
|
-
type: 'if'
|
3776
|
-
}).compileToFragments(o);
|
3777
|
-
}
|
3778
|
-
indent = o.indent + TAB;
|
3779
|
-
cond = this.condition.compileToFragments(o, LEVEL_PAREN);
|
3780
|
-
body = this.ensureBlock(this.body).compileToFragments(merge(o, {
|
3781
|
-
indent: indent
|
3782
|
-
}));
|
3783
|
-
ifPart = [].concat(this.makeCode("if ("), cond, this.makeCode(") {\n"), body, this.makeCode("\n" + this.tab + "}"));
|
3784
|
-
if (!child) {
|
3785
|
-
ifPart.unshift(this.makeCode(this.tab));
|
3786
|
-
}
|
3787
|
-
if (!this.elseBody) {
|
3788
|
-
return ifPart;
|
3789
|
-
}
|
3790
|
-
answer = ifPart.concat(this.makeCode(' else '));
|
3791
|
-
if (this.isChain) {
|
3792
|
-
o.chainChild = true;
|
3793
|
-
answer = answer.concat(this.elseBody.unwrap().compileToFragments(o, LEVEL_TOP));
|
3794
|
-
} else {
|
3795
|
-
answer = answer.concat(this.makeCode("{\n"), this.elseBody.compileToFragments(merge(o, {
|
3796
|
-
indent: indent
|
3797
|
-
}), LEVEL_TOP), this.makeCode("\n" + this.tab + "}"));
|
3798
|
-
}
|
3799
|
-
return answer;
|
3800
|
-
};
|
3801
|
-
|
3802
|
-
If.prototype.compileExpression = function(o) {
|
3803
|
-
var alt, body, cond, fragments;
|
3804
|
-
cond = this.condition.compileToFragments(o, LEVEL_COND);
|
3805
|
-
body = this.bodyNode().compileToFragments(o, LEVEL_LIST);
|
3806
|
-
alt = this.elseBodyNode() ? this.elseBodyNode().compileToFragments(o, LEVEL_LIST) : [this.makeCode('void 0')];
|
3807
|
-
fragments = cond.concat(this.makeCode(" ? "), body, this.makeCode(" : "), alt);
|
3808
|
-
if (o.level >= LEVEL_COND) {
|
3809
|
-
return this.wrapInBraces(fragments);
|
3810
|
-
} else {
|
3811
|
-
return fragments;
|
3812
|
-
}
|
3813
|
-
};
|
3814
|
-
|
3815
|
-
If.prototype.unfoldSoak = function() {
|
3816
|
-
return this.soak && this;
|
3817
|
-
};
|
3818
|
-
|
3819
|
-
return If;
|
3820
|
-
|
3821
|
-
})(Base);
|
3822
|
-
|
3823
|
-
UTILITIES = {
|
3824
|
-
extend: function(o) {
|
3825
|
-
return "function(child, parent) { for (var key in parent) { if (" + (utility('hasProp', o)) + ".call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }";
|
3826
|
-
},
|
3827
|
-
bind: function() {
|
3828
|
-
return 'function(fn, me){ return function(){ return fn.apply(me, arguments); }; }';
|
3829
|
-
},
|
3830
|
-
indexOf: function() {
|
3831
|
-
return "[].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; }";
|
3832
|
-
},
|
3833
|
-
modulo: function() {
|
3834
|
-
return "function(a, b) { return (+a % (b = +b) + b) % b; }";
|
3835
|
-
},
|
3836
|
-
hasProp: function() {
|
3837
|
-
return '{}.hasOwnProperty';
|
3838
|
-
},
|
3839
|
-
slice: function() {
|
3840
|
-
return '[].slice';
|
3841
|
-
}
|
3842
|
-
};
|
3843
|
-
|
3844
|
-
LEVEL_TOP = 1;
|
3845
|
-
|
3846
|
-
LEVEL_PAREN = 2;
|
3847
|
-
|
3848
|
-
LEVEL_LIST = 3;
|
3849
|
-
|
3850
|
-
LEVEL_COND = 4;
|
3851
|
-
|
3852
|
-
LEVEL_OP = 5;
|
3853
|
-
|
3854
|
-
LEVEL_ACCESS = 6;
|
3855
|
-
|
3856
|
-
TAB = ' ';
|
3857
|
-
|
3858
|
-
SIMPLENUM = /^[+-]?\d+$/;
|
3859
|
-
|
3860
|
-
utility = function(name, o) {
|
3861
|
-
var ref, root;
|
3862
|
-
root = o.scope.root;
|
3863
|
-
if (name in root.utilities) {
|
3864
|
-
return root.utilities[name];
|
3865
|
-
} else {
|
3866
|
-
ref = root.freeVariable(name);
|
3867
|
-
root.assign(ref, UTILITIES[name](o));
|
3868
|
-
return root.utilities[name] = ref;
|
3869
|
-
}
|
3870
|
-
};
|
3871
|
-
|
3872
|
-
multident = function(code, tab) {
|
3873
|
-
code = code.replace(/\n/g, '$&' + tab);
|
3874
|
-
return code.replace(/\s+$/, '');
|
3875
|
-
};
|
3876
|
-
|
3877
|
-
isLiteralArguments = function(node) {
|
3878
|
-
return node instanceof IdentifierLiteral && node.value === 'arguments';
|
3879
|
-
};
|
3880
|
-
|
3881
|
-
isLiteralThis = function(node) {
|
3882
|
-
return node instanceof ThisLiteral || (node instanceof Code && node.bound) || node instanceof SuperCall;
|
3883
|
-
};
|
3884
|
-
|
3885
|
-
isComplexOrAssignable = function(node) {
|
3886
|
-
return node.isComplex() || (typeof node.isAssignable === "function" ? node.isAssignable() : void 0);
|
3887
|
-
};
|
3888
|
-
|
3889
|
-
unfoldSoak = function(o, parent, name) {
|
3890
|
-
var ifn;
|
3891
|
-
if (!(ifn = parent[name].unfoldSoak(o))) {
|
3892
|
-
return;
|
3893
|
-
}
|
3894
|
-
parent[name] = ifn.body;
|
3895
|
-
ifn.body = new Value(parent);
|
3896
|
-
return ifn;
|
3897
|
-
};
|
3898
|
-
|
3899
|
-
}).call(this);
|