├── .editorconfig ├── .gitignore ├── .mocharc.json ├── .prettierrc.js ├── .vscode ├── launch.json └── settings.json ├── LICENSE ├── README.md ├── etc ├── README.template └── api-extractor.json ├── example-deobfuscation.js ├── example.js ├── generated ├── shift-refactor.api.json └── shift-refactor.api.md ├── package.json ├── scripts ├── api-extractor.ts └── doc-generator.ts ├── src ├── global-state.ts ├── index.ts ├── misc │ ├── debug.ts │ ├── parser.ts │ ├── query.ts │ ├── types.ts │ ├── util.ts │ └── waterfall.ts ├── refactor-session-chainable.ts └── refactor-session.ts ├── test ├── docrunner │ ├── examples.ts │ └── source-parts.js ├── index.test.ts ├── query.test.ts ├── refactor-chainable-api.test.ts ├── refactor-session.test.ts ├── regression.test.ts └── util.test.ts ├── tsconfig.json └── types ├── shift-codegen └── index.d.ts ├── shift-parser └── index.d.ts ├── shift-scope └── index.d.ts ├── shift-traverser └── index.d.ts └── shift-validator └── index.d.ts /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsoverson/shift-refactor/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | .tmp -------------------------------------------------------------------------------- /.mocharc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsoverson/shift-refactor/HEAD/.mocharc.json -------------------------------------------------------------------------------- /.prettierrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsoverson/shift-refactor/HEAD/.prettierrc.js -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsoverson/shift-refactor/HEAD/.vscode/launch.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsoverson/shift-refactor/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsoverson/shift-refactor/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsoverson/shift-refactor/HEAD/README.md -------------------------------------------------------------------------------- /etc/README.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsoverson/shift-refactor/HEAD/etc/README.template -------------------------------------------------------------------------------- /etc/api-extractor.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsoverson/shift-refactor/HEAD/etc/api-extractor.json -------------------------------------------------------------------------------- /example-deobfuscation.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsoverson/shift-refactor/HEAD/example-deobfuscation.js -------------------------------------------------------------------------------- /example.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsoverson/shift-refactor/HEAD/example.js -------------------------------------------------------------------------------- /generated/shift-refactor.api.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsoverson/shift-refactor/HEAD/generated/shift-refactor.api.json -------------------------------------------------------------------------------- /generated/shift-refactor.api.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsoverson/shift-refactor/HEAD/generated/shift-refactor.api.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsoverson/shift-refactor/HEAD/package.json -------------------------------------------------------------------------------- /scripts/api-extractor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsoverson/shift-refactor/HEAD/scripts/api-extractor.ts -------------------------------------------------------------------------------- /scripts/doc-generator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsoverson/shift-refactor/HEAD/scripts/doc-generator.ts -------------------------------------------------------------------------------- /src/global-state.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsoverson/shift-refactor/HEAD/src/global-state.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsoverson/shift-refactor/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/misc/debug.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsoverson/shift-refactor/HEAD/src/misc/debug.ts -------------------------------------------------------------------------------- /src/misc/parser.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsoverson/shift-refactor/HEAD/src/misc/parser.ts -------------------------------------------------------------------------------- /src/misc/query.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsoverson/shift-refactor/HEAD/src/misc/query.ts -------------------------------------------------------------------------------- /src/misc/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsoverson/shift-refactor/HEAD/src/misc/types.ts -------------------------------------------------------------------------------- /src/misc/util.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsoverson/shift-refactor/HEAD/src/misc/util.ts -------------------------------------------------------------------------------- /src/misc/waterfall.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsoverson/shift-refactor/HEAD/src/misc/waterfall.ts -------------------------------------------------------------------------------- /src/refactor-session-chainable.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsoverson/shift-refactor/HEAD/src/refactor-session-chainable.ts -------------------------------------------------------------------------------- /src/refactor-session.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsoverson/shift-refactor/HEAD/src/refactor-session.ts -------------------------------------------------------------------------------- /test/docrunner/examples.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsoverson/shift-refactor/HEAD/test/docrunner/examples.ts -------------------------------------------------------------------------------- /test/docrunner/source-parts.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsoverson/shift-refactor/HEAD/test/docrunner/source-parts.js -------------------------------------------------------------------------------- /test/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsoverson/shift-refactor/HEAD/test/index.test.ts -------------------------------------------------------------------------------- /test/query.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsoverson/shift-refactor/HEAD/test/query.test.ts -------------------------------------------------------------------------------- /test/refactor-chainable-api.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsoverson/shift-refactor/HEAD/test/refactor-chainable-api.test.ts -------------------------------------------------------------------------------- /test/refactor-session.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsoverson/shift-refactor/HEAD/test/refactor-session.test.ts -------------------------------------------------------------------------------- /test/regression.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsoverson/shift-refactor/HEAD/test/regression.test.ts -------------------------------------------------------------------------------- /test/util.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsoverson/shift-refactor/HEAD/test/util.test.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsoverson/shift-refactor/HEAD/tsconfig.json -------------------------------------------------------------------------------- /types/shift-codegen/index.d.ts: -------------------------------------------------------------------------------- 1 | declare module "@jsoverson/shift-codegen"; -------------------------------------------------------------------------------- /types/shift-parser/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsoverson/shift-refactor/HEAD/types/shift-parser/index.d.ts -------------------------------------------------------------------------------- /types/shift-scope/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsoverson/shift-refactor/HEAD/types/shift-scope/index.d.ts -------------------------------------------------------------------------------- /types/shift-traverser/index.d.ts: -------------------------------------------------------------------------------- 1 | declare module "shift-traverser"; -------------------------------------------------------------------------------- /types/shift-validator/index.d.ts: -------------------------------------------------------------------------------- 1 | declare module "shift-validator"; --------------------------------------------------------------------------------