prettier-plugin-solidity 1.0.0-beta.9 → 1.0.0-dev.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintignore +3 -2
- package/.prettierignore +2 -2
- package/.vscode/settings.json +20 -0
- package/.vscode/tasks.json +27 -0
- package/.yarn/cache/@ampproject-remapping-npm-2.2.0-114878fa50-d74d170d06.zip +0 -0
- package/.yarn/cache/@babel-code-frame-npm-7.18.6-25229a7e34-195e2be317.zip +0 -0
- package/.yarn/cache/@babel-compat-data-npm-7.18.8-207acebb97-3096aafad7.zip +0 -0
- package/.yarn/cache/@babel-core-npm-7.18.6-52b1065703-711459ebf7.zip +0 -0
- package/.yarn/cache/@babel-generator-npm-7.18.7-14509012bd-aad4b68731.zip +0 -0
- package/.yarn/cache/@babel-helper-compilation-targets-npm-7.18.6-db5c17ef96-f09ddaddc8.zip +0 -0
- package/.yarn/cache/@babel-helper-environment-visitor-npm-7.18.6-e61d5b6be0-64fce65a26.zip +0 -0
- package/.yarn/cache/@babel-helper-function-name-npm-7.18.6-d041b167ad-bf84c2e069.zip +0 -0
- package/.yarn/cache/@babel-helper-hoist-variables-npm-7.18.6-6eb061f405-fd9c35bb43.zip +0 -0
- package/.yarn/cache/@babel-helper-module-imports-npm-7.18.6-1031faa864-f393f8a3b3.zip +0 -0
- package/.yarn/cache/@babel-helper-module-transforms-npm-7.18.8-1891310e05-6aaf436d14.zip +0 -0
- package/.yarn/cache/@babel-helper-plugin-utils-npm-7.18.6-12ee942c4e-3dbfceb6c1.zip +0 -0
- package/.yarn/cache/@babel-helper-simple-access-npm-7.18.6-4ef4976ebe-37cd36eef1.zip +0 -0
- package/.yarn/cache/@babel-helper-split-export-declaration-npm-7.18.6-53ebf8ad4c-c6d3dede53.zip +0 -0
- package/.yarn/cache/@babel-helper-validator-identifier-npm-7.18.6-357e4653ab-e295254d61.zip +0 -0
- package/.yarn/cache/@babel-helper-validator-option-npm-7.18.6-cc7d1a3315-f9cc6eb7cc.zip +0 -0
- package/.yarn/cache/@babel-helpers-npm-7.18.6-113f2054af-5dea4fa537.zip +0 -0
- package/.yarn/cache/@babel-highlight-npm-7.18.6-9d35ad2e27-92d8ee6154.zip +0 -0
- package/.yarn/cache/@babel-parser-npm-7.18.8-11d38e16a4-b8426083f7.zip +0 -0
- package/.yarn/cache/@babel-plugin-syntax-async-generators-npm-7.8.4-d10cf993c9-7ed1c1d9b9.zip +0 -0
- package/.yarn/cache/@babel-plugin-syntax-bigint-npm-7.8.3-b05d971e6c-3a10849d83.zip +0 -0
- package/.yarn/cache/@babel-plugin-syntax-class-properties-npm-7.12.13-002ee9d930-24f34b196d.zip +0 -0
- package/.yarn/cache/@babel-plugin-syntax-import-meta-npm-7.10.4-4a0a0158bc-166ac1125d.zip +0 -0
- package/.yarn/cache/@babel-plugin-syntax-json-strings-npm-7.8.3-6dc7848179-bf5aea1f31.zip +0 -0
- package/.yarn/cache/@babel-plugin-syntax-logical-assignment-operators-npm-7.10.4-72ae00fdf6-aff3357703.zip +0 -0
- package/.yarn/cache/@babel-plugin-syntax-nullish-coalescing-operator-npm-7.8.3-8a723173b5-87aca49189.zip +0 -0
- package/.yarn/cache/@babel-plugin-syntax-numeric-separator-npm-7.10.4-81444be605-01ec5547bd.zip +0 -0
- package/.yarn/cache/@babel-plugin-syntax-object-rest-spread-npm-7.8.3-60bd05b6ae-fddcf581a5.zip +0 -0
- package/.yarn/cache/@babel-plugin-syntax-optional-catch-binding-npm-7.8.3-ce337427d8-910d90e72b.zip +0 -0
- package/.yarn/cache/@babel-plugin-syntax-optional-chaining-npm-7.8.3-f3f3c79579-eef94d53a1.zip +0 -0
- package/.yarn/cache/@babel-plugin-syntax-top-level-await-npm-7.14.5-60a0a2e83b-bbd1a56b09.zip +0 -0
- package/.yarn/cache/@babel-plugin-syntax-typescript-npm-7.18.6-4ad9dd7d2a-2cde73725e.zip +0 -0
- package/.yarn/cache/@babel-template-npm-7.18.6-56635d3ce4-cb02ed804b.zip +0 -0
- package/.yarn/cache/@babel-traverse-npm-7.18.8-b256cabc08-c406e01f45.zip +0 -0
- package/.yarn/cache/@babel-types-npm-7.18.8-55c9582d81-a485531faa.zip +0 -0
- package/.yarn/cache/@bcoe-v8-coverage-npm-0.2.3-9e27b3c57e-850f930553.zip +0 -0
- package/.yarn/cache/@eslint-eslintrc-npm-1.3.0-1f3c51be25-a1e734ad31.zip +0 -0
- package/.yarn/cache/@gar-promisify-npm-1.1.3-ac1a325862-4059f790e2.zip +0 -0
- package/.yarn/cache/@humanwhocodes-config-array-npm-0.9.5-030a025eae-8ba6281bc0.zip +0 -0
- package/.yarn/cache/@humanwhocodes-object-schema-npm-1.2.1-eb622b5d0e-a824a1ec31.zip +0 -0
- package/.yarn/cache/@istanbuljs-load-nyc-config-npm-1.1.0-42d17c9cb1-d578da5e2e.zip +0 -0
- package/.yarn/cache/@istanbuljs-schema-npm-0.1.3-466bd3eaaa-5282759d96.zip +0 -0
- package/.yarn/cache/@jest-console-npm-28.1.3-8b24613279-fe50d98d26.zip +0 -0
- package/.yarn/cache/@jest-core-npm-28.1.3-4b9647f71c-cb79f34baf.zip +0 -0
- package/.yarn/cache/@jest-environment-npm-28.1.3-506a81a227-14c496b84a.zip +0 -0
- package/.yarn/cache/@jest-expect-npm-28.1.3-3794e8420c-4197f6fddd.zip +0 -0
- package/.yarn/cache/@jest-expect-utils-npm-28.1.3-d83dfb8847-808ea3a682.zip +0 -0
- package/.yarn/cache/@jest-fake-timers-npm-28.1.3-593b0acb9a-cec14d5b14.zip +0 -0
- package/.yarn/cache/@jest-globals-npm-28.1.3-fee1b2ab3f-3504bb23de.zip +0 -0
- package/.yarn/cache/@jest-reporters-npm-28.1.3-548703b241-a7440887ce.zip +0 -0
- package/.yarn/cache/@jest-schemas-npm-28.1.3-231835b296-3cf1d4b66c.zip +0 -0
- package/.yarn/cache/@jest-source-map-npm-28.1.2-c3d608514f-b82a5c2e93.zip +0 -0
- package/.yarn/cache/@jest-test-result-npm-28.1.3-678ecd0b36-957a5dd2fd.zip +0 -0
- package/.yarn/cache/@jest-test-sequencer-npm-28.1.3-456bc6e2ff-13f8905e6d.zip +0 -0
- package/.yarn/cache/@jest-transform-npm-28.1.3-c63694eb02-dadf618936.zip +0 -0
- package/.yarn/cache/@jest-types-npm-28.1.3-422ad1bd71-1e258d9c06.zip +0 -0
- package/.yarn/cache/@jridgewell-gen-mapping-npm-0.1.1-3bad172ac6-3bcc21fe78.zip +0 -0
- package/.yarn/cache/@jridgewell-gen-mapping-npm-0.3.2-c64eeb4a4e-1832707a1c.zip +0 -0
- package/.yarn/cache/@jridgewell-resolve-uri-npm-3.1.0-6ff2351e61-b5ceaaf9a1.zip +0 -0
- package/.yarn/cache/@jridgewell-set-array-npm-1.1.2-45b82d7fb6-69a84d5980.zip +0 -0
- package/.yarn/cache/@jridgewell-sourcemap-codec-npm-1.4.14-f5f0630788-61100637b6.zip +0 -0
- package/.yarn/cache/@jridgewell-trace-mapping-npm-0.3.14-c78fcccfdf-b9537b9630.zip +0 -0
- package/.yarn/cache/@npmcli-fs-npm-2.1.0-3b106d08bc-6ec6d678af.zip +0 -0
- package/.yarn/cache/@npmcli-move-file-npm-2.0.0-d8bd1d35d2-1388777b50.zip +0 -0
- package/.yarn/cache/@sinclair-typebox-npm-0.24.19-71da094cb1-dff2a3ebe9.zip +0 -0
- package/.yarn/cache/@sinonjs-commons-npm-1.8.3-30cf78d93f-6159726db5.zip +0 -0
- package/.yarn/cache/@sinonjs-fake-timers-npm-9.1.2-3ff37ab7fb-7d3aef54e1.zip +0 -0
- package/.yarn/cache/@solidity-parser-parser-npm-0.14.3-7e089b302c-9a27eb961c.zip +0 -0
- package/.yarn/cache/@tootallnate-once-npm-2.0.0-e36cf4f140-ad87447820.zip +0 -0
- package/.yarn/cache/@types-babel__core-npm-7.1.19-bd8ad53364-8c9fa87a1c.zip +0 -0
- package/.yarn/cache/@types-babel__generator-npm-7.6.4-03e776f956-20effbbb5f.zip +0 -0
- package/.yarn/cache/@types-babel__template-npm-7.4.1-fe1db49e53-649fe8b42c.zip +0 -0
- package/.yarn/cache/@types-babel__traverse-npm-7.17.1-97c6ab6eab-8992d8c1ea.zip +0 -0
- package/.yarn/cache/@types-graceful-fs-npm-4.1.5-91d62e1050-d076bb61f4.zip +0 -0
- package/.yarn/cache/@types-istanbul-lib-coverage-npm-2.0.4-734954bb56-a25d7589ee.zip +0 -0
- package/.yarn/cache/@types-istanbul-lib-report-npm-3.0.0-50de3e6b3b-656398b62d.zip +0 -0
- package/.yarn/cache/@types-istanbul-reports-npm-3.0.1-770e825002-f1ad54bc68.zip +0 -0
- package/.yarn/cache/@types-json5-npm-0.0.29-f63a7916bd-e60b153664.zip +0 -0
- package/.yarn/cache/@types-node-npm-18.0.4-19671c4a3f-981284fd57.zip +0 -0
- package/.yarn/cache/@types-prettier-npm-2.6.3-8d27063d48-e1836699ca.zip +0 -0
- package/.yarn/cache/@types-stack-utils-npm-2.0.1-867718ab70-205fdbe332.zip +0 -0
- package/.yarn/cache/@types-yargs-npm-17.0.10-04ed5382c7-f0673cbfc0.zip +0 -0
- package/.yarn/cache/@types-yargs-parser-npm-21.0.0-c8a3b32c52-b2f4c8d12a.zip +0 -0
- package/.yarn/cache/abbrev-npm-1.1.1-3659247eab-a4a97ec07d.zip +0 -0
- package/.yarn/cache/acorn-jsx-npm-5.3.2-d7594599ea-c3d3b2a89c.zip +0 -0
- package/.yarn/cache/acorn-npm-8.7.1-7c7a019990-aca0aabf98.zip +0 -0
- package/.yarn/cache/agent-base-npm-6.0.2-428f325a93-f52b6872cc.zip +0 -0
- package/.yarn/cache/agentkeepalive-npm-4.2.1-b86a9fb343-39cb49ed8c.zip +0 -0
- package/.yarn/cache/aggregate-error-npm-3.1.0-415a406f4e-1101a33f21.zip +0 -0
- package/.yarn/cache/ajv-npm-6.12.6-4b5105e2b2-874972efe5.zip +0 -0
- package/.yarn/cache/ansi-escapes-npm-4.3.2-3ad173702f-93111c4218.zip +0 -0
- package/.yarn/cache/ansi-escapes-npm-5.0.0-8a26b6a77d-d4b5eb8207.zip +0 -0
- package/.yarn/cache/ansi-regex-npm-3.0.1-01f44078a3-09daf180c5.zip +0 -0
- package/.yarn/cache/ansi-regex-npm-5.0.1-c963a48615-2aa4bb54ca.zip +0 -0
- package/.yarn/cache/ansi-regex-npm-6.0.1-8d663a607d-1ff8b7667c.zip +0 -0
- package/.yarn/cache/ansi-styles-npm-3.2.1-8cb8107983-d85ade01c1.zip +0 -0
- package/.yarn/cache/ansi-styles-npm-4.3.0-245c7d42c7-513b44c3b2.zip +0 -0
- package/.yarn/cache/ansi-styles-npm-5.2.0-72fc7003e3-d7f4e97ce0.zip +0 -0
- package/.yarn/cache/antlr4ts-npm-0.5.0-dev-7e0fc8988a-640dae2229.zip +0 -0
- package/.yarn/cache/anymatch-npm-3.1.2-1d5471acfa-985163db22.zip +0 -0
- package/.yarn/cache/aproba-npm-2.0.0-8716bcfde6-5615cadcfb.zip +0 -0
- package/.yarn/cache/are-we-there-yet-npm-3.0.0-1391430190-348edfdd93.zip +0 -0
- package/.yarn/cache/argparse-npm-1.0.10-528934e59d-7ca6e45583.zip +0 -0
- package/.yarn/cache/argparse-npm-2.0.1-faff7999e6-83644b5649.zip +0 -0
- package/.yarn/cache/array-includes-npm-3.1.5-6b8e152f4f-f6f24d8341.zip +0 -0
- package/.yarn/cache/array.prototype.flat-npm-1.3.0-6c5c4292bd-2a652b3e8d.zip +0 -0
- package/.yarn/cache/babel-jest-npm-28.1.3-3bb56d0efd-57ccd2296e.zip +0 -0
- package/.yarn/cache/babel-plugin-istanbul-npm-6.1.1-df824055e4-cb4fd95738.zip +0 -0
- package/.yarn/cache/babel-plugin-jest-hoist-npm-28.1.3-ffadc60ff3-648d89f9d8.zip +0 -0
- package/.yarn/cache/babel-preset-current-node-syntax-npm-1.0.1-849ec71e32-d118c27424.zip +0 -0
- package/.yarn/cache/babel-preset-jest-npm-28.1.3-8e610faead-8248a4a5ca.zip +0 -0
- package/.yarn/cache/balanced-match-npm-1.0.2-a53c126459-9706c088a2.zip +0 -0
- package/.yarn/cache/brace-expansion-npm-1.1.11-fb95eb05ad-faf34a7bb0.zip +0 -0
- package/.yarn/cache/brace-expansion-npm-2.0.1-17aa2616f9-a61e7cd2e8.zip +0 -0
- package/.yarn/cache/braces-npm-3.0.2-782240b28a-e2a8e769a8.zip +0 -0
- package/.yarn/cache/browserslist-npm-4.21.2-412848af2b-30fe59f8b0.zip +0 -0
- package/.yarn/cache/bser-npm-2.1.1-cc902055ce-9ba4dc58ce.zip +0 -0
- package/.yarn/cache/buffer-from-npm-1.1.2-03d2f20d7e-0448524a56.zip +0 -0
- package/.yarn/cache/cacache-npm-16.1.1-84a00badf3-4885246170.zip +0 -0
- package/.yarn/cache/call-bind-npm-1.0.2-c957124861-f8e31de9d1.zip +0 -0
- package/.yarn/cache/callsites-npm-3.1.0-268f989910-072d17b6ab.zip +0 -0
- package/.yarn/cache/camelcase-npm-5.3.1-5db8af62c5-e6effce26b.zip +0 -0
- package/.yarn/cache/camelcase-npm-6.3.0-e5e42a0d15-8c96818a90.zip +0 -0
- package/.yarn/cache/caniuse-lite-npm-1.0.30001366-940b1a0cfa-eeb878e0be.zip +0 -0
- package/.yarn/cache/chalk-npm-2.4.2-3ea16dd91e-ec3661d38f.zip +0 -0
- package/.yarn/cache/chalk-npm-4.1.2-ba8b67ab80-fe75c9d5c7.zip +0 -0
- package/.yarn/cache/char-regex-npm-1.0.2-ecade5f97f-b563e4b603.zip +0 -0
- package/.yarn/cache/char-regex-npm-2.0.1-a51fbd7459-8524c03fd7.zip +0 -0
- package/.yarn/cache/chownr-npm-2.0.0-638f1c9c61-c57cf9dd07.zip +0 -0
- package/.yarn/cache/ci-info-npm-3.3.2-fb5617e149-fd81f1edd2.zip +0 -0
- package/.yarn/cache/cjs-module-lexer-npm-1.2.2-473ce063ea-977f3f042b.zip +0 -0
- package/.yarn/cache/clean-stack-npm-2.2.0-a8ce435a5c-2ac8cd2b2f.zip +0 -0
- package/.yarn/cache/cliui-npm-7.0.4-d6b8a9edb6-ce2e8f578a.zip +0 -0
- package/.yarn/cache/co-npm-4.6.0-03f2d1feb6-5210d92230.zip +0 -0
- package/.yarn/cache/collect-v8-coverage-npm-1.0.1-39dec86bad-4efe0a1fcc.zip +0 -0
- package/.yarn/cache/color-convert-npm-1.9.3-1fe690075e-fd7a64a17c.zip +0 -0
- package/.yarn/cache/color-convert-npm-2.0.1-79730e935b-79e6bdb9fd.zip +0 -0
- package/.yarn/cache/color-name-npm-1.1.3-728b7b5d39-09c5d3e33d.zip +0 -0
- package/.yarn/cache/color-name-npm-1.1.4-025792b0ea-b044585952.zip +0 -0
- package/.yarn/cache/color-support-npm-1.1.3-3be5c53455-9b73568176.zip +0 -0
- package/.yarn/cache/command-exists-npm-1.2.9-cc51a1f78a-729ae3d88a.zip +0 -0
- package/.yarn/cache/commander-npm-8.3.0-c0d18c66d5-0f82321821.zip +0 -0
- package/.yarn/cache/concat-map-npm-0.0.1-85a921b7ee-902a9f5d89.zip +0 -0
- package/.yarn/cache/confusing-browser-globals-npm-1.0.11-b3ff8e9483-3afc635abd.zip +0 -0
- package/.yarn/cache/console-control-strings-npm-1.1.0-e3160e5275-8755d76787.zip +0 -0
- package/.yarn/cache/convert-source-map-npm-1.8.0-037f671dde-985d974a2d.zip +0 -0
- package/.yarn/cache/cross-env-npm-7.0.3-96d81820f4-26f2f3ea2a.zip +0 -0
- package/.yarn/cache/cross-spawn-npm-7.0.3-e4ff3e65b3-671cc7c728.zip +0 -0
- package/.yarn/cache/debug-npm-2.6.9-7d4cb597dc-d2f51589ca.zip +0 -0
- package/.yarn/cache/debug-npm-3.2.7-754e818c7a-b3d8c59407.zip +0 -0
- package/.yarn/cache/debug-npm-4.3.4-4513954577-3dbad3f94e.zip +0 -0
- package/.yarn/cache/dedent-npm-0.7.0-2dbb45a4c5-87de191050.zip +0 -0
- package/.yarn/cache/deep-is-npm-0.1.4-88938b5a67-edb65dd0d7.zip +0 -0
- package/.yarn/cache/deepmerge-npm-4.2.2-112165ced2-a8c43a1ed8.zip +0 -0
- package/.yarn/cache/define-properties-npm-1.1.4-85ee575655-ce0aef3f9e.zip +0 -0
- package/.yarn/cache/delegates-npm-1.0.0-9b1942d75f-a51744d9b5.zip +0 -0
- package/.yarn/cache/depd-npm-1.1.2-b0c8414da7-6b406620d2.zip +0 -0
- package/.yarn/cache/detect-newline-npm-3.1.0-6d33fa8d37-ae6cd429c4.zip +0 -0
- package/.yarn/cache/diff-sequences-npm-28.1.1-70eb43c727-e252903650.zip +0 -0
- package/.yarn/cache/dir-to-object-npm-2.0.0-90e9085fa2-91ca440808.zip +0 -0
- package/.yarn/cache/doctrine-npm-2.1.0-ac15d049b7-a45e277f7f.zip +0 -0
- package/.yarn/cache/doctrine-npm-3.0.0-c6f1615f04-fd7673ca77.zip +0 -0
- package/.yarn/cache/electron-to-chromium-npm-1.4.191-6bdac95757-d7bd39517d.zip +0 -0
- package/.yarn/cache/emittery-npm-0.10.2-aac10498b5-ee3e21788b.zip +0 -0
- package/.yarn/cache/emoji-regex-npm-10.1.0-ce4169bfff-5bc780fc4d.zip +0 -0
- package/.yarn/cache/emoji-regex-npm-8.0.0-213764015c-d4c5c39d5a.zip +0 -0
- package/.yarn/cache/encoding-npm-0.1.13-82a1837d30-bb98632f8f.zip +0 -0
- package/.yarn/cache/env-paths-npm-2.2.1-7c7577428c-65b5df55a8.zip +0 -0
- package/.yarn/cache/err-code-npm-2.0.3-082e0ff9a7-8b7b1be20d.zip +0 -0
- package/.yarn/cache/error-ex-npm-1.3.2-5654f80c0f-c1c2b8b65f.zip +0 -0
- package/.yarn/cache/es-abstract-npm-1.20.1-83d41a4d88-28da27ae0e.zip +0 -0
- package/.yarn/cache/es-shim-unscopables-npm-1.0.0-06186593f1-83e95cadbb.zip +0 -0
- package/.yarn/cache/es-to-primitive-npm-1.2.1-b7a7eac6c5-4ead6671a2.zip +0 -0
- package/.yarn/cache/escalade-npm-3.1.1-e02da076aa-a3e2a99f07.zip +0 -0
- package/.yarn/cache/escape-string-regexp-npm-1.0.5-3284de402f-6092fda75c.zip +0 -0
- package/.yarn/cache/escape-string-regexp-npm-2.0.0-aef69d2a25-9f8a2d5743.zip +0 -0
- package/.yarn/cache/escape-string-regexp-npm-4.0.0-4b531d8d59-98b48897d9.zip +0 -0
- package/.yarn/cache/eslint-config-airbnb-base-npm-15.0.0-802837dd26-38626bad2c.zip +0 -0
- package/.yarn/cache/eslint-config-prettier-npm-8.5.0-a1dd58b6d8-0d0f5c32e7.zip +0 -0
- package/.yarn/cache/eslint-import-resolver-node-npm-0.3.6-d9426786c6-6266733af1.zip +0 -0
- package/.yarn/cache/eslint-module-utils-npm-2.7.3-ccd32fe6fd-77048263f3.zip +0 -0
- package/.yarn/cache/eslint-npm-8.19.0-147f1e0c86-0bc9df1a3a.zip +0 -0
- package/.yarn/cache/eslint-plugin-import-npm-2.26.0-959fe14a01-0bf77ad803.zip +0 -0
- package/.yarn/cache/eslint-scope-npm-7.1.1-23935eb377-9f6e974ab2.zip +0 -0
- package/.yarn/cache/eslint-utils-npm-3.0.0-630b3a4013-0668fe02f5.zip +0 -0
- package/.yarn/cache/eslint-visitor-keys-npm-2.1.0-c31806b6b9-e3081d7dd2.zip +0 -0
- package/.yarn/cache/eslint-visitor-keys-npm-3.3.0-d329af7c8c-d59e68a7c5.zip +0 -0
- package/.yarn/cache/espree-npm-9.3.2-c70fa2a91d-9a790d6779.zip +0 -0
- package/.yarn/cache/esprima-npm-4.0.1-1084e98778-b45bc805a6.zip +0 -0
- package/.yarn/cache/esquery-npm-1.4.0-f39408b1a7-a0807e17ab.zip +0 -0
- package/.yarn/cache/esrecurse-npm-4.3.0-10b86a887a-ebc17b1a33.zip +0 -0
- package/.yarn/cache/estraverse-npm-5.3.0-03284f8f63-072780882d.zip +0 -0
- package/.yarn/cache/esutils-npm-2.0.3-f865beafd5-22b5b08f74.zip +0 -0
- package/.yarn/cache/execa-npm-5.1.1-191347acf5-fba9022c8c.zip +0 -0
- package/.yarn/cache/exit-npm-0.1.2-ef3761a67d-abc407f07a.zip +0 -0
- package/.yarn/cache/expect-npm-28.1.3-e3316724f1-101e0090de.zip +0 -0
- package/.yarn/cache/fast-deep-equal-npm-3.1.3-790edcfcf5-e21a9d8d84.zip +0 -0
- package/.yarn/cache/fast-json-stable-stringify-npm-2.1.0-02e8905fda-b191531e36.zip +0 -0
- package/.yarn/cache/fast-levenshtein-npm-2.0.6-fcd74b8df5-92cfec0a8d.zip +0 -0
- package/.yarn/cache/fb-watchman-npm-2.0.1-30005d50fe-8510230778.zip +0 -0
- package/.yarn/cache/file-entry-cache-npm-6.0.1-31965cf0af-f49701feaa.zip +0 -0
- package/.yarn/cache/fill-range-npm-7.0.1-b8b1817caa-cc283f4e65.zip +0 -0
- package/.yarn/cache/find-up-npm-2.1.0-9f6cb1765c-43284fe4da.zip +0 -0
- package/.yarn/cache/find-up-npm-4.1.0-c3ccf8d855-4c172680e8.zip +0 -0
- package/.yarn/cache/flat-cache-npm-3.0.4-ee77e5911e-4fdd10ecbc.zip +0 -0
- package/.yarn/cache/flatted-npm-3.2.6-a309e17eb3-33b87aa88d.zip +0 -0
- package/.yarn/cache/follow-redirects-npm-1.15.1-6b191885cd-6aa4e3e3cd.zip +0 -0
- package/.yarn/cache/fs-minipass-npm-2.1.0-501ef87306-1b8d128dae.zip +0 -0
- package/.yarn/cache/fs.realpath-npm-1.0.0-c8f05d8126-99ddea01a7.zip +0 -0
- package/.yarn/cache/fsevents-npm-2.3.2-a881d6ac9f-97ade64e75.zip +0 -0
- package/.yarn/cache/fsevents-patch-3340e2eb10-8.zip +0 -0
- package/.yarn/cache/function-bind-npm-1.1.1-b56b322ae9-b32fbaebb3.zip +0 -0
- package/.yarn/cache/function.prototype.name-npm-1.1.5-e776a642bb-acd21d733a.zip +0 -0
- package/.yarn/cache/functional-red-black-tree-npm-1.0.1-ccfe924dcd-ca6c170f37.zip +0 -0
- package/.yarn/cache/functions-have-names-npm-1.2.3-e5cf1e2208-c3f1f5ba20.zip +0 -0
- package/.yarn/cache/gauge-npm-4.0.4-8f878385e9-788b6bfe52.zip +0 -0
- package/.yarn/cache/gensync-npm-1.0.0-beta.2-224666d72f-a7437e58c6.zip +0 -0
- package/.yarn/cache/get-caller-file-npm-2.0.5-80e8a86305-b9769a836d.zip +0 -0
- package/.yarn/cache/get-intrinsic-npm-1.1.2-89f421122b-252f45491f.zip +0 -0
- package/.yarn/cache/get-package-type-npm-0.1.0-6c70cdc8ab-bba0811116.zip +0 -0
- package/.yarn/cache/get-stream-npm-6.0.1-83e51a4642-e04ecece32.zip +0 -0
- package/.yarn/cache/get-symbol-description-npm-1.0.0-9c95a4bc1f-9ceff8fe96.zip +0 -0
- package/.yarn/cache/glob-npm-7.2.3-2d866d17a5-29452e97b3.zip +0 -0
- package/.yarn/cache/glob-npm-8.0.3-750f909025-50bcdea19d.zip +0 -0
- package/.yarn/cache/glob-parent-npm-6.0.2-2cbef12738-c13ee97978.zip +0 -0
- package/.yarn/cache/globals-npm-11.12.0-1fa7f41a6c-67051a45ec.zip +0 -0
- package/.yarn/cache/globals-npm-13.16.0-ddfe03ff07-e571b28462.zip +0 -0
- package/.yarn/cache/graceful-fs-npm-4.2.10-79c70989ca-3f109d70ae.zip +0 -0
- package/.yarn/cache/has-ansi-npm-3.0.0-f2c5029db5-d52ff546c9.zip +0 -0
- package/.yarn/cache/has-bigints-npm-1.0.2-52732e614d-390e31e7be.zip +0 -0
- package/.yarn/cache/has-flag-npm-3.0.0-16ac11fe05-4a15638b45.zip +0 -0
- package/.yarn/cache/has-flag-npm-4.0.0-32af9f0536-261a135703.zip +0 -0
- package/.yarn/cache/has-npm-1.0.3-b7f00631c1-b9ad53d53b.zip +0 -0
- package/.yarn/cache/has-property-descriptors-npm-1.0.0-56289b918d-a6d3f0a266.zip +0 -0
- package/.yarn/cache/has-symbols-npm-1.0.3-1986bff2c4-a054c40c63.zip +0 -0
- package/.yarn/cache/has-tostringtag-npm-1.0.0-b1fcf3ab55-cc12eb28cb.zip +0 -0
- package/.yarn/cache/has-unicode-npm-2.0.1-893adb4747-1eab07a743.zip +0 -0
- package/.yarn/cache/html-escaper-npm-2.0.2-38e51ef294-d2df2da3ad.zip +0 -0
- package/.yarn/cache/http-cache-semantics-npm-4.1.0-860520a31f-974de94a81.zip +0 -0
- package/.yarn/cache/http-proxy-agent-npm-5.0.0-7f1f121b83-e2ee1ff165.zip +0 -0
- package/.yarn/cache/https-proxy-agent-npm-5.0.1-42d65f358e-571fccdf38.zip +0 -0
- package/.yarn/cache/human-signals-npm-2.1.0-f75815481d-b87fd89fce.zip +0 -0
- package/.yarn/cache/humanize-ms-npm-1.2.1-e942bd7329-9c7a74a282.zip +0 -0
- package/.yarn/cache/iconv-lite-npm-0.6.3-24b8aae27e-3f60d47a5c.zip +0 -0
- package/.yarn/cache/ignore-npm-5.2.0-fc4b58a4f3-6b1f926792.zip +0 -0
- package/.yarn/cache/import-fresh-npm-3.3.0-3e34265ca9-2cacfad06e.zip +0 -0
- package/.yarn/cache/import-local-npm-3.1.0-8960af5e51-bfcdb63b5e.zip +0 -0
- package/.yarn/cache/imurmurhash-npm-0.1.4-610c5068a0-7cae75c8cd.zip +0 -0
- package/.yarn/cache/indent-string-npm-4.0.0-7b717435b2-824cfb9929.zip +0 -0
- package/.yarn/cache/infer-owner-npm-1.0.4-685ac3d2af-181e732764.zip +0 -0
- package/.yarn/cache/inflight-npm-1.0.6-ccedb4b908-f4f76aa072.zip +0 -0
- package/.yarn/cache/inherits-npm-2.0.4-c66b3957a0-4a48a73384.zip +0 -0
- package/.yarn/cache/internal-slot-npm-1.0.3-9e05eea002-1944f92e98.zip +0 -0
- package/.yarn/cache/ip-npm-1.1.8-abea558b72-a2ade53eb3.zip +0 -0
- package/.yarn/cache/is-arrayish-npm-0.2.1-23927dfb15-eef4417e3c.zip +0 -0
- package/.yarn/cache/is-bigint-npm-1.0.4-31c2eecbc9-c56edfe09b.zip +0 -0
- package/.yarn/cache/is-boolean-object-npm-1.1.2-ecbd575e6a-c03b23dbaa.zip +0 -0
- package/.yarn/cache/is-callable-npm-1.2.4-03fc17459c-1a28d57dc4.zip +0 -0
- package/.yarn/cache/is-core-module-npm-2.9.0-5ba77c35ae-b27034318b.zip +0 -0
- package/.yarn/cache/is-date-object-npm-1.0.5-88f3d08b5e-baa9077cdf.zip +0 -0
- package/.yarn/cache/is-extglob-npm-2.1.1-0870ea68b5-df033653d0.zip +0 -0
- package/.yarn/cache/is-fullwidth-code-point-npm-3.0.0-1ecf4ebee5-44a30c2945.zip +0 -0
- package/.yarn/cache/is-generator-fn-npm-2.1.0-37895c2d2b-a6ad5492cf.zip +0 -0
- package/.yarn/cache/is-glob-npm-4.0.3-cb87bf1bdb-d381c1319f.zip +0 -0
- package/.yarn/cache/is-lambda-npm-1.0.1-7ab55bc8a8-93a32f0194.zip +0 -0
- package/.yarn/cache/is-negative-zero-npm-2.0.2-0adac91f15-f3232194c4.zip +0 -0
- package/.yarn/cache/is-number-npm-7.0.0-060086935c-456ac6f8e0.zip +0 -0
- package/.yarn/cache/is-number-object-npm-1.0.7-539d0e274d-d1e8d01bb0.zip +0 -0
- package/.yarn/cache/is-regex-npm-1.1.4-cca193ef11-362399b335.zip +0 -0
- package/.yarn/cache/is-shared-array-buffer-npm-1.0.2-32e4181fcd-9508929cf1.zip +0 -0
- package/.yarn/cache/is-stream-npm-2.0.1-c802db55e7-b8e05ccdf9.zip +0 -0
- package/.yarn/cache/is-string-npm-1.0.7-9f7066daed-323b3d0462.zip +0 -0
- package/.yarn/cache/is-symbol-npm-1.0.4-eb9baac703-92805812ef.zip +0 -0
- package/.yarn/cache/is-weakref-npm-1.0.2-ff80e8c314-95bd9a57cd.zip +0 -0
- package/.yarn/cache/isexe-npm-2.0.0-b58870bd2e-26bf6c5480.zip +0 -0
- package/.yarn/cache/istanbul-lib-coverage-npm-3.2.0-93f84b2c8c-a2a545033b.zip +0 -0
- package/.yarn/cache/istanbul-lib-instrument-npm-5.2.0-6aa783f498-7c242ed782.zip +0 -0
- package/.yarn/cache/istanbul-lib-report-npm-3.0.0-660f97340a-3f29eb3f53.zip +0 -0
- package/.yarn/cache/istanbul-lib-source-maps-npm-4.0.1-af0f859df7-21ad3df45d.zip +0 -0
- package/.yarn/cache/istanbul-reports-npm-3.1.5-fb11324e3e-7867228f83.zip +0 -0
- package/.yarn/cache/jest-changed-files-npm-28.1.3-bb00ac0321-c78af14a68.zip +0 -0
- package/.yarn/cache/jest-circus-npm-28.1.3-cd59c17100-b635e60a9c.zip +0 -0
- package/.yarn/cache/jest-cli-npm-28.1.3-aab5c7389d-fb424576bf.zip +0 -0
- package/.yarn/cache/jest-config-npm-28.1.3-47d1c91477-ddabffd3a3.zip +0 -0
- package/.yarn/cache/jest-diff-npm-28.1.3-cdbbfc3cc7-fa8583e0cc.zip +0 -0
- package/.yarn/cache/jest-docblock-npm-28.1.1-92269e3ff0-22fca68d98.zip +0 -0
- package/.yarn/cache/jest-each-npm-28.1.3-ca0bd1494b-5c5b8ccb14.zip +0 -0
- package/.yarn/cache/jest-environment-node-npm-28.1.3-46a696a38b-1048fe306a.zip +0 -0
- package/.yarn/cache/jest-get-type-npm-28.0.2-00d0a81478-5281d7c89b.zip +0 -0
- package/.yarn/cache/jest-haste-map-npm-28.1.3-9ce0dea452-d05fdc1086.zip +0 -0
- package/.yarn/cache/jest-leak-detector-npm-28.1.3-36abac94be-2e976a4880.zip +0 -0
- package/.yarn/cache/jest-matcher-utils-npm-28.1.3-6a206019d4-6b34f0cf66.zip +0 -0
- package/.yarn/cache/jest-message-util-npm-28.1.3-bee4da4d10-1f26685416.zip +0 -0
- package/.yarn/cache/jest-mock-now-npm-1.3.0-3bb0b9f3ee-20d257f92e.zip +0 -0
- package/.yarn/cache/jest-mock-npm-28.1.3-75849d2dd2-a573bf8e5f.zip +0 -0
- package/.yarn/cache/jest-npm-28.1.3-207c50e059-b9dcb542eb.zip +0 -0
- package/.yarn/cache/jest-pnp-resolver-npm-1.2.2-da20f8bdfe-bd85dcc0e7.zip +0 -0
- package/.yarn/cache/jest-regex-util-npm-28.0.2-56e93935f3-0ea8c5c82e.zip +0 -0
- package/.yarn/cache/jest-resolve-dependencies-npm-28.1.3-143d112ae5-4eea9ec33a.zip +0 -0
- package/.yarn/cache/jest-resolve-npm-28.1.3-acd3a0d26b-df61a490c9.zip +0 -0
- package/.yarn/cache/jest-runner-npm-28.1.3-b6c86f7ed5-32405cd970.zip +0 -0
- package/.yarn/cache/jest-runtime-npm-28.1.3-15fdfa887e-b17c40af85.zip +0 -0
- package/.yarn/cache/jest-snapshot-npm-28.1.3-b36ae70475-2a46a5493f.zip +0 -0
- package/.yarn/cache/jest-snapshot-serializer-ansi-npm-1.0.0-327133e7c7-5e27fd87c5.zip +0 -0
- package/.yarn/cache/jest-snapshot-serializer-raw-npm-1.2.0-acc843ac82-e100fb820a.zip +0 -0
- package/.yarn/cache/jest-util-npm-28.1.3-9ae2283a08-fd6459742c.zip +0 -0
- package/.yarn/cache/jest-validate-npm-28.1.3-f1a729aeb4-95e0513b38.zip +0 -0
- package/.yarn/cache/jest-watch-typeahead-npm-2.0.0-d2aa13b202-c25fa793e5.zip +0 -0
- package/.yarn/cache/jest-watcher-npm-28.1.3-8da81cc37d-8f6d674a48.zip +0 -0
- package/.yarn/cache/jest-worker-npm-28.1.3-5d0ff9006c-e921c9a1b8.zip +0 -0
- package/.yarn/cache/js-sha3-npm-0.8.0-decf3ddcfa-75df77c1fc.zip +0 -0
- package/.yarn/cache/js-tokens-npm-4.0.0-0ac852e9e2-8a95213a5a.zip +0 -0
- package/.yarn/cache/js-yaml-npm-3.14.1-b968c6095e-bef146085f.zip +0 -0
- package/.yarn/cache/js-yaml-npm-4.1.0-3606f32312-c7830dfd45.zip +0 -0
- package/.yarn/cache/jsesc-npm-2.5.2-c5acb78804-4dc1907711.zip +0 -0
- package/.yarn/cache/json-parse-even-better-errors-npm-2.3.1-144d62256e-798ed4cf33.zip +0 -0
- package/.yarn/cache/json-schema-traverse-npm-0.4.1-4759091693-7486074d3b.zip +0 -0
- package/.yarn/cache/json-stable-stringify-without-jsonify-npm-1.0.1-b65772b28b-cff44156dd.zip +0 -0
- package/.yarn/cache/json5-npm-1.0.1-647fc8794b-e76ea23dbb.zip +0 -0
- package/.yarn/cache/json5-npm-2.2.1-44675c859c-74b8a23b10.zip +0 -0
- package/.yarn/cache/kleur-npm-3.0.3-f6f53649a4-df82cd1e17.zip +0 -0
- package/.yarn/cache/leven-npm-3.1.0-b7697736a3-638401d534.zip +0 -0
- package/.yarn/cache/levn-npm-0.4.1-d183b2d7bb-12c5021c85.zip +0 -0
- package/.yarn/cache/lines-and-columns-npm-1.2.4-d6c7cc5799-0c37f9f7fa.zip +0 -0
- package/.yarn/cache/lines-and-columns-npm-2.0.3-68ede50723-5955363dfd.zip +0 -0
- package/.yarn/cache/locate-path-npm-2.0.0-673d28b0ea-02d581edbb.zip +0 -0
- package/.yarn/cache/locate-path-npm-5.0.0-46580c43e4-83e51725e6.zip +0 -0
- package/.yarn/cache/lodash.merge-npm-4.6.2-77cb4416bf-ad580b4bdb.zip +0 -0
- package/.yarn/cache/lru-cache-npm-6.0.0-b4c8668fe1-f97f499f89.zip +0 -0
- package/.yarn/cache/lru-cache-npm-7.13.1-521ddcc43f-f53c7dd098.zip +0 -0
- package/.yarn/cache/make-dir-npm-3.1.0-d1d7505142-484200020a.zip +0 -0
- package/.yarn/cache/make-fetch-happen-npm-10.1.8-1571a0a77a-5fe9fd9da5.zip +0 -0
- package/.yarn/cache/makeerror-npm-1.0.12-69abf085d7-b38a025a12.zip +0 -0
- package/.yarn/cache/memorystream-npm-0.3.1-ae973f1d16-f18b42440d.zip +0 -0
- package/.yarn/cache/merge-stream-npm-2.0.0-2ac83efea5-6fa4dcc8d8.zip +0 -0
- package/.yarn/cache/micromatch-npm-4.0.5-cfab5d7669-02a17b671c.zip +0 -0
- package/.yarn/cache/mimic-fn-npm-2.1.0-4fbeb3abb4-d2421a3444.zip +0 -0
- package/.yarn/cache/minimatch-npm-3.1.2-9405269906-c154e56640.zip +0 -0
- package/.yarn/cache/minimatch-npm-5.1.0-34f6240621-15ce53d31a.zip +0 -0
- package/.yarn/cache/minimist-npm-1.2.6-f4cee4b4af-d15428cd1e.zip +0 -0
- package/.yarn/cache/minipass-collect-npm-1.0.2-3b4676eab5-14df761028.zip +0 -0
- package/.yarn/cache/minipass-fetch-npm-2.1.0-300ce55188-1334732859.zip +0 -0
- package/.yarn/cache/minipass-flush-npm-1.0.5-efe79d9826-56269a0b22.zip +0 -0
- package/.yarn/cache/minipass-npm-3.3.4-6cf48a6c5e-5d95a7738c.zip +0 -0
- package/.yarn/cache/minipass-pipeline-npm-1.2.4-5924cb077f-b14240dac0.zip +0 -0
- package/.yarn/cache/minipass-sized-npm-1.0.3-306d86f432-79076749fc.zip +0 -0
- package/.yarn/cache/minizlib-npm-2.1.2-ea89cd0cfb-f1fdeac0b0.zip +0 -0
- package/.yarn/cache/mkdirp-npm-1.0.4-37f6ef56b9-a96865108c.zip +0 -0
- package/.yarn/cache/ms-npm-2.0.0-9e1101a471-0e6a22b8b7.zip +0 -0
- package/.yarn/cache/ms-npm-2.1.2-ec0c1512ff-673cdb2c31.zip +0 -0
- package/.yarn/cache/ms-npm-2.1.3-81ff3cfac1-aa92de6080.zip +0 -0
- package/.yarn/cache/natural-compare-npm-1.4.0-97b75b362d-23ad088b08.zip +0 -0
- package/.yarn/cache/negotiator-npm-0.6.3-9d50e36171-b8ffeb1e26.zip +0 -0
- package/.yarn/cache/node-gyp-npm-9.1.0-2091059b31-1437fa4a87.zip +0 -0
- package/.yarn/cache/node-int64-npm-0.4.0-0dc04ec3b2-d0b30b1ee6.zip +0 -0
- package/.yarn/cache/node-releases-npm-2.0.6-8accb3fefb-e86a926dc9.zip +0 -0
- package/.yarn/cache/nopt-npm-5.0.0-304b40fbfe-d35fdec187.zip +0 -0
- package/.yarn/cache/normalize-path-npm-3.0.0-658ba7d77f-88eeb4da89.zip +0 -0
- package/.yarn/cache/npm-run-path-npm-4.0.1-7aebd8bab3-5374c0cea4.zip +0 -0
- package/.yarn/cache/npmlog-npm-6.0.2-e0e69455c7-ae238cd264.zip +0 -0
- package/.yarn/cache/object-inspect-npm-1.12.2-f125a822c0-a534fc1b85.zip +0 -0
- package/.yarn/cache/object-keys-npm-1.1.1-1bf2f1be93-b363c5e764.zip +0 -0
- package/.yarn/cache/object.assign-npm-4.1.2-d52edada1c-d621d832ed.zip +0 -0
- package/.yarn/cache/object.entries-npm-1.1.5-7a8fcbc43e-d658696f74.zip +0 -0
- package/.yarn/cache/object.values-npm-1.1.5-f1de7f3742-0f17e99741.zip +0 -0
- package/.yarn/cache/once-npm-1.4.0-ccf03ef07a-cd0a885013.zip +0 -0
- package/.yarn/cache/onetime-npm-5.1.2-3ed148fa42-2478859ef8.zip +0 -0
- package/.yarn/cache/optionator-npm-0.9.1-577e397aae-dbc6fa0656.zip +0 -0
- package/.yarn/cache/os-tmpdir-npm-1.0.2-e305b0689b-5666560f7b.zip +0 -0
- package/.yarn/cache/outdent-npm-0.8.0-5e36779041-72b7c1a287.zip +0 -0
- package/.yarn/cache/p-limit-npm-1.3.0-fdb471d864-281c1c0b8c.zip +0 -0
- package/.yarn/cache/p-limit-npm-2.3.0-94a0310039-84ff17f1a3.zip +0 -0
- package/.yarn/cache/p-limit-npm-3.1.0-05d2ede37f-7c3690c4db.zip +0 -0
- package/.yarn/cache/p-locate-npm-2.0.0-3a2ee263dd-e2dceb9b49.zip +0 -0
- package/.yarn/cache/p-locate-npm-4.1.0-eec6872537-513bd14a45.zip +0 -0
- package/.yarn/cache/p-map-npm-4.0.0-4677ae07c7-cb0ab21ec0.zip +0 -0
- package/.yarn/cache/p-try-npm-1.0.0-7373139e40-3b5303f77e.zip +0 -0
- package/.yarn/cache/p-try-npm-2.2.0-e0390dbaf8-f8a8e9a769.zip +0 -0
- package/.yarn/cache/parent-module-npm-1.0.1-1fae11b095-6ba8b25514.zip +0 -0
- package/.yarn/cache/parse-json-npm-5.2.0-00a63b1199-62085b17d6.zip +0 -0
- package/.yarn/cache/path-exists-npm-3.0.0-e80371aa68-96e92643aa.zip +0 -0
- package/.yarn/cache/path-exists-npm-4.0.0-e9e4f63eb0-505807199d.zip +0 -0
- package/.yarn/cache/path-is-absolute-npm-1.0.1-31bc695ffd-060840f92c.zip +0 -0
- package/.yarn/cache/path-key-npm-3.1.1-0e66ea8321-55cd7a9dd4.zip +0 -0
- package/.yarn/cache/path-parse-npm-1.0.7-09564527b7-49abf3d811.zip +0 -0
- package/.yarn/cache/picocolors-npm-1.0.0-d81e0b1927-a2e8092dd8.zip +0 -0
- package/.yarn/cache/picomatch-npm-2.3.1-c782cfd986-050c865ce8.zip +0 -0
- package/.yarn/cache/pirates-npm-4.0.5-22f8e827ce-c9994e61b8.zip +0 -0
- package/.yarn/cache/pkg-dir-npm-4.2.0-2b5d0a8d32-9863e3f351.zip +0 -0
- package/.yarn/cache/prelude-ls-npm-1.2.1-3e4d272a55-cd192ec0d0.zip +0 -0
- package/.yarn/cache/prettier-npm-2.7.1-d1f40f5e1a-55a4409182.zip +0 -0
- package/.yarn/cache/pretty-format-npm-28.1.3-fdf56e33bc-e69f857358.zip +0 -0
- package/.yarn/cache/promise-inflight-npm-1.0.1-5bb925afac-2274948309.zip +0 -0
- package/.yarn/cache/promise-retry-npm-2.0.1-871f0b01b7-f96a3f6d90.zip +0 -0
- package/.yarn/cache/prompts-npm-2.4.2-f5d25d5eea-d8fd1fe638.zip +0 -0
- package/.yarn/cache/punycode-npm-2.1.1-26eb3e15cf-823bf443c6.zip +0 -0
- package/.yarn/cache/react-is-npm-18.2.0-0cc5edb910-e72d0ba81b.zip +0 -0
- package/.yarn/cache/readable-stream-npm-3.6.0-23a4a5eb56-d4ea81502d.zip +0 -0
- package/.yarn/cache/regexp.prototype.flags-npm-1.4.3-df1c08b65d-51228bae73.zip +0 -0
- package/.yarn/cache/regexpp-npm-3.2.0-2513f32cfc-a78dc5c715.zip +0 -0
- package/.yarn/cache/require-directory-npm-2.1.1-8608aee50b-fb47e70bf0.zip +0 -0
- package/.yarn/cache/resolve-cwd-npm-3.0.0-e6f4e296bf-546e081601.zip +0 -0
- package/.yarn/cache/resolve-from-npm-4.0.0-f758ec21bf-f4ba0b8494.zip +0 -0
- package/.yarn/cache/resolve-from-npm-5.0.0-15c9db4d33-4ceeb9113e.zip +0 -0
- package/.yarn/cache/resolve-npm-1.22.1-3980488690-07af5fc1e8.zip +0 -0
- package/.yarn/cache/resolve-patch-46f9469d0d-5656f4d0be.zip +0 -0
- package/.yarn/cache/resolve.exports-npm-1.1.0-81756e03ba-52865af8ed.zip +0 -0
- package/.yarn/cache/retry-npm-0.12.0-72ac7fb4cc-623bd7d2e5.zip +0 -0
- package/.yarn/cache/rimraf-npm-3.0.2-2cb7dac69a-87f4164e39.zip +0 -0
- package/.yarn/cache/safe-buffer-npm-5.1.2-c27fedf6c4-f2f1f7943c.zip +0 -0
- package/.yarn/cache/safe-buffer-npm-5.2.1-3481c8aa9b-b99c4b41fd.zip +0 -0
- package/.yarn/cache/safer-buffer-npm-2.1.2-8d5c0b705e-cab8f25ae6.zip +0 -0
- package/.yarn/cache/semver-npm-5.7.1-40bcea106b-57fd0acfd0.zip +0 -0
- package/.yarn/cache/semver-npm-6.3.0-b3eace8bfd-1b26ecf6db.zip +0 -0
- package/.yarn/cache/semver-npm-7.3.7-3bfe704194-2fa3e87756.zip +0 -0
- package/.yarn/cache/set-blocking-npm-2.0.0-49e2cffa24-6e65a05f7c.zip +0 -0
- package/.yarn/cache/shebang-command-npm-2.0.0-eb2b01921d-6b52fe8727.zip +0 -0
- package/.yarn/cache/shebang-regex-npm-3.0.0-899a0cd65e-1a2bcae50d.zip +0 -0
- package/.yarn/cache/side-channel-npm-1.0.4-e1f38b9e06-351e41b947.zip +0 -0
- package/.yarn/cache/signal-exit-npm-3.0.7-bd270458a3-a2f098f247.zip +0 -0
- package/.yarn/cache/sisteransi-npm-1.0.5-af60cc0cfa-aba6438f46.zip +0 -0
- package/.yarn/cache/slash-npm-3.0.0-b87de2279a-94a93fff61.zip +0 -0
- package/.yarn/cache/slash-npm-4.0.0-ce4bbc4a80-da8e4af737.zip +0 -0
- package/.yarn/cache/smart-buffer-npm-4.2.0-5ac3f668bb-b5167a7142.zip +0 -0
- package/.yarn/cache/socks-npm-2.6.2-94c1dcb8b8-dd91942930.zip +0 -0
- package/.yarn/cache/socks-proxy-agent-npm-7.0.0-7aacf32ea0-7205543701.zip +0 -0
- package/.yarn/cache/solc-npm-0.8.15-92c3f7b3a3-a11de198bc.zip +0 -0
- package/.yarn/cache/solidity-comments-extractor-npm-0.0.7-b84da24f18-a5cedf2310.zip +0 -0
- package/.yarn/cache/source-map-npm-0.6.1-1a3621db16-59ce8640cf.zip +0 -0
- package/.yarn/cache/source-map-support-npm-0.5.13-377dfd7321-933550047b.zip +0 -0
- package/.yarn/cache/source-map-support-npm-0.5.21-09ca99e250-43e98d700d.zip +0 -0
- package/.yarn/cache/sprintf-js-npm-1.0.3-73f0a322fa-19d79aec21.zip +0 -0
- package/.yarn/cache/ssri-npm-9.0.1-33ce27f4f8-fb58f5e46b.zip +0 -0
- package/.yarn/cache/stack-utils-npm-2.0.5-e0438f409a-76b69da0f5.zip +0 -0
- package/.yarn/cache/string-length-npm-4.0.2-675173c7a2-ce85533ef5.zip +0 -0
- package/.yarn/cache/string-length-npm-5.0.1-8751d7cb69-71f73b8c8a.zip +0 -0
- package/.yarn/cache/string-width-npm-4.2.3-2c27177bae-e52c10dc3f.zip +0 -0
- package/.yarn/cache/string.prototype.trimend-npm-1.0.5-2b980efa37-d44f543833.zip +0 -0
- package/.yarn/cache/string.prototype.trimstart-npm-1.0.5-9e62187810-a4857c5399.zip +0 -0
- package/.yarn/cache/string_decoder-npm-1.3.0-2422117fd0-8417646695.zip +0 -0
- package/.yarn/cache/strip-ansi-npm-4.0.0-d4de985014-d9186e6c0c.zip +0 -0
- package/.yarn/cache/strip-ansi-npm-6.0.1-caddc7cb40-f3cd25890a.zip +0 -0
- package/.yarn/cache/strip-ansi-npm-7.0.1-668c121204-257f78fa43.zip +0 -0
- package/.yarn/cache/strip-bom-npm-3.0.0-71e8f81ff9-8d50ff27b7.zip +0 -0
- package/.yarn/cache/strip-bom-npm-4.0.0-97d367a64d-9dbcfbaf50.zip +0 -0
- package/.yarn/cache/strip-final-newline-npm-2.0.0-340c4f7c66-69412b5e25.zip +0 -0
- package/.yarn/cache/strip-json-comments-npm-3.1.1-dcb2324823-492f73e272.zip +0 -0
- package/.yarn/cache/supports-color-npm-5.5.0-183ac537bc-95f6f4ba5a.zip +0 -0
- package/.yarn/cache/supports-color-npm-7.2.0-606bfcf7da-3dda818de0.zip +0 -0
- package/.yarn/cache/supports-color-npm-8.1.1-289e937149-c052193a7e.zip +0 -0
- package/.yarn/cache/supports-hyperlinks-npm-2.2.0-9b22a6271b-aef04fb41f.zip +0 -0
- package/.yarn/cache/supports-preserve-symlinks-flag-npm-1.0.0-f17c4d0028-53b1e247e6.zip +0 -0
- package/.yarn/cache/tar-npm-6.1.11-e6ac3cba9c-a04c07bb9e.zip +0 -0
- package/.yarn/cache/terminal-link-npm-2.1.1-de80341758-ce3d2cd3a4.zip +0 -0
- package/.yarn/cache/test-exclude-npm-6.0.0-3fb03d69df-3b34a3d771.zip +0 -0
- package/.yarn/cache/text-table-npm-0.2.0-d92a778b59-b6937a38c8.zip +0 -0
- package/.yarn/cache/tmp-npm-0.0.33-bcbf65df2a-902d7aceb7.zip +0 -0
- package/.yarn/cache/tmpl-npm-1.0.5-d399ba37e2-cd922d9b85.zip +0 -0
- package/.yarn/cache/to-fast-properties-npm-2.0.0-0dc60cc481-be2de62fe5.zip +0 -0
- package/.yarn/cache/to-regex-range-npm-5.0.1-f1e8263b00-f76fa01b3d.zip +0 -0
- package/.yarn/cache/tsconfig-paths-npm-3.14.1-17a815b5c5-8afa01c673.zip +0 -0
- package/.yarn/cache/type-check-npm-0.4.0-60565800ce-ec688ebfc9.zip +0 -0
- package/.yarn/cache/type-detect-npm-4.0.8-8d8127b901-62b5628bff.zip +0 -0
- package/.yarn/cache/type-fest-npm-0.20.2-b36432617f-4fb3272df2.zip +0 -0
- package/.yarn/cache/type-fest-npm-0.21.3-5ff2a9c6fd-e6b32a3b38.zip +0 -0
- package/.yarn/cache/type-fest-npm-1.4.0-7dd848962a-b011c33886.zip +0 -0
- package/.yarn/cache/unbox-primitive-npm-1.0.2-cb56a05066-b7a1cf5862.zip +0 -0
- package/.yarn/cache/unique-filename-npm-1.1.1-c885c5095b-cf4998c922.zip +0 -0
- package/.yarn/cache/unique-slug-npm-2.0.2-f6ba1ddeb7-5b6876a645.zip +0 -0
- package/.yarn/cache/update-browserslist-db-npm-1.0.4-bf636db585-7c7da28d0f.zip +0 -0
- package/.yarn/cache/uri-js-npm-4.4.1-66d11cbcaf-7167432de6.zip +0 -0
- package/.yarn/cache/util-deprecate-npm-1.0.2-e3fe1a219c-474acf1146.zip +0 -0
- package/.yarn/cache/v8-compile-cache-npm-2.3.0-961375f150-adb0a271ea.zip +0 -0
- package/.yarn/cache/v8-to-istanbul-npm-9.0.1-58bbce7857-a49c34bf0a.zip +0 -0
- package/.yarn/cache/walker-npm-1.0.8-b0a05b9478-ad7a257ea1.zip +0 -0
- package/.yarn/cache/which-boxed-primitive-npm-1.0.2-e214f9ae5a-53ce774c73.zip +0 -0
- package/.yarn/cache/which-npm-2.0.2-320ddf72f7-1a5c563d3c.zip +0 -0
- package/.yarn/cache/wide-align-npm-1.1.5-889d77e592-d5fc37cd56.zip +0 -0
- package/.yarn/cache/word-wrap-npm-1.2.3-7fb15ab002-30b48f91fc.zip +0 -0
- package/.yarn/cache/wrap-ansi-npm-7.0.0-ad6e1a0554-a790b846fd.zip +0 -0
- package/.yarn/cache/wrappy-npm-1.0.2-916de4d4b3-159da4805f.zip +0 -0
- package/.yarn/cache/write-file-atomic-npm-4.0.1-96ec744721-8f78023253.zip +0 -0
- package/.yarn/cache/y18n-npm-5.0.8-5f3a0a7e62-54f0fb9562.zip +0 -0
- package/.yarn/cache/yallist-npm-4.0.0-b493d9e907-343617202a.zip +0 -0
- package/.yarn/cache/yargs-npm-17.5.1-0902fa46de-00d58a2c05.zip +0 -0
- package/.yarn/cache/yargs-parser-npm-21.0.1-b778fd3462-c3ea2ed12c.zip +0 -0
- package/.yarn/cache/yocto-queue-npm-0.1.0-c6c9a7db29-f77b3d8d00.zip +0 -0
- package/.yarn/install-state.gz +0 -0
- package/.yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs +546 -0
- package/.yarn/releases/yarn-3.2.1.cjs +786 -0
- package/.yarnrc.yml +7 -0
- package/CODE_OF_CONDUCT.md +1 -1
- package/HOW_TO_PUBLISH.md +2 -2
- package/README.md +217 -24
- package/coverage/clover.xml +1138 -0
- package/coverage/coverage-final.json +96 -0
- package/coverage/lcov-report/base.css +224 -0
- package/coverage/lcov-report/block-navigation.js +87 -0
- package/coverage/lcov-report/favicon.png +0 -0
- package/coverage/lcov-report/index.html +176 -0
- package/coverage/lcov-report/prettify.css +1 -0
- package/coverage/lcov-report/prettify.js +2 -0
- package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/coverage/lcov-report/sorter.js +196 -0
- package/coverage/lcov-report/src/binary-operator-printers/arithmetic.js.html +244 -0
- package/coverage/lcov-report/src/binary-operator-printers/assignment.js.html +175 -0
- package/coverage/lcov-report/src/binary-operator-printers/bit.js.html +103 -0
- package/coverage/lcov-report/src/binary-operator-printers/comparison.js.html +199 -0
- package/coverage/lcov-report/src/binary-operator-printers/exponentiation.js.html +163 -0
- package/coverage/lcov-report/src/binary-operator-printers/index.html +221 -0
- package/coverage/lcov-report/src/binary-operator-printers/index.js.html +124 -0
- package/coverage/lcov-report/src/binary-operator-printers/logical.js.html +208 -0
- package/coverage/lcov-report/src/binary-operator-printers/shift.js.html +103 -0
- package/coverage/lcov-report/src/clean.js.html +109 -0
- package/coverage/lcov-report/src/comments/handler.js.html +364 -0
- package/coverage/lcov-report/src/comments/handlers/ContractDefinition.js.html +265 -0
- package/coverage/lcov-report/src/comments/handlers/index.html +116 -0
- package/coverage/lcov-report/src/comments/ignore.js.html +184 -0
- package/coverage/lcov-report/src/comments/index.html +161 -0
- package/coverage/lcov-report/src/comments/index.js.html +97 -0
- package/coverage/lcov-report/src/comments/printer.js.html +277 -0
- package/coverage/lcov-report/src/common/index.html +111 -0
- package/coverage/lcov-report/src/common/util.js.html +98 -0
- package/coverage/lcov-report/src/common/utils.js.html +107 -0
- package/coverage/lcov-report/src/index.html +191 -0
- package/coverage/lcov-report/src/index.js.html +268 -0
- package/coverage/lcov-report/src/loc.js.html +133 -0
- package/coverage/lcov-report/src/nodes/ArrayTypeName.js.html +115 -0
- package/coverage/lcov-report/src/nodes/AssemblyAssignment.js.html +133 -0
- package/coverage/lcov-report/src/nodes/AssemblyBlock.js.html +160 -0
- package/coverage/lcov-report/src/nodes/AssemblyCall.js.html +133 -0
- package/coverage/lcov-report/src/nodes/AssemblyCase.js.html +112 -0
- package/coverage/lcov-report/src/nodes/AssemblyFor.js.html +139 -0
- package/coverage/lcov-report/src/nodes/AssemblyFunctionDefinition.js.html +190 -0
- package/coverage/lcov-report/src/nodes/AssemblyIf.js.html +115 -0
- package/coverage/lcov-report/src/nodes/AssemblyLocalDefinition.js.html +160 -0
- package/coverage/lcov-report/src/nodes/AssemblyMemberAccess.js.html +112 -0
- package/coverage/lcov-report/src/nodes/AssemblySwitch.js.html +133 -0
- package/coverage/lcov-report/src/nodes/BinaryOperation.js.html +127 -0
- package/coverage/lcov-report/src/nodes/Block.js.html +166 -0
- package/coverage/lcov-report/src/nodes/BooleanLiteral.js.html +100 -0
- package/coverage/lcov-report/src/nodes/Break.js.html +100 -0
- package/coverage/lcov-report/src/nodes/BreakStatement.js.html +100 -0
- package/coverage/lcov-report/src/nodes/CatchClause.js.html +148 -0
- package/coverage/lcov-report/src/nodes/Conditional.js.html +151 -0
- package/coverage/lcov-report/src/nodes/Continue.js.html +100 -0
- package/coverage/lcov-report/src/nodes/ContinueStatement.js.html +100 -0
- package/coverage/lcov-report/src/nodes/ContractDefinition.js.html +226 -0
- package/coverage/lcov-report/src/nodes/CustomErrorDefinition.js.html +139 -0
- package/coverage/lcov-report/src/nodes/DecimalNumber.js.html +100 -0
- package/coverage/lcov-report/src/nodes/DoWhileStatement.js.html +151 -0
- package/coverage/lcov-report/src/nodes/ElementaryTypeName.js.html +115 -0
- package/coverage/lcov-report/src/nodes/EmitStatement.js.html +100 -0
- package/coverage/lcov-report/src/nodes/EnumDefinition.js.html +151 -0
- package/coverage/lcov-report/src/nodes/EnumValue.js.html +100 -0
- package/coverage/lcov-report/src/nodes/EventDefinition.js.html +145 -0
- package/coverage/lcov-report/src/nodes/ExpressionStatement.js.html +181 -0
- package/coverage/lcov-report/src/nodes/FileLevelConstant.js.html +121 -0
- package/coverage/lcov-report/src/nodes/ForStatement.js.html +223 -0
- package/coverage/lcov-report/src/nodes/FunctionCall.js.html +280 -0
- package/coverage/lcov-report/src/nodes/FunctionDefinition.js.html +469 -0
- package/coverage/lcov-report/src/nodes/FunctionTypeName.js.html +217 -0
- package/coverage/lcov-report/src/nodes/HexLiteral.js.html +133 -0
- package/coverage/lcov-report/src/nodes/HexNumber.js.html +100 -0
- package/coverage/lcov-report/src/nodes/Identifier.js.html +100 -0
- package/coverage/lcov-report/src/nodes/IfStatement.js.html +271 -0
- package/coverage/lcov-report/src/nodes/ImportDirective.js.html +247 -0
- package/coverage/lcov-report/src/nodes/IndexAccess.js.html +199 -0
- package/coverage/lcov-report/src/nodes/IndexRangeAccess.js.html +121 -0
- package/coverage/lcov-report/src/nodes/InheritanceSpecifier.js.html +130 -0
- package/coverage/lcov-report/src/nodes/InlineAssemblyStatement.js.html +148 -0
- package/coverage/lcov-report/src/nodes/LabelDefinition.js.html +118 -0
- package/coverage/lcov-report/src/nodes/Mapping.js.html +118 -0
- package/coverage/lcov-report/src/nodes/MemberAccess.js.html +466 -0
- package/coverage/lcov-report/src/nodes/ModifierDefinition.js.html +259 -0
- package/coverage/lcov-report/src/nodes/ModifierInvocation.js.html +151 -0
- package/coverage/lcov-report/src/nodes/NameValueExpression.js.html +115 -0
- package/coverage/lcov-report/src/nodes/NameValueList.js.html +148 -0
- package/coverage/lcov-report/src/nodes/NewExpression.js.html +100 -0
- package/coverage/lcov-report/src/nodes/NumberLiteral.js.html +109 -0
- package/coverage/lcov-report/src/nodes/PragmaDirective.js.html +100 -0
- package/coverage/lcov-report/src/nodes/ReturnStatement.js.html +157 -0
- package/coverage/lcov-report/src/nodes/RevertStatement.js.html +100 -0
- package/coverage/lcov-report/src/nodes/SourceUnit.js.html +133 -0
- package/coverage/lcov-report/src/nodes/StateVariableDeclaration.js.html +166 -0
- package/coverage/lcov-report/src/nodes/StringLiteral.js.html +148 -0
- package/coverage/lcov-report/src/nodes/StructDefinition.js.html +154 -0
- package/coverage/lcov-report/src/nodes/ThrowStatement.js.html +100 -0
- package/coverage/lcov-report/src/nodes/TryStatement.js.html +220 -0
- package/coverage/lcov-report/src/nodes/TupleExpression.js.html +160 -0
- package/coverage/lcov-report/src/nodes/TypeDefinition.js.html +100 -0
- package/coverage/lcov-report/src/nodes/TypeNameExpression.js.html +100 -0
- package/coverage/lcov-report/src/nodes/UnaryOperation.js.html +121 -0
- package/coverage/lcov-report/src/nodes/UncheckedStatement.js.html +118 -0
- package/coverage/lcov-report/src/nodes/UserDefinedTypeName.js.html +100 -0
- package/coverage/lcov-report/src/nodes/UsingForDeclaration.js.html +166 -0
- package/coverage/lcov-report/src/nodes/VariableDeclaration.js.html +253 -0
- package/coverage/lcov-report/src/nodes/VariableDeclarationStatement.js.html +217 -0
- package/coverage/lcov-report/src/nodes/WhileStatement.js.html +148 -0
- package/coverage/lcov-report/src/nodes/index.html +1241 -0
- package/coverage/lcov-report/src/nodes/index.js.html +316 -0
- package/coverage/lcov-report/src/nodes/print-comments.js.html +166 -0
- package/coverage/lcov-report/src/nodes/print-preserving-empty-lines.js.html +244 -0
- package/coverage/lcov-report/src/nodes/print-separated-item.js.html +136 -0
- package/coverage/lcov-report/src/nodes/print-separated-list.js.html +151 -0
- package/coverage/lcov-report/src/options.js.html +298 -0
- package/coverage/lcov-report/src/parser.js.html +673 -0
- package/coverage/lcov-report/src/prettier-version-check.js.html +125 -0
- package/coverage/lcov-report/src/printer.js.html +214 -0
- package/coverage/lcov.info +2604 -0
- package/jest.config.js +9 -2
- package/package.json +28 -19
- package/src/binary-operator-printers/arithmetic.js +9 -11
- package/src/binary-operator-printers/assignment.js +10 -11
- package/src/binary-operator-printers/bit.js +1 -1
- package/src/binary-operator-printers/comparison.js +8 -10
- package/src/binary-operator-printers/exponentiation.js +8 -10
- package/src/binary-operator-printers/index.js +8 -8
- package/src/binary-operator-printers/logical.js +8 -10
- package/src/binary-operator-printers/shift.js +1 -1
- package/src/comments/handlers/ContractDefinition.js +8 -6
- package/src/comments/printer.js +6 -6
- package/src/index.js +7 -2
- package/src/loc.js +1 -1
- package/src/nodes/ArrayTypeName.js +6 -13
- package/src/nodes/AssemblyAssignment.js +1 -1
- package/src/nodes/AssemblyBlock.js +13 -14
- package/src/nodes/AssemblyCall.js +2 -8
- package/src/nodes/AssemblyCase.js +5 -12
- package/src/nodes/AssemblyFor.js +1 -1
- package/src/nodes/AssemblyFunctionDefinition.js +24 -25
- package/src/nodes/AssemblyIf.js +6 -13
- package/src/nodes/AssemblyLocalDefinition.js +3 -3
- package/src/nodes/AssemblyMemberAccess.js +5 -12
- package/src/nodes/AssemblySwitch.js +8 -14
- package/src/nodes/Block.js +10 -12
- package/src/nodes/CatchClause.js +7 -10
- package/src/nodes/Conditional.js +12 -16
- package/src/nodes/Continue.js +5 -0
- package/src/nodes/ContractDefinition.js +17 -20
- package/src/nodes/CustomErrorDefinition.js +18 -0
- package/src/nodes/DoWhileStatement.js +9 -16
- package/src/nodes/ElementaryTypeName.js +2 -8
- package/src/nodes/EmitStatement.js +1 -8
- package/src/nodes/EnumDefinition.js +12 -14
- package/src/nodes/EventDefinition.js +9 -16
- package/src/nodes/ExpressionStatement.js +3 -3
- package/src/nodes/FileLevelConstant.js +8 -15
- package/src/nodes/ForStatement.js +24 -25
- package/src/nodes/FunctionCall.js +53 -31
- package/src/nodes/FunctionDefinition.js +44 -45
- package/src/nodes/FunctionTypeName.js +18 -21
- package/src/nodes/HexLiteral.js +1 -1
- package/src/nodes/IfStatement.js +10 -12
- package/src/nodes/ImportDirective.js +35 -12
- package/src/nodes/IndexAccess.js +29 -13
- package/src/nodes/IndexRangeAccess.js +8 -15
- package/src/nodes/InheritanceSpecifier.js +5 -9
- package/src/nodes/InlineAssemblyStatement.js +17 -7
- package/src/nodes/LabelDefinition.js +3 -3
- package/src/nodes/Mapping.js +7 -14
- package/src/nodes/MemberAccess.js +111 -14
- package/src/nodes/ModifierDefinition.js +33 -34
- package/src/nodes/ModifierInvocation.js +7 -9
- package/src/nodes/NameValueExpression.js +6 -13
- package/src/nodes/NameValueList.js +3 -3
- package/src/nodes/NewExpression.js +1 -7
- package/src/nodes/NumberLiteral.js +1 -7
- package/src/nodes/PragmaDirective.js +1 -20
- package/src/nodes/ReturnStatement.js +9 -6
- package/src/nodes/RevertStatement.js +5 -0
- package/src/nodes/SourceUnit.js +6 -4
- package/src/nodes/StateVariableDeclaration.js +9 -12
- package/src/nodes/StringLiteral.js +3 -3
- package/src/nodes/StructDefinition.js +13 -14
- package/src/nodes/TryStatement.js +5 -5
- package/src/nodes/TupleExpression.js +7 -9
- package/src/nodes/TypeDefinition.js +5 -0
- package/src/nodes/UnaryOperation.js +3 -9
- package/src/nodes/UncheckedStatement.js +3 -4
- package/src/nodes/UsingForDeclaration.js +19 -10
- package/src/nodes/VariableDeclaration.js +19 -23
- package/src/nodes/VariableDeclarationStatement.js +21 -15
- package/src/nodes/WhileStatement.js +8 -15
- package/src/nodes/index.js +72 -69
- package/src/nodes/print-comments.js +1 -1
- package/src/nodes/print-preserving-empty-lines.js +6 -6
- package/src/nodes/print-separated-item.js +3 -3
- package/src/nodes/print-separated-list.js +4 -11
- package/src/options.js +47 -3
- package/src/parser.js +69 -12
- package/src/prettier-comments/language-js/comments.js +1 -1
- package/src/printer.js +18 -2
- package/.github/workflows/CI.yml +0 -83
- package/__tests__/binary-operator-printers/__snapshots__/index.test.js.snap +0 -13
- package/__tests__/binary-operator-printers/index.test.js +0 -5
- package/__tests__/comments/printer.test.js +0 -9
- package/__tests__/nodes/__snapshots__/index.test.js.snap +0 -74
- package/__tests__/nodes/index.test.js +0 -5
- package/__tests__/printer.test.js +0 -9
- package/assets/telegram-badge.svg +0 -29
- package/scripts/__snapshots__/makeData.test.js.snap +0 -17
- package/scripts/generateIndexes.js +0 -16
- package/scripts/makeData.js +0 -22
- package/scripts/makeData.test.js +0 -10
- package/src/nodes/TypeNameExpression.js +0 -5
- package/tests/AddressPayable/AddressPayable.sol +0 -10
- package/tests/AddressPayable/__snapshots__/jsfmt.spec.js.snap +0 -37
- package/tests/AddressPayable/jsfmt.spec.js +0 -1
- package/tests/AllSolidityFeatures/AllSolidityFeatures.sol +0 -532
- package/tests/AllSolidityFeatures/__snapshots__/jsfmt.spec.js.snap +0 -1128
- package/tests/AllSolidityFeatures/jsfmt.spec.js +0 -1
- package/tests/Arrays/Arrays.sol +0 -17
- package/tests/Arrays/__snapshots__/jsfmt.spec.js.snap +0 -61
- package/tests/Arrays/jsfmt.spec.js +0 -1
- package/tests/Assembly/Assembly.sol +0 -180
- package/tests/Assembly/__snapshots__/jsfmt.spec.js.snap +0 -406
- package/tests/Assembly/jsfmt.spec.js +0 -1
- package/tests/BasicIterator/BasicIterator.sol +0 -44
- package/tests/BasicIterator/__snapshots__/jsfmt.spec.js.snap +0 -102
- package/tests/BasicIterator/jsfmt.spec.js +0 -1
- package/tests/BinaryOperators/BinaryOperators.sol +0 -186
- package/tests/BinaryOperators/Parentheses.sol +0 -132
- package/tests/BinaryOperators/__snapshots__/jsfmt.spec.js.snap +0 -952
- package/tests/BinaryOperators/jsfmt.spec.js +0 -1
- package/tests/Comments/Comments.sol +0 -95
- package/tests/Comments/__snapshots__/jsfmt.spec.js.snap +0 -225
- package/tests/Comments/jsfmt.spec.js +0 -1
- package/tests/Conditional/Conditional.sol +0 -26
- package/tests/Conditional/__snapshots__/jsfmt.spec.js.snap +0 -79
- package/tests/Conditional/jsfmt.spec.js +0 -1
- package/tests/Constructors/Constructors.sol +0 -8
- package/tests/Constructors/__snapshots__/jsfmt.spec.js.snap +0 -54
- package/tests/Constructors/jsfmt.spec.js +0 -1
- package/tests/ContractDefinitions/ContractDefinitions.sol +0 -2
- package/tests/ContractDefinitions/__snapshots__/jsfmt.spec.js.snap +0 -22
- package/tests/ContractDefinitions/jsfmt.spec.js +0 -1
- package/tests/EnumDefinitions/EnumDefinitions.sol +0 -4
- package/tests/EnumDefinitions/__snapshots__/jsfmt.spec.js.snap +0 -62
- package/tests/EnumDefinitions/jsfmt.spec.js +0 -2
- package/tests/Etc/Etc.sol +0 -48
- package/tests/Etc/__snapshots__/jsfmt.spec.js.snap +0 -134
- package/tests/Etc/jsfmt.spec.js +0 -1
- package/tests/ExplicitVariableTypes/ExplicitVariableTypes.sol +0 -36
- package/tests/ExplicitVariableTypes/__snapshots__/jsfmt.spec.js.snap +0 -255
- package/tests/ExplicitVariableTypes/jsfmt.spec.js +0 -3
- package/tests/ForStatements/ForStatements.sol +0 -43
- package/tests/ForStatements/__snapshots__/jsfmt.spec.js.snap +0 -108
- package/tests/ForStatements/jsfmt.spec.js +0 -1
- package/tests/FunctionCalls/FunctionCalls.sol +0 -19
- package/tests/FunctionCalls/__snapshots__/jsfmt.spec.js.snap +0 -92
- package/tests/FunctionCalls/jsfmt.spec.js +0 -2
- package/tests/FunctionDefinitions/FunctionDefinitions.sol +0 -166
- package/tests/FunctionDefinitions/__snapshots__/jsfmt.spec.js.snap +0 -868
- package/tests/FunctionDefinitions/jsfmt.spec.js +0 -1
- package/tests/HexLiteral/HexLiteral.sol +0 -7
- package/tests/HexLiteral/__snapshots__/jsfmt.spec.js.snap +0 -55
- package/tests/HexLiteral/jsfmt.spec.js +0 -2
- package/tests/IfStatements/IfStatements.sol +0 -112
- package/tests/IfStatements/__snapshots__/jsfmt.spec.js.snap +0 -534
- package/tests/IfStatements/jsfmt.spec.js +0 -1
- package/tests/Immutable/Immutable.sol +0 -20
- package/tests/Immutable/__snapshots__/jsfmt.spec.js.snap +0 -53
- package/tests/Immutable/jsfmt.spec.js +0 -1
- package/tests/ImportDirective/ImportDirectives.sol +0 -5
- package/tests/ImportDirective/__snapshots__/jsfmt.spec.js.snap +0 -56
- package/tests/ImportDirective/jsfmt.spec.js +0 -2
- package/tests/Inbox/Inbox.sol +0 -33
- package/tests/Inbox/__snapshots__/jsfmt.spec.js.snap +0 -79
- package/tests/Inbox/jsfmt.spec.js +0 -1
- package/tests/IndexOf/IndexOf.sol +0 -67
- package/tests/IndexOf/__snapshots__/jsfmt.spec.js.snap +0 -144
- package/tests/IndexOf/jsfmt.spec.js +0 -1
- package/tests/IndexRangeAccess/IndexRangeAccess.sol +0 -9
- package/tests/IndexRangeAccess/__snapshots__/jsfmt.spec.js.snap +0 -31
- package/tests/IndexRangeAccess/jsfmt.spec.js +0 -1
- package/tests/InheritanceSpecifier/InheritanceSpecifier.sol +0 -2
- package/tests/InheritanceSpecifier/__snapshots__/jsfmt.spec.js.snap +0 -24
- package/tests/InheritanceSpecifier/jsfmt.spec.js +0 -1
- package/tests/Issues/Issue205.sol +0 -12
- package/tests/Issues/Issue289.sol +0 -6
- package/tests/Issues/Issue355.sol +0 -12
- package/tests/Issues/Issue385.sol +0 -13
- package/tests/Issues/__snapshots__/jsfmt.spec.js.snap +0 -140
- package/tests/Issues/jsfmt.spec.js +0 -1
- package/tests/MemberAccess/MemberAccess.sol +0 -15
- package/tests/MemberAccess/__snapshots__/jsfmt.spec.js.snap +0 -63
- package/tests/MemberAccess/jsfmt.spec.js +0 -1
- package/tests/ModifierDefinitions/ModifierDefinitions.sol +0 -6
- package/tests/ModifierDefinitions/__snapshots__/jsfmt.spec.js.snap +0 -29
- package/tests/ModifierDefinitions/jsfmt.spec.js +0 -1
- package/tests/MultipartStrings/MultipartStrings.sol +0 -10
- package/tests/MultipartStrings/__snapshots__/jsfmt.spec.js.snap +0 -37
- package/tests/MultipartStrings/jsfmt.spec.js +0 -1
- package/tests/NameValueExpression/NameValueExpression.sol +0 -6
- package/tests/NameValueExpression/__snapshots__/jsfmt.spec.js.snap +0 -68
- package/tests/NameValueExpression/jsfmt.spec.js +0 -2
- package/tests/Ownable/Ownable.sol +0 -75
- package/tests/Ownable/__snapshots__/jsfmt.spec.js.snap +0 -163
- package/tests/Ownable/jsfmt.spec.js +0 -1
- package/tests/Parentheses/AddNoParentheses.sol +0 -92
- package/tests/Parentheses/BitAndNoParentheses.sol +0 -92
- package/tests/Parentheses/BitOrNoParentheses.sol +0 -92
- package/tests/Parentheses/BitXorNoParentheses.sol +0 -92
- package/tests/Parentheses/DivNoParentheses.sol +0 -92
- package/tests/Parentheses/ExpNoParentheses.sol +0 -92
- package/tests/Parentheses/LogicNoParentheses.sol +0 -20
- package/tests/Parentheses/ModNoParentheses.sol +0 -92
- package/tests/Parentheses/MulNoParentheses.sol +0 -92
- package/tests/Parentheses/ShiftLNoParentheses.sol +0 -92
- package/tests/Parentheses/ShiftRNoParentheses.sol +0 -92
- package/tests/Parentheses/SubNoParentheses.sol +0 -92
- package/tests/Parentheses/__snapshots__/jsfmt.spec.js.snap +0 -2225
- package/tests/Parentheses/jsfmt.spec.js +0 -1
- package/tests/Pragma/Pragma.sol +0 -7
- package/tests/Pragma/__snapshots__/jsfmt.spec.js.snap +0 -27
- package/tests/Pragma/jsfmt.spec.js +0 -1
- package/tests/PrettierIgnore/PrettierIgnore.sol +0 -39
- package/tests/PrettierIgnore/__snapshots__/jsfmt.spec.js.snap +0 -87
- package/tests/PrettierIgnore/jsfmt.spec.js +0 -1
- package/tests/Proxy/Proxy.sol +0 -52
- package/tests/Proxy/__snapshots__/jsfmt.spec.js.snap +0 -127
- package/tests/Proxy/jsfmt.spec.js +0 -1
- package/tests/SampleCrowdsale/SampleCrowdsale.sol +0 -48
- package/tests/SampleCrowdsale/__snapshots__/jsfmt.spec.js.snap +0 -113
- package/tests/SampleCrowdsale/jsfmt.spec.js +0 -1
- package/tests/SimpleAuction/SimpleAuction.sol +0 -123
- package/tests/SimpleAuction/__snapshots__/jsfmt.spec.js.snap +0 -250
- package/tests/SimpleAuction/jsfmt.spec.js +0 -1
- package/tests/SimpleStorage/SimpleStorage.sol +0 -14
- package/tests/SimpleStorage/__snapshots__/jsfmt.spec.js.snap +0 -41
- package/tests/SimpleStorage/jsfmt.spec.js +0 -1
- package/tests/SplittableCommodity/SplittableCommodity.sol +0 -57
- package/tests/SplittableCommodity/__snapshots__/jsfmt.spec.js.snap +0 -136
- package/tests/SplittableCommodity/jsfmt.spec.js +0 -1
- package/tests/StateVariableDeclarations/StateVariableDeclarations.sol +0 -3
- package/tests/StateVariableDeclarations/__snapshots__/jsfmt.spec.js.snap +0 -20
- package/tests/StateVariableDeclarations/jsfmt.spec.js +0 -1
- package/tests/StyleGuide/BlankLines.sol +0 -19
- package/tests/StyleGuide/ControlStructures.sol +0 -57
- package/tests/StyleGuide/FunctionDeclaration.sol +0 -135
- package/tests/StyleGuide/Mappings.sol +0 -9
- package/tests/StyleGuide/MaximumLineLength.sol +0 -67
- package/tests/StyleGuide/OtherRecommendations.sol +0 -29
- package/tests/StyleGuide/VariableDeclarations.sol +0 -6
- package/tests/StyleGuide/WhitespaceInExpressions.sol +0 -13
- package/tests/StyleGuide/__snapshots__/jsfmt.spec.js.snap +0 -772
- package/tests/StyleGuide/jsfmt.spec.js +0 -1
- package/tests/TryCatch/TryCatch.sol +0 -103
- package/tests/TryCatch/__snapshots__/jsfmt.spec.js.snap +0 -241
- package/tests/TryCatch/jsfmt.spec.js +0 -1
- package/tests/Tupples/Tupples.sol +0 -25
- package/tests/Tupples/__snapshots__/jsfmt.spec.js.snap +0 -74
- package/tests/Tupples/jsfmt.spec.js +0 -1
- package/tests/WhileStatements/WhileStatements.sol +0 -37
- package/tests/WhileStatements/__snapshots__/jsfmt.spec.js.snap +0 -110
- package/tests/WhileStatements/jsfmt.spec.js +0 -1
- package/tests/quotes/Quotes.sol +0 -24
- package/tests/quotes/__snapshots__/jsfmt.spec.js.snap +0 -123
- package/tests/quotes/jsfmt.spec.js +0 -2
- package/tests/strings/__snapshots__/jsfmt.spec.js.snap +0 -1580
- package/tests/strings/jsfmt.spec.js +0 -1
- package/tests/strings/strings.sol +0 -717
- package/tests_config/require_prettier.js +0 -3
- package/tests_config/require_standalone.js +0 -22
- package/tests_config/run_spec.js +0 -453
- package/tests_config/setup.js +0 -7
- package/tests_config/utils/check-parsers.js +0 -205
- package/tests_config/utils/compile-contract.js +0 -40
- package/tests_config/utils/consistent-end-of-line.js +0 -11
- package/tests_config/utils/create-snapshot.js +0 -96
- package/tests_config/utils/stringify-options-for-title.js +0 -13
- package/tests_config/utils/visualize-end-of-line.js +0 -16
- package/tests_config/utils/visualize-range.js +0 -38
|
@@ -1,1128 +0,0 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
-
|
|
3
|
-
exports[`AllSolidityFeatures.sol format 1`] = `
|
|
4
|
-
====================================options=====================================
|
|
5
|
-
parsers: ["solidity-parse"]
|
|
6
|
-
printWidth: 80
|
|
7
|
-
| printWidth
|
|
8
|
-
=====================================input======================================
|
|
9
|
-
// Examples taken from the Solidity documentation online.
|
|
10
|
-
|
|
11
|
-
// for pragma version numbers, see https://docs.npmjs.com/misc/semver#versions
|
|
12
|
-
pragma solidity 0.4.0;
|
|
13
|
-
pragma solidity ^0.4.0;
|
|
14
|
-
|
|
15
|
-
import "SomeFile.sol";
|
|
16
|
-
import "SomeFile.sol" as SomeOtherFile;
|
|
17
|
-
import * as SomeSymbol from "AnotherFile.sol";
|
|
18
|
-
import {symbol1 as alias, symbol2} from "File.sol";
|
|
19
|
-
|
|
20
|
-
interface i {
|
|
21
|
-
function f();
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
contract c {
|
|
25
|
-
function c()
|
|
26
|
-
{
|
|
27
|
-
val1 = 1 wei; // 1
|
|
28
|
-
val2 = 1 szabo; // 1 * 10 ** 12
|
|
29
|
-
val3 = 1 finney; // 1 * 10 ** 15
|
|
30
|
-
val4 = 1 ether; // 1 * 10 ** 18
|
|
31
|
-
}
|
|
32
|
-
uint256 val1;
|
|
33
|
-
uint256 val2;
|
|
34
|
-
uint256 val3;
|
|
35
|
-
uint256 val4;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
contract test {
|
|
39
|
-
enum ActionChoices { GoLeft, GoRight, GoStraight, SitStill }
|
|
40
|
-
|
|
41
|
-
function test()
|
|
42
|
-
{
|
|
43
|
-
choices = ActionChoices.GoStraight;
|
|
44
|
-
}
|
|
45
|
-
function getChoice() returns (uint d)
|
|
46
|
-
{
|
|
47
|
-
d = uint256(choices);
|
|
48
|
-
}
|
|
49
|
-
ActionChoices choices;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
contract Base {
|
|
53
|
-
function Base(uint i)
|
|
54
|
-
{
|
|
55
|
-
m_i = i;
|
|
56
|
-
}
|
|
57
|
-
uint public m_i;
|
|
58
|
-
}
|
|
59
|
-
contract Derived is Base(0) {
|
|
60
|
-
function Derived(uint i) Base(i) {}
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
contract C {
|
|
64
|
-
uint248 x; // 31 bytes: slot 0, offset 0
|
|
65
|
-
uint16 y; // 2 bytes: slot 1, offset 0 (does not fit in slot 0)
|
|
66
|
-
uint240 z; // 30 bytes: slot 1, offset 2 bytes
|
|
67
|
-
uint8 a; // 1 byte: slot 2, offset 0 bytes
|
|
68
|
-
struct S {
|
|
69
|
-
uint8 a; // 1 byte, slot +0, offset 0 bytes
|
|
70
|
-
uint256 b; // 32 bytes, slot +1, offset 0 bytes (does not fit)
|
|
71
|
-
}
|
|
72
|
-
S structData; // 2 slots, slot 3, offset 0 bytes (does not really apply)
|
|
73
|
-
uint8 alpha; // 1 byte, slot 4 (start new slot after struct)
|
|
74
|
-
uint16[3] beta; // 3*16 bytes, slots 5+6 (start new slot for array)
|
|
75
|
-
uint8 gamma; // 1 byte, slot 7 (start new slot after array)
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
contract test {
|
|
79
|
-
function f(uint x, uint y) returns (uint z) {
|
|
80
|
-
var c = x + 3;
|
|
81
|
-
var b = 7 + (c * (8 - 7)) - x;
|
|
82
|
-
return -(-b | 0);
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
contract test {
|
|
87
|
-
function f(uint x, uint y) returns (uint z) {
|
|
88
|
-
return 10;
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
contract c {
|
|
93
|
-
function () returns (uint) { return g(8); }
|
|
94
|
-
function g(uint pos) internal returns (uint) { setData(pos, 8); return getData(pos); }
|
|
95
|
-
function setData(uint pos, uint value) internal { data[pos] = value; }
|
|
96
|
-
function getData(uint pos) internal { return data[pos]; }
|
|
97
|
-
mapping(uint => uint) data;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
contract Sharer {
|
|
101
|
-
function sendHalf(address addr) returns (uint balance) {
|
|
102
|
-
if (!addr.send(msg.value/2))
|
|
103
|
-
throw; // also reverts the transfer to Sharer
|
|
104
|
-
return address(this).balance;
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
/// @dev Models a modifiable and iterable set of uint values.
|
|
109
|
-
library IntegerSet
|
|
110
|
-
{
|
|
111
|
-
struct data
|
|
112
|
-
{
|
|
113
|
-
/// Mapping item => index (or zero if not present)
|
|
114
|
-
mapping(uint => uint) index;
|
|
115
|
-
/// Items by index (index 0 is invalid), items with index[item] == 0 are invalid.
|
|
116
|
-
uint[] items;
|
|
117
|
-
/// Number of stored items.
|
|
118
|
-
uint size;
|
|
119
|
-
}
|
|
120
|
-
function insert(data storage self, uint value) returns (bool alreadyPresent)
|
|
121
|
-
{
|
|
122
|
-
uint index = self.index[value];
|
|
123
|
-
if (index > 0)
|
|
124
|
-
return true;
|
|
125
|
-
else
|
|
126
|
-
{
|
|
127
|
-
if (self.items.length == 0) self.items.length = 1;
|
|
128
|
-
index = self.items.length++;
|
|
129
|
-
self.items[index] = value;
|
|
130
|
-
self.index[value] = index;
|
|
131
|
-
self.size++;
|
|
132
|
-
return false;
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
function remove(data storage self, uint value) returns (bool success)
|
|
136
|
-
{
|
|
137
|
-
uint index = self.index[value];
|
|
138
|
-
if (index == 0)
|
|
139
|
-
return false;
|
|
140
|
-
delete self.index[value];
|
|
141
|
-
delete self.items[index];
|
|
142
|
-
self.size --;
|
|
143
|
-
}
|
|
144
|
-
function contains(data storage self, uint value) returns (bool)
|
|
145
|
-
{
|
|
146
|
-
return self.index[value] > 0;
|
|
147
|
-
}
|
|
148
|
-
function iterate_start(data storage self) returns (uint index)
|
|
149
|
-
{
|
|
150
|
-
return iterate_advance(self, 0);
|
|
151
|
-
}
|
|
152
|
-
function iterate_valid(data storage self, uint index) returns (bool)
|
|
153
|
-
{
|
|
154
|
-
return index < self.items.length;
|
|
155
|
-
}
|
|
156
|
-
function iterate_advance(data storage self, uint index) returns (uint r_index)
|
|
157
|
-
{
|
|
158
|
-
index++;
|
|
159
|
-
while (iterate_valid(self, index) && self.index[self.items[index]] == index)
|
|
160
|
-
index++;
|
|
161
|
-
return index;
|
|
162
|
-
}
|
|
163
|
-
function iterate_get(data storage self, uint index) returns (uint value)
|
|
164
|
-
{
|
|
165
|
-
return self.items[index];
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
/// How to use it:
|
|
170
|
-
contract User
|
|
171
|
-
{
|
|
172
|
-
/// Just a struct holding our data.
|
|
173
|
-
IntegerSet.data data;
|
|
174
|
-
/// Insert something
|
|
175
|
-
function insert(uint v) returns (uint size)
|
|
176
|
-
{
|
|
177
|
-
/// Sends \`data\` via reference, so IntegerSet can modify it.
|
|
178
|
-
IntegerSet.insert(data, v);
|
|
179
|
-
/// We can access members of the struct - but we should take care not to mess with them.
|
|
180
|
-
return data.size;
|
|
181
|
-
}
|
|
182
|
-
/// Computes the sum of all stored data.
|
|
183
|
-
function sum() returns (uint s)
|
|
184
|
-
{
|
|
185
|
-
for (var i = IntegerSet.iterate_start(data); IntegerSet.iterate_valid(data, i); i = IntegerSet.iterate_advance(data, i))
|
|
186
|
-
s += IntegerSet.iterate_get(data, i);
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
// This broke it at one point (namely the modifiers).
|
|
191
|
-
contract DualIndex {
|
|
192
|
-
mapping(uint => mapping(uint => uint)) data;
|
|
193
|
-
address public admin;
|
|
194
|
-
|
|
195
|
-
modifier restricted { if (msg.sender == admin) _; }
|
|
196
|
-
|
|
197
|
-
function DualIndex() {
|
|
198
|
-
admin = msg.sender;
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
function set(uint key1, uint key2, uint value) restricted {
|
|
202
|
-
uint[2][4] memory defaults; // "memory" broke things at one time.
|
|
203
|
-
data[key1][key2] = value;
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
function transfer_ownership(address _admin) restricted {
|
|
207
|
-
admin = _admin;
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
function lookup(uint key1, uint key2) returns(uint) {
|
|
211
|
-
return data[key1][key2];
|
|
212
|
-
}
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
contract A {
|
|
216
|
-
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
contract B {
|
|
220
|
-
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
contract C is A, B {
|
|
224
|
-
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
contract TestPrivate
|
|
228
|
-
{
|
|
229
|
-
uint private value;
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
contract TestInternal
|
|
233
|
-
{
|
|
234
|
-
uint internal value;
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
contract FromSolparse is A, B, TestPrivate, TestInternal {
|
|
238
|
-
function() {
|
|
239
|
-
uint a = 6 ** 9;
|
|
240
|
-
var (x) = 100;
|
|
241
|
-
uint y = 2 days;
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
contract CommentedOutFunction {
|
|
246
|
-
// FYI: This empty function, as well as the commented
|
|
247
|
-
// out function below (bad code) is important to this test.
|
|
248
|
-
function() {
|
|
249
|
-
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
// function something()
|
|
253
|
-
// uint x = 10;
|
|
254
|
-
// }
|
|
255
|
-
}
|
|
256
|
-
|
|
257
|
-
library VarHasBrackets {
|
|
258
|
-
string constant specialRight = "}";
|
|
259
|
-
//string storage specialLeft = "{";
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
library UsingExampleLibrary {
|
|
263
|
-
function sum(uint[] storage self) returns (uint s) {
|
|
264
|
-
for (uint i = 0; i < self.length; i++)
|
|
265
|
-
s += self[i];
|
|
266
|
-
}
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
contract UsingExampleContract {
|
|
270
|
-
using UsingExampleLibrary for *;
|
|
271
|
-
using UsingExampleLibrary for uint[];
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
contract NewStuff {
|
|
275
|
-
uint[] b;
|
|
276
|
-
|
|
277
|
-
function someFunction() payable {
|
|
278
|
-
string storage a = hex"ab1248fe";
|
|
279
|
-
b[2+2];
|
|
280
|
-
}
|
|
281
|
-
}
|
|
282
|
-
|
|
283
|
-
// modifier with expression
|
|
284
|
-
contract MyContract {
|
|
285
|
-
function fun() mymodifier(foo.bar()) {}
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
library GetCode {
|
|
289
|
-
function at(address _addr) returns (bytes o_code) {
|
|
290
|
-
assembly {
|
|
291
|
-
// retrieve the size of the code, this needs assembly
|
|
292
|
-
let size := extcodesize(_addr)
|
|
293
|
-
// allocate output byte array - this could also be done without assembly
|
|
294
|
-
// by using o_code = new bytes(size)
|
|
295
|
-
o_code := mload(0x40)
|
|
296
|
-
// new "memory end" including padding
|
|
297
|
-
mstore(0x40, add(o_code, and(add(add(size, 0x20), 0x1f), not(0x1f))))
|
|
298
|
-
// store length in memory
|
|
299
|
-
mstore(o_code, size)
|
|
300
|
-
// actually retrieve the code, this needs assembly
|
|
301
|
-
extcodecopy(_addr, add(o_code, 0x20), 0, size)
|
|
302
|
-
}
|
|
303
|
-
}
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
contract assemblyLocalBinding {
|
|
307
|
-
function test(){
|
|
308
|
-
assembly {
|
|
309
|
-
let v := 1
|
|
310
|
-
let x := 0x00
|
|
311
|
-
let y := x
|
|
312
|
-
let z := "hello"
|
|
313
|
-
}
|
|
314
|
-
}
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
contract assemblyReturn {
|
|
318
|
-
uint a = 10;
|
|
319
|
-
|
|
320
|
-
function get() constant returns(uint) {
|
|
321
|
-
assembly {
|
|
322
|
-
mstore(0x40, sload(0))
|
|
323
|
-
byte(0)
|
|
324
|
-
address(0)
|
|
325
|
-
return(0x40,32)
|
|
326
|
-
}
|
|
327
|
-
}
|
|
328
|
-
}
|
|
329
|
-
|
|
330
|
-
contract usesConst {
|
|
331
|
-
uint const = 0;
|
|
332
|
-
}
|
|
333
|
-
|
|
334
|
-
contract memoryArrays {
|
|
335
|
-
uint seven = 7;
|
|
336
|
-
|
|
337
|
-
function returnNumber(uint number) returns (uint){
|
|
338
|
-
return number;
|
|
339
|
-
}
|
|
340
|
-
|
|
341
|
-
function alloc() {
|
|
342
|
-
uint[] memory a = new uint[](7);
|
|
343
|
-
uint[] memory b = new uint[](returnNumber(seven));
|
|
344
|
-
}
|
|
345
|
-
}
|
|
346
|
-
|
|
347
|
-
contract DeclarativeExpressions {
|
|
348
|
-
uint a;
|
|
349
|
-
uint b = 7;
|
|
350
|
-
uint b2=0;
|
|
351
|
-
uint public c;
|
|
352
|
-
uint constant public d;
|
|
353
|
-
uint public constant e;
|
|
354
|
-
uint private constant f = 7;
|
|
355
|
-
struct S { uint q;}
|
|
356
|
-
|
|
357
|
-
function ham(S storage s1, uint[] storage arr) internal {
|
|
358
|
-
uint x;
|
|
359
|
-
uint y = 7;
|
|
360
|
-
S storage s2 = s1;
|
|
361
|
-
uint[] memory stor;
|
|
362
|
-
uint[] storage stor2 = arr;
|
|
363
|
-
}
|
|
364
|
-
}
|
|
365
|
-
|
|
366
|
-
contract VariableDeclarationTuple {
|
|
367
|
-
function getMyTuple() returns (bool, bool){
|
|
368
|
-
return (true, false);
|
|
369
|
-
}
|
|
370
|
-
|
|
371
|
-
function ham (){
|
|
372
|
-
var (x, y) = (10, 20);
|
|
373
|
-
var (a, b) = getMyTuple();
|
|
374
|
-
var (,c) = (10, 20);
|
|
375
|
-
var (d,,) = (10, 20, 30);
|
|
376
|
-
var (,e,,f,) = (10, 20, 30, 40, 50);
|
|
377
|
-
|
|
378
|
-
var (
|
|
379
|
-
num1, num2,
|
|
380
|
-
num3, ,num5
|
|
381
|
-
) = (10, 20, 30, 40, 50);
|
|
382
|
-
}
|
|
383
|
-
}
|
|
384
|
-
|
|
385
|
-
contract TypeIndexSpacing {
|
|
386
|
-
uint [ 7 ] x;
|
|
387
|
-
uint [] y;
|
|
388
|
-
}
|
|
389
|
-
|
|
390
|
-
contract Ballot {
|
|
391
|
-
|
|
392
|
-
struct Voter {
|
|
393
|
-
uint weight;
|
|
394
|
-
bool voted;
|
|
395
|
-
}
|
|
396
|
-
|
|
397
|
-
function abstain() returns (bool) {
|
|
398
|
-
return false;
|
|
399
|
-
}
|
|
400
|
-
|
|
401
|
-
function foobar() payable owner (myPrice) returns (uint[], address myAdd, string[] names) {}
|
|
402
|
-
function foobar() payable owner (myPrice) returns (uint[], address myAdd, string[] names);
|
|
403
|
-
|
|
404
|
-
Voter you = Voter(1, true);
|
|
405
|
-
|
|
406
|
-
Voter me = Voter({
|
|
407
|
-
weight: 2,
|
|
408
|
-
voted: abstain()
|
|
409
|
-
});
|
|
410
|
-
|
|
411
|
-
Voter airbnb = Voter({
|
|
412
|
-
weight: 2,
|
|
413
|
-
voted: true,
|
|
414
|
-
});
|
|
415
|
-
}
|
|
416
|
-
|
|
417
|
-
contract multilineReturn {
|
|
418
|
-
function a() returns (uint x) {
|
|
419
|
-
return
|
|
420
|
-
5;
|
|
421
|
-
}
|
|
422
|
-
}
|
|
423
|
-
|
|
424
|
-
contract continueStatement {
|
|
425
|
-
function a() {
|
|
426
|
-
while (true) { continue; }
|
|
427
|
-
}
|
|
428
|
-
}
|
|
429
|
-
|
|
430
|
-
abstract contract AbstractContract {
|
|
431
|
-
|
|
432
|
-
}
|
|
433
|
-
|
|
434
|
-
contract ContractWithVirtual
|
|
435
|
-
{
|
|
436
|
-
function foo() public virtual returns ( uint ) {
|
|
437
|
-
}
|
|
438
|
-
}
|
|
439
|
-
|
|
440
|
-
struct TopLevelStruct {
|
|
441
|
-
uint x; uint y;
|
|
442
|
-
}
|
|
443
|
-
|
|
444
|
-
enum TopLevelEnum {
|
|
445
|
-
Top,
|
|
446
|
-
Level,
|
|
447
|
-
Enum
|
|
448
|
-
}
|
|
449
|
-
pragma solidity ^0.6.0;
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
contract A {
|
|
453
|
-
function doStuff() public virtual {}
|
|
454
|
-
}
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
contract B is A {
|
|
458
|
-
function doStuff() public override {}
|
|
459
|
-
}
|
|
460
|
-
|
|
461
|
-
contract Overrides {
|
|
462
|
-
mapping(address => bool) public override varName;
|
|
463
|
-
mapping(address => bool) public override(Foo) varName;
|
|
464
|
-
mapping(address => bool) public override(Foo, Bar) varName;
|
|
465
|
-
mapping(address => bool) public override(Foo , Bar, Baz, Baaaz, Baaaaaaaaaaaaaaz, BazQuxBazQuxBazQux, Quuuuuuuuuuuuuux) varName;
|
|
466
|
-
modifier onlyOwner() virtual {_;}
|
|
467
|
-
|
|
468
|
-
modifier onlyOwner() override {
|
|
469
|
-
require(msg.sender == owner(), "Ownable: caller is not the owner");
|
|
470
|
-
_;
|
|
471
|
-
}
|
|
472
|
-
modifier onlyOwner() override(Foo) {
|
|
473
|
-
require(msg.sender == owner(), "Ownable: caller is not the owner");
|
|
474
|
-
_;
|
|
475
|
-
}
|
|
476
|
-
modifier onlyOwner() override(Foo , Bar) {
|
|
477
|
-
require(msg.sender == owner(), "Ownable: caller is not the owner");
|
|
478
|
-
_;
|
|
479
|
-
}
|
|
480
|
-
modifier onlyOwner() override(Foo , Bar, Baz, Baaaz, Baaaaaaaaaaaaaaz, BazQuxBazQuxBazQux, Quuuuuuuuuuuuuux) {
|
|
481
|
-
require(msg.sender == owner(), "Ownable: caller is not the owner");
|
|
482
|
-
_;
|
|
483
|
-
}
|
|
484
|
-
function foo() public override {}
|
|
485
|
-
function bar() public override( Foo ) {}
|
|
486
|
-
function baz() public override(Foo , Bar) {}
|
|
487
|
-
function long() public override(Foo , Bar, Baz, Baaaz, Baaaaaaaaaaaaaaz, BazQuxBazQuxBazQux, Quuuuuuuuuuuuuux) {}
|
|
488
|
-
}
|
|
489
|
-
|
|
490
|
-
contract ConstructorWithoutVisibility {
|
|
491
|
-
uint public x;
|
|
492
|
-
|
|
493
|
-
constructor ( uint _x ) {
|
|
494
|
-
x = _x;
|
|
495
|
-
}
|
|
496
|
-
}
|
|
497
|
-
|
|
498
|
-
contract FunctionTypes {
|
|
499
|
-
struct Something {
|
|
500
|
-
function (address) external view returns (uint256) getSomething;
|
|
501
|
-
}
|
|
502
|
-
|
|
503
|
-
function reduce(
|
|
504
|
-
uint256[] memory self,
|
|
505
|
-
function (uint256, uint256) pure returns (uint256) f
|
|
506
|
-
) internal pure returns (uint256 r) {
|
|
507
|
-
r = self[0];
|
|
508
|
-
for (uint256 i = 1; i < self.length; i++) {
|
|
509
|
-
r = f(r, self[i]);
|
|
510
|
-
}
|
|
511
|
-
}
|
|
512
|
-
}
|
|
513
|
-
|
|
514
|
-
// top-level function
|
|
515
|
-
function foo() pure returns ( uint ) { return 42 ; }
|
|
516
|
-
|
|
517
|
-
contract AnonymousEvent {
|
|
518
|
-
event MyEvent()
|
|
519
|
-
anonymous;
|
|
520
|
-
}
|
|
521
|
-
|
|
522
|
-
uint constant MULTIPLIER =
|
|
523
|
-
2**EXPONENT;
|
|
524
|
-
|
|
525
|
-
contract WithUncheckedBlock {
|
|
526
|
-
function f() public pure returns (uint) {
|
|
527
|
-
uint x = 0;
|
|
528
|
-
unchecked { x--; }
|
|
529
|
-
return x;
|
|
530
|
-
}
|
|
531
|
-
|
|
532
|
-
function g() public pure returns (uint) {
|
|
533
|
-
uint x = 0;
|
|
534
|
-
unchecked { x--; return x; }
|
|
535
|
-
}
|
|
536
|
-
|
|
537
|
-
function mul(uint256 x, uint256 y) internal pure returns (uint256) {
|
|
538
|
-
unchecked { return x * y; }
|
|
539
|
-
}
|
|
540
|
-
}
|
|
541
|
-
=====================================output=====================================
|
|
542
|
-
// Examples taken from the Solidity documentation online.
|
|
543
|
-
|
|
544
|
-
// for pragma version numbers, see https://docs.npmjs.com/misc/semver#versions
|
|
545
|
-
pragma solidity 0.4.0;
|
|
546
|
-
pragma solidity ^0.4.0;
|
|
547
|
-
|
|
548
|
-
import "SomeFile.sol";
|
|
549
|
-
import "SomeFile.sol" as SomeOtherFile;
|
|
550
|
-
import "AnotherFile.sol" as SomeSymbol;
|
|
551
|
-
import {symbol1 as alias, symbol2} from "File.sol";
|
|
552
|
-
|
|
553
|
-
interface i {
|
|
554
|
-
function f();
|
|
555
|
-
}
|
|
556
|
-
|
|
557
|
-
contract c {
|
|
558
|
-
function c() {
|
|
559
|
-
val1 = 1 wei; // 1
|
|
560
|
-
val2 = 1 szabo; // 1 * 10 ** 12
|
|
561
|
-
val3 = 1 finney; // 1 * 10 ** 15
|
|
562
|
-
val4 = 1 ether; // 1 * 10 ** 18
|
|
563
|
-
}
|
|
564
|
-
|
|
565
|
-
uint256 val1;
|
|
566
|
-
uint256 val2;
|
|
567
|
-
uint256 val3;
|
|
568
|
-
uint256 val4;
|
|
569
|
-
}
|
|
570
|
-
|
|
571
|
-
contract test {
|
|
572
|
-
enum ActionChoices {GoLeft, GoRight, GoStraight, SitStill}
|
|
573
|
-
|
|
574
|
-
function test() {
|
|
575
|
-
choices = ActionChoices.GoStraight;
|
|
576
|
-
}
|
|
577
|
-
|
|
578
|
-
function getChoice() returns (uint256 d) {
|
|
579
|
-
d = uint256(choices);
|
|
580
|
-
}
|
|
581
|
-
|
|
582
|
-
ActionChoices choices;
|
|
583
|
-
}
|
|
584
|
-
|
|
585
|
-
contract Base {
|
|
586
|
-
function Base(uint256 i) {
|
|
587
|
-
m_i = i;
|
|
588
|
-
}
|
|
589
|
-
|
|
590
|
-
uint256 public m_i;
|
|
591
|
-
}
|
|
592
|
-
|
|
593
|
-
contract Derived is Base(0) {
|
|
594
|
-
function Derived(uint256 i) Base(i) {}
|
|
595
|
-
}
|
|
596
|
-
|
|
597
|
-
contract C {
|
|
598
|
-
uint248 x; // 31 bytes: slot 0, offset 0
|
|
599
|
-
uint16 y; // 2 bytes: slot 1, offset 0 (does not fit in slot 0)
|
|
600
|
-
uint240 z; // 30 bytes: slot 1, offset 2 bytes
|
|
601
|
-
uint8 a; // 1 byte: slot 2, offset 0 bytes
|
|
602
|
-
struct S {
|
|
603
|
-
uint8 a; // 1 byte, slot +0, offset 0 bytes
|
|
604
|
-
uint256 b; // 32 bytes, slot +1, offset 0 bytes (does not fit)
|
|
605
|
-
}
|
|
606
|
-
S structData; // 2 slots, slot 3, offset 0 bytes (does not really apply)
|
|
607
|
-
uint8 alpha; // 1 byte, slot 4 (start new slot after struct)
|
|
608
|
-
uint16[3] beta; // 3*16 bytes, slots 5+6 (start new slot for array)
|
|
609
|
-
uint8 gamma; // 1 byte, slot 7 (start new slot after array)
|
|
610
|
-
}
|
|
611
|
-
|
|
612
|
-
contract test {
|
|
613
|
-
function f(uint256 x, uint256 y) returns (uint256 z) {
|
|
614
|
-
var c = x + 3;
|
|
615
|
-
var b = 7 + (c * (8 - 7)) - x;
|
|
616
|
-
return -(-b | 0);
|
|
617
|
-
}
|
|
618
|
-
}
|
|
619
|
-
|
|
620
|
-
contract test {
|
|
621
|
-
function f(uint256 x, uint256 y) returns (uint256 z) {
|
|
622
|
-
return 10;
|
|
623
|
-
}
|
|
624
|
-
}
|
|
625
|
-
|
|
626
|
-
contract c {
|
|
627
|
-
function() returns (uint256) {
|
|
628
|
-
return g(8);
|
|
629
|
-
}
|
|
630
|
-
|
|
631
|
-
function g(uint256 pos) internal returns (uint256) {
|
|
632
|
-
setData(pos, 8);
|
|
633
|
-
return getData(pos);
|
|
634
|
-
}
|
|
635
|
-
|
|
636
|
-
function setData(uint256 pos, uint256 value) internal {
|
|
637
|
-
data[pos] = value;
|
|
638
|
-
}
|
|
639
|
-
|
|
640
|
-
function getData(uint256 pos) internal {
|
|
641
|
-
return data[pos];
|
|
642
|
-
}
|
|
643
|
-
|
|
644
|
-
mapping(uint256 => uint256) data;
|
|
645
|
-
}
|
|
646
|
-
|
|
647
|
-
contract Sharer {
|
|
648
|
-
function sendHalf(address addr) returns (uint256 balance) {
|
|
649
|
-
if (!addr.send(msg.value / 2)) throw; // also reverts the transfer to Sharer
|
|
650
|
-
return address(this).balance;
|
|
651
|
-
}
|
|
652
|
-
}
|
|
653
|
-
|
|
654
|
-
/// @dev Models a modifiable and iterable set of uint values.
|
|
655
|
-
library IntegerSet {
|
|
656
|
-
struct data {
|
|
657
|
-
/// Mapping item => index (or zero if not present)
|
|
658
|
-
mapping(uint256 => uint256) index;
|
|
659
|
-
/// Items by index (index 0 is invalid), items with index[item] == 0 are invalid.
|
|
660
|
-
uint256[] items;
|
|
661
|
-
/// Number of stored items.
|
|
662
|
-
uint256 size;
|
|
663
|
-
}
|
|
664
|
-
|
|
665
|
-
function insert(data storage self, uint256 value)
|
|
666
|
-
returns (bool alreadyPresent)
|
|
667
|
-
{
|
|
668
|
-
uint256 index = self.index[value];
|
|
669
|
-
if (index > 0) return true;
|
|
670
|
-
else {
|
|
671
|
-
if (self.items.length == 0) self.items.length = 1;
|
|
672
|
-
index = self.items.length++;
|
|
673
|
-
self.items[index] = value;
|
|
674
|
-
self.index[value] = index;
|
|
675
|
-
self.size++;
|
|
676
|
-
return false;
|
|
677
|
-
}
|
|
678
|
-
}
|
|
679
|
-
|
|
680
|
-
function remove(data storage self, uint256 value) returns (bool success) {
|
|
681
|
-
uint256 index = self.index[value];
|
|
682
|
-
if (index == 0) return false;
|
|
683
|
-
delete self.index[value];
|
|
684
|
-
delete self.items[index];
|
|
685
|
-
self.size--;
|
|
686
|
-
}
|
|
687
|
-
|
|
688
|
-
function contains(data storage self, uint256 value) returns (bool) {
|
|
689
|
-
return self.index[value] > 0;
|
|
690
|
-
}
|
|
691
|
-
|
|
692
|
-
function iterate_start(data storage self) returns (uint256 index) {
|
|
693
|
-
return iterate_advance(self, 0);
|
|
694
|
-
}
|
|
695
|
-
|
|
696
|
-
function iterate_valid(data storage self, uint256 index) returns (bool) {
|
|
697
|
-
return index < self.items.length;
|
|
698
|
-
}
|
|
699
|
-
|
|
700
|
-
function iterate_advance(data storage self, uint256 index)
|
|
701
|
-
returns (uint256 r_index)
|
|
702
|
-
{
|
|
703
|
-
index++;
|
|
704
|
-
while (
|
|
705
|
-
iterate_valid(self, index) && self.index[self.items[index]] == index
|
|
706
|
-
) index++;
|
|
707
|
-
return index;
|
|
708
|
-
}
|
|
709
|
-
|
|
710
|
-
function iterate_get(data storage self, uint256 index)
|
|
711
|
-
returns (uint256 value)
|
|
712
|
-
{
|
|
713
|
-
return self.items[index];
|
|
714
|
-
}
|
|
715
|
-
}
|
|
716
|
-
|
|
717
|
-
/// How to use it:
|
|
718
|
-
contract User {
|
|
719
|
-
/// Just a struct holding our data.
|
|
720
|
-
IntegerSet.data data;
|
|
721
|
-
|
|
722
|
-
/// Insert something
|
|
723
|
-
function insert(uint256 v) returns (uint256 size) {
|
|
724
|
-
/// Sends \`data\` via reference, so IntegerSet can modify it.
|
|
725
|
-
IntegerSet.insert(data, v);
|
|
726
|
-
/// We can access members of the struct - but we should take care not to mess with them.
|
|
727
|
-
return data.size;
|
|
728
|
-
}
|
|
729
|
-
|
|
730
|
-
/// Computes the sum of all stored data.
|
|
731
|
-
function sum() returns (uint256 s) {
|
|
732
|
-
for (
|
|
733
|
-
var i = IntegerSet.iterate_start(data);
|
|
734
|
-
IntegerSet.iterate_valid(data, i);
|
|
735
|
-
i = IntegerSet.iterate_advance(data, i)
|
|
736
|
-
) s += IntegerSet.iterate_get(data, i);
|
|
737
|
-
}
|
|
738
|
-
}
|
|
739
|
-
|
|
740
|
-
// This broke it at one point (namely the modifiers).
|
|
741
|
-
contract DualIndex {
|
|
742
|
-
mapping(uint256 => mapping(uint256 => uint256)) data;
|
|
743
|
-
address public admin;
|
|
744
|
-
|
|
745
|
-
modifier restricted {
|
|
746
|
-
if (msg.sender == admin) _;
|
|
747
|
-
}
|
|
748
|
-
|
|
749
|
-
function DualIndex() {
|
|
750
|
-
admin = msg.sender;
|
|
751
|
-
}
|
|
752
|
-
|
|
753
|
-
function set(
|
|
754
|
-
uint256 key1,
|
|
755
|
-
uint256 key2,
|
|
756
|
-
uint256 value
|
|
757
|
-
) restricted {
|
|
758
|
-
uint256[2][4] memory defaults; // "memory" broke things at one time.
|
|
759
|
-
data[key1][key2] = value;
|
|
760
|
-
}
|
|
761
|
-
|
|
762
|
-
function transfer_ownership(address _admin) restricted {
|
|
763
|
-
admin = _admin;
|
|
764
|
-
}
|
|
765
|
-
|
|
766
|
-
function lookup(uint256 key1, uint256 key2) returns (uint256) {
|
|
767
|
-
return data[key1][key2];
|
|
768
|
-
}
|
|
769
|
-
}
|
|
770
|
-
|
|
771
|
-
contract A {}
|
|
772
|
-
|
|
773
|
-
contract B {}
|
|
774
|
-
|
|
775
|
-
contract C is A, B {}
|
|
776
|
-
|
|
777
|
-
contract TestPrivate {
|
|
778
|
-
uint256 private value;
|
|
779
|
-
}
|
|
780
|
-
|
|
781
|
-
contract TestInternal {
|
|
782
|
-
uint256 internal value;
|
|
783
|
-
}
|
|
784
|
-
|
|
785
|
-
contract FromSolparse is A, B, TestPrivate, TestInternal {
|
|
786
|
-
function() {
|
|
787
|
-
uint256 a = 6**9;
|
|
788
|
-
var (x) = 100;
|
|
789
|
-
uint256 y = 2 days;
|
|
790
|
-
}
|
|
791
|
-
}
|
|
792
|
-
|
|
793
|
-
contract CommentedOutFunction {
|
|
794
|
-
// FYI: This empty function, as well as the commented
|
|
795
|
-
// out function below (bad code) is important to this test.
|
|
796
|
-
function() {}
|
|
797
|
-
|
|
798
|
-
// function something()
|
|
799
|
-
// uint x = 10;
|
|
800
|
-
// }
|
|
801
|
-
}
|
|
802
|
-
|
|
803
|
-
library VarHasBrackets {
|
|
804
|
-
string constant specialRight = "}";
|
|
805
|
-
//string storage specialLeft = "{";
|
|
806
|
-
}
|
|
807
|
-
|
|
808
|
-
library UsingExampleLibrary {
|
|
809
|
-
function sum(uint256[] storage self) returns (uint256 s) {
|
|
810
|
-
for (uint256 i = 0; i < self.length; i++) s += self[i];
|
|
811
|
-
}
|
|
812
|
-
}
|
|
813
|
-
|
|
814
|
-
contract UsingExampleContract {
|
|
815
|
-
using UsingExampleLibrary for *;
|
|
816
|
-
using UsingExampleLibrary for uint256[];
|
|
817
|
-
}
|
|
818
|
-
|
|
819
|
-
contract NewStuff {
|
|
820
|
-
uint256[] b;
|
|
821
|
-
|
|
822
|
-
function someFunction() payable {
|
|
823
|
-
string storage a = hex"ab1248fe";
|
|
824
|
-
b[2 + 2];
|
|
825
|
-
}
|
|
826
|
-
}
|
|
827
|
-
|
|
828
|
-
// modifier with expression
|
|
829
|
-
contract MyContract {
|
|
830
|
-
function fun() mymodifier(foo.bar()) {}
|
|
831
|
-
}
|
|
832
|
-
|
|
833
|
-
library GetCode {
|
|
834
|
-
function at(address _addr) returns (bytes o_code) {
|
|
835
|
-
assembly {
|
|
836
|
-
// retrieve the size of the code, this needs assembly
|
|
837
|
-
let size := extcodesize(_addr)
|
|
838
|
-
// allocate output byte array - this could also be done without assembly
|
|
839
|
-
// by using o_code = new bytes(size)
|
|
840
|
-
o_code := mload(0x40)
|
|
841
|
-
// new "memory end" including padding
|
|
842
|
-
mstore(
|
|
843
|
-
0x40,
|
|
844
|
-
add(o_code, and(add(add(size, 0x20), 0x1f), not(0x1f)))
|
|
845
|
-
)
|
|
846
|
-
// store length in memory
|
|
847
|
-
mstore(o_code, size)
|
|
848
|
-
// actually retrieve the code, this needs assembly
|
|
849
|
-
extcodecopy(_addr, add(o_code, 0x20), 0, size)
|
|
850
|
-
}
|
|
851
|
-
}
|
|
852
|
-
}
|
|
853
|
-
|
|
854
|
-
contract assemblyLocalBinding {
|
|
855
|
-
function test() {
|
|
856
|
-
assembly {
|
|
857
|
-
let v := 1
|
|
858
|
-
let x := 0x00
|
|
859
|
-
let y := x
|
|
860
|
-
let z := "hello"
|
|
861
|
-
}
|
|
862
|
-
}
|
|
863
|
-
}
|
|
864
|
-
|
|
865
|
-
contract assemblyReturn {
|
|
866
|
-
uint256 a = 10;
|
|
867
|
-
|
|
868
|
-
function get() constant returns (uint256) {
|
|
869
|
-
assembly {
|
|
870
|
-
mstore(0x40, sload(0))
|
|
871
|
-
byte(0)
|
|
872
|
-
address(0)
|
|
873
|
-
return(0x40, 32)
|
|
874
|
-
}
|
|
875
|
-
}
|
|
876
|
-
}
|
|
877
|
-
|
|
878
|
-
contract usesConst {
|
|
879
|
-
uint256 const = 0;
|
|
880
|
-
}
|
|
881
|
-
|
|
882
|
-
contract memoryArrays {
|
|
883
|
-
uint256 seven = 7;
|
|
884
|
-
|
|
885
|
-
function returnNumber(uint256 number) returns (uint256) {
|
|
886
|
-
return number;
|
|
887
|
-
}
|
|
888
|
-
|
|
889
|
-
function alloc() {
|
|
890
|
-
uint256[] memory a = new uint256[](7);
|
|
891
|
-
uint256[] memory b = new uint256[](returnNumber(seven));
|
|
892
|
-
}
|
|
893
|
-
}
|
|
894
|
-
|
|
895
|
-
contract DeclarativeExpressions {
|
|
896
|
-
uint256 a;
|
|
897
|
-
uint256 b = 7;
|
|
898
|
-
uint256 b2 = 0;
|
|
899
|
-
uint256 public c;
|
|
900
|
-
uint256 public constant d;
|
|
901
|
-
uint256 public constant e;
|
|
902
|
-
uint256 private constant f = 7;
|
|
903
|
-
struct S {
|
|
904
|
-
uint256 q;
|
|
905
|
-
}
|
|
906
|
-
|
|
907
|
-
function ham(S storage s1, uint256[] storage arr) internal {
|
|
908
|
-
uint256 x;
|
|
909
|
-
uint256 y = 7;
|
|
910
|
-
S storage s2 = s1;
|
|
911
|
-
uint256[] memory stor;
|
|
912
|
-
uint256[] storage stor2 = arr;
|
|
913
|
-
}
|
|
914
|
-
}
|
|
915
|
-
|
|
916
|
-
contract VariableDeclarationTuple {
|
|
917
|
-
function getMyTuple() returns (bool, bool) {
|
|
918
|
-
return (true, false);
|
|
919
|
-
}
|
|
920
|
-
|
|
921
|
-
function ham() {
|
|
922
|
-
var (x, y) = (10, 20);
|
|
923
|
-
var (a, b) = getMyTuple();
|
|
924
|
-
var (, c) = (10, 20);
|
|
925
|
-
var (d, , ) = (10, 20, 30);
|
|
926
|
-
var (, e, , f, ) = (10, 20, 30, 40, 50);
|
|
927
|
-
|
|
928
|
-
var (num1, num2, num3, , num5) = (10, 20, 30, 40, 50);
|
|
929
|
-
}
|
|
930
|
-
}
|
|
931
|
-
|
|
932
|
-
contract TypeIndexSpacing {
|
|
933
|
-
uint256[7] x;
|
|
934
|
-
uint256[] y;
|
|
935
|
-
}
|
|
936
|
-
|
|
937
|
-
contract Ballot {
|
|
938
|
-
struct Voter {
|
|
939
|
-
uint256 weight;
|
|
940
|
-
bool voted;
|
|
941
|
-
}
|
|
942
|
-
|
|
943
|
-
function abstain() returns (bool) {
|
|
944
|
-
return false;
|
|
945
|
-
}
|
|
946
|
-
|
|
947
|
-
function foobar()
|
|
948
|
-
payable
|
|
949
|
-
owner(myPrice)
|
|
950
|
-
returns (
|
|
951
|
-
uint256[],
|
|
952
|
-
address myAdd,
|
|
953
|
-
string[] names
|
|
954
|
-
)
|
|
955
|
-
{}
|
|
956
|
-
|
|
957
|
-
function foobar()
|
|
958
|
-
payable
|
|
959
|
-
owner(myPrice)
|
|
960
|
-
returns (
|
|
961
|
-
uint256[],
|
|
962
|
-
address myAdd,
|
|
963
|
-
string[] names
|
|
964
|
-
);
|
|
965
|
-
|
|
966
|
-
Voter you = Voter(1, true);
|
|
967
|
-
|
|
968
|
-
Voter me = Voter({weight: 2, voted: abstain()});
|
|
969
|
-
|
|
970
|
-
Voter airbnb = Voter({weight: 2, voted: true});
|
|
971
|
-
}
|
|
972
|
-
|
|
973
|
-
contract multilineReturn {
|
|
974
|
-
function a() returns (uint256 x) {
|
|
975
|
-
return 5;
|
|
976
|
-
}
|
|
977
|
-
}
|
|
978
|
-
|
|
979
|
-
contract continueStatement {
|
|
980
|
-
function a() {
|
|
981
|
-
while (true) {
|
|
982
|
-
continue;
|
|
983
|
-
}
|
|
984
|
-
}
|
|
985
|
-
}
|
|
986
|
-
|
|
987
|
-
abstract contract AbstractContract {}
|
|
988
|
-
|
|
989
|
-
contract ContractWithVirtual {
|
|
990
|
-
function foo() public virtual returns (uint256) {}
|
|
991
|
-
}
|
|
992
|
-
|
|
993
|
-
struct TopLevelStruct {
|
|
994
|
-
uint256 x;
|
|
995
|
-
uint256 y;
|
|
996
|
-
}
|
|
997
|
-
|
|
998
|
-
enum TopLevelEnum {Top, Level, Enum}
|
|
999
|
-
pragma solidity ^0.6.0;
|
|
1000
|
-
|
|
1001
|
-
contract A {
|
|
1002
|
-
function doStuff() public virtual {}
|
|
1003
|
-
}
|
|
1004
|
-
|
|
1005
|
-
contract B is A {
|
|
1006
|
-
function doStuff() public override {}
|
|
1007
|
-
}
|
|
1008
|
-
|
|
1009
|
-
contract Overrides {
|
|
1010
|
-
mapping(address => bool) public override varName;
|
|
1011
|
-
mapping(address => bool) public override(Foo) varName;
|
|
1012
|
-
mapping(address => bool) public override(Foo, Bar) varName;
|
|
1013
|
-
mapping(address => bool)
|
|
1014
|
-
public
|
|
1015
|
-
override(
|
|
1016
|
-
Foo,
|
|
1017
|
-
Bar,
|
|
1018
|
-
Baz,
|
|
1019
|
-
Baaaz,
|
|
1020
|
-
Baaaaaaaaaaaaaaz,
|
|
1021
|
-
BazQuxBazQuxBazQux,
|
|
1022
|
-
Quuuuuuuuuuuuuux
|
|
1023
|
-
) varName;
|
|
1024
|
-
modifier onlyOwner() virtual {_;}
|
|
1025
|
-
|
|
1026
|
-
modifier onlyOwner() override {
|
|
1027
|
-
require(msg.sender == owner(), "Ownable: caller is not the owner");
|
|
1028
|
-
_;
|
|
1029
|
-
}
|
|
1030
|
-
modifier onlyOwner() override(Foo) {
|
|
1031
|
-
require(msg.sender == owner(), "Ownable: caller is not the owner");
|
|
1032
|
-
_;
|
|
1033
|
-
}
|
|
1034
|
-
modifier onlyOwner() override(Foo, Bar) {
|
|
1035
|
-
require(msg.sender == owner(), "Ownable: caller is not the owner");
|
|
1036
|
-
_;
|
|
1037
|
-
}
|
|
1038
|
-
modifier onlyOwner()
|
|
1039
|
-
override(
|
|
1040
|
-
Foo,
|
|
1041
|
-
Bar,
|
|
1042
|
-
Baz,
|
|
1043
|
-
Baaaz,
|
|
1044
|
-
Baaaaaaaaaaaaaaz,
|
|
1045
|
-
BazQuxBazQuxBazQux,
|
|
1046
|
-
Quuuuuuuuuuuuuux
|
|
1047
|
-
) {
|
|
1048
|
-
require(msg.sender == owner(), "Ownable: caller is not the owner");
|
|
1049
|
-
_;
|
|
1050
|
-
}
|
|
1051
|
-
|
|
1052
|
-
function foo() public override {}
|
|
1053
|
-
|
|
1054
|
-
function bar() public override(Foo) {}
|
|
1055
|
-
|
|
1056
|
-
function baz() public override(Foo, Bar) {}
|
|
1057
|
-
|
|
1058
|
-
function long()
|
|
1059
|
-
public
|
|
1060
|
-
override(
|
|
1061
|
-
Foo,
|
|
1062
|
-
Bar,
|
|
1063
|
-
Baz,
|
|
1064
|
-
Baaaz,
|
|
1065
|
-
Baaaaaaaaaaaaaaz,
|
|
1066
|
-
BazQuxBazQuxBazQux,
|
|
1067
|
-
Quuuuuuuuuuuuuux
|
|
1068
|
-
)
|
|
1069
|
-
{}
|
|
1070
|
-
}
|
|
1071
|
-
|
|
1072
|
-
contract ConstructorWithoutVisibility {
|
|
1073
|
-
uint256 public x;
|
|
1074
|
-
|
|
1075
|
-
constructor(uint256 _x) {
|
|
1076
|
-
x = _x;
|
|
1077
|
-
}
|
|
1078
|
-
}
|
|
1079
|
-
|
|
1080
|
-
contract FunctionTypes {
|
|
1081
|
-
struct Something {
|
|
1082
|
-
function(address) external view returns (uint256) getSomething;
|
|
1083
|
-
}
|
|
1084
|
-
|
|
1085
|
-
function reduce(
|
|
1086
|
-
uint256[] memory self,
|
|
1087
|
-
function(uint256, uint256) pure returns (uint256) f
|
|
1088
|
-
) internal pure returns (uint256 r) {
|
|
1089
|
-
r = self[0];
|
|
1090
|
-
for (uint256 i = 1; i < self.length; i++) {
|
|
1091
|
-
r = f(r, self[i]);
|
|
1092
|
-
}
|
|
1093
|
-
}
|
|
1094
|
-
}
|
|
1095
|
-
|
|
1096
|
-
// top-level function
|
|
1097
|
-
function foo() pure returns (uint256) {
|
|
1098
|
-
return 42;
|
|
1099
|
-
}
|
|
1100
|
-
|
|
1101
|
-
contract AnonymousEvent {
|
|
1102
|
-
event MyEvent() anonymous;
|
|
1103
|
-
}
|
|
1104
|
-
|
|
1105
|
-
uint256 constant MULTIPLIER = 2**EXPONENT;
|
|
1106
|
-
|
|
1107
|
-
contract WithUncheckedBlock {
|
|
1108
|
-
function f() public pure returns (uint256) {
|
|
1109
|
-
uint256 x = 0;
|
|
1110
|
-
unchecked {x--;}
|
|
1111
|
-
return x;
|
|
1112
|
-
}
|
|
1113
|
-
|
|
1114
|
-
function g() public pure returns (uint256) {
|
|
1115
|
-
uint256 x = 0;
|
|
1116
|
-
unchecked {
|
|
1117
|
-
x--;
|
|
1118
|
-
return x;
|
|
1119
|
-
}
|
|
1120
|
-
}
|
|
1121
|
-
|
|
1122
|
-
function mul(uint256 x, uint256 y) internal pure returns (uint256) {
|
|
1123
|
-
unchecked {return x * y;}
|
|
1124
|
-
}
|
|
1125
|
-
}
|
|
1126
|
-
|
|
1127
|
-
================================================================================
|
|
1128
|
-
`;
|