@kjanat/dreamcli 4.0.0-rc.2 → 4.0.0
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/README.md +5 -7
- package/dist/{runtime/adapter.d.mts → adapter-D0hbBNVB.d.mts} +5 -7
- package/dist/completion-D4mz6axB.mjs +6 -0
- package/dist/completion.d.mts +90 -0
- package/dist/completion.mjs +1 -0
- package/dist/config-B9ddC-Kb.mjs +1 -0
- package/dist/config.d.mts +2 -0
- package/dist/config.mjs +1 -0
- package/dist/core-Cp2w8vRq.mjs +17 -0
- package/dist/index-BziI2aKc.d.mts +5440 -0
- package/dist/index-DOfClfYR.d.mts +370 -0
- package/dist/index-DWsnGZlx.d.mts +831 -0
- package/dist/{core/cli/index.d.mts → index-DXROeDPC.d.mts} +149 -25
- package/dist/index-DndPmT8J.d.mts +275 -0
- package/dist/{core/json-schema/index.d.mts → index-DyoaS234.d.mts} +54 -45
- package/dist/index.d.mts +190 -41
- package/dist/index.mjs +1 -26
- package/dist/json-schema-C9SzZ7jY.mjs +52 -0
- package/dist/json-schema.d.mts +2 -0
- package/dist/json-schema.mjs +1 -0
- package/dist/package-json-BgE9YjjQ.mjs +3 -0
- package/dist/prompt.d.mts +48 -0
- package/dist/prompt.mjs +1 -0
- package/dist/rolldown-runtime-G4Kt5YOX.mjs +1 -0
- package/dist/runtime.d.mts +2 -6
- package/dist/runtime.mjs +1 -6
- package/dist/terminal-C8KTXjv5.mjs +6 -0
- package/dist/test-prompter-v__jT2yG.mjs +1 -0
- package/dist/testkit.d.mts +54 -6
- package/dist/testkit.mjs +1 -5
- package/dist/version.d.mts +16 -4
- package/dist/version.mjs +1 -7
- package/dreamcli.schema.json +697 -538
- package/package.json +37 -12
- package/skills/cli-creation/SKILL.md +16 -11
- package/CHANGELOG.md +0 -2453
- package/dist/core/cli/builtins.d.mts +0 -47
- package/dist/core/cli/builtins.mjs +0 -135
- package/dist/core/cli/compiled.d.mts +0 -29
- package/dist/core/cli/compiled.mjs +0 -76
- package/dist/core/cli/dispatch.d.mts +0 -38
- package/dist/core/cli/dispatch.mjs +0 -205
- package/dist/core/cli/help-links.d.mts +0 -15
- package/dist/core/cli/help-links.mjs +0 -41
- package/dist/core/cli/index.mjs +0 -1265
- package/dist/core/cli/planner.d.mts +0 -96
- package/dist/core/cli/planner.mjs +0 -323
- package/dist/core/cli/plugin.d.mts +0 -94
- package/dist/core/cli/plugin.mjs +0 -41
- package/dist/core/cli/propagate.d.mts +0 -39
- package/dist/core/cli/propagate.mjs +0 -57
- package/dist/core/cli/reserved-flags.d.mts +0 -1
- package/dist/core/cli/reserved-flags.mjs +0 -158
- package/dist/core/cli/root-help.d.mts +0 -1
- package/dist/core/cli/root-help.mjs +0 -221
- package/dist/core/cli/root-output-flags.d.mts +0 -1
- package/dist/core/cli/root-output-flags.mjs +0 -169
- package/dist/core/cli/root-surface.d.mts +0 -1
- package/dist/core/cli/root-surface.mjs +0 -28
- package/dist/core/cli/runtime-preflight.d.mts +0 -1
- package/dist/core/cli/runtime-preflight.mjs +0 -221
- package/dist/core/completion/index.d.mts +0 -76
- package/dist/core/completion/index.mjs +0 -90
- package/dist/core/completion/shells/bash.d.mts +0 -22
- package/dist/core/completion/shells/bash.mjs +0 -309
- package/dist/core/completion/shells/fish.d.mts +0 -18
- package/dist/core/completion/shells/fish.mjs +0 -163
- package/dist/core/completion/shells/powershell.d.mts +0 -12
- package/dist/core/completion/shells/powershell.mjs +0 -359
- package/dist/core/completion/shells/shared.d.mts +0 -49
- package/dist/core/completion/shells/shared.mjs +0 -147
- package/dist/core/completion/shells/zsh.d.mts +0 -22
- package/dist/core/completion/shells/zsh.mjs +0 -252
- package/dist/core/config/index.d.mts +0 -191
- package/dist/core/config/index.mjs +0 -285
- package/dist/core/config/package-json.d.mts +0 -179
- package/dist/core/config/package-json.mjs +0 -353
- package/dist/core/errors/index.d.mts +0 -126
- package/dist/core/errors/index.mjs +0 -87
- package/dist/core/execution/index.d.mts +0 -1
- package/dist/core/execution/index.mjs +0 -220
- package/dist/core/help/ansi.d.mts +0 -73
- package/dist/core/help/ansi.mjs +0 -121
- package/dist/core/help/index.d.mts +0 -110
- package/dist/core/help/index.mjs +0 -414
- package/dist/core/help/theme.d.mts +0 -48
- package/dist/core/help/theme.mjs +0 -46
- package/dist/core/json-schema/index.mjs +0 -1007
- package/dist/core/json-schema/meta-descriptions.generated.d.mts +0 -274
- package/dist/core/json-schema/meta-descriptions.generated.mjs +0 -136
- package/dist/core/output/activity.d.mts +0 -1
- package/dist/core/output/activity.mjs +0 -452
- package/dist/core/output/bind.d.mts +0 -1
- package/dist/core/output/bind.mjs +0 -56
- package/dist/core/output/contracts.d.mts +0 -81
- package/dist/core/output/contracts.mjs +0 -57
- package/dist/core/output/display-value.d.mts +0 -1
- package/dist/core/output/display-value.mjs +0 -32
- package/dist/core/output/index.d.mts +0 -160
- package/dist/core/output/index.mjs +0 -512
- package/dist/core/output/renderers.d.mts +0 -1
- package/dist/core/output/renderers.mjs +0 -46
- package/dist/core/output/writer.d.mts +0 -39
- package/dist/core/output/writer.mjs +0 -12
- package/dist/core/parse/index.d.mts +0 -178
- package/dist/core/parse/index.mjs +0 -850
- package/dist/core/parse/occurrences.d.mts +0 -89
- package/dist/core/parse/occurrences.mjs +0 -114
- package/dist/core/prompt/index.d.mts +0 -213
- package/dist/core/prompt/index.mjs +0 -348
- package/dist/core/read-flags/index.d.mts +0 -150
- package/dist/core/read-flags/index.mjs +0 -217
- package/dist/core/resolve/args.d.mts +0 -39
- package/dist/core/resolve/args.mjs +0 -182
- package/dist/core/resolve/coerce.d.mts +0 -79
- package/dist/core/resolve/coerce.mjs +0 -900
- package/dist/core/resolve/config.d.mts +0 -1
- package/dist/core/resolve/config.mjs +0 -19
- package/dist/core/resolve/contracts.d.mts +0 -145
- package/dist/core/resolve/errors.d.mts +0 -10
- package/dist/core/resolve/errors.mjs +0 -148
- package/dist/core/resolve/flags.d.mts +0 -47
- package/dist/core/resolve/flags.mjs +0 -246
- package/dist/core/resolve/index.d.mts +0 -44
- package/dist/core/resolve/index.mjs +0 -123
- package/dist/core/resolve/path-checks.d.mts +0 -47
- package/dist/core/resolve/path-checks.mjs +0 -102
- package/dist/core/resolve/redaction.d.mts +0 -12
- package/dist/core/resolve/redaction.mjs +0 -14
- package/dist/core/resolve/stages.d.mts +0 -85
- package/dist/core/resolve/stages.mjs +0 -170
- package/dist/core/resolve/standard.d.mts +0 -1
- package/dist/core/resolve/standard.mjs +0 -212
- package/dist/core/schema/activity.d.mts +0 -189
- package/dist/core/schema/arg.d.mts +0 -1451
- package/dist/core/schema/arg.mjs +0 -1139
- package/dist/core/schema/brand.d.mts +0 -17
- package/dist/core/schema/cardinality.d.mts +0 -301
- package/dist/core/schema/cardinality.mjs +0 -514
- package/dist/core/schema/command.d.mts +0 -1086
- package/dist/core/schema/command.mjs +0 -999
- package/dist/core/schema/flag.d.mts +0 -1487
- package/dist/core/schema/flag.mjs +0 -1207
- package/dist/core/schema/index.d.mts +0 -15
- package/dist/core/schema/index.mjs +0 -10
- package/dist/core/schema/middleware.d.mts +0 -126
- package/dist/core/schema/middleware.mjs +0 -41
- package/dist/core/schema/number-constraints.d.mts +0 -96
- package/dist/core/schema/number-constraints.mjs +0 -60
- package/dist/core/schema/prompt.d.mts +0 -135
- package/dist/core/schema/provenance.d.mts +0 -99
- package/dist/core/schema/provenance.mjs +0 -28
- package/dist/core/schema/run.d.mts +0 -161
- package/dist/core/schema/source.d.mts +0 -179
- package/dist/core/schema/source.mjs +0 -206
- package/dist/core/schema/standard.d.mts +0 -93
- package/dist/core/schema/standard.mjs +0 -15
- package/dist/core/schema/stdin.d.mts +0 -87
- package/dist/core/schema/stdin.mjs +0 -91
- package/dist/core/schema/string-constraints.d.mts +0 -108
- package/dist/core/schema/string-constraints.mjs +0 -86
- package/dist/core/schema/value-parsers.d.mts +0 -150
- package/dist/core/schema/value-parsers.mjs +0 -160
- package/dist/core/schema/value.d.mts +0 -242
- package/dist/core/schema/value.mjs +0 -573
- package/dist/core/testkit/index.d.mts +0 -56
- package/dist/core/testkit/index.mjs +0 -102
- package/dist/runtime/adapter.mjs +0 -92
- package/dist/runtime/auto.d.mts +0 -25
- package/dist/runtime/auto.mjs +0 -45
- package/dist/runtime/deno.d.mts +0 -99
- package/dist/runtime/deno.mjs +0 -265
- package/dist/runtime/detect.d.mts +0 -86
- package/dist/runtime/detect.mjs +0 -45
- package/dist/runtime/index.d.mts +0 -6
- package/dist/runtime/node.d.mts +0 -71
- package/dist/runtime/node.mjs +0 -228
- package/dist/runtime/paths.d.mts +0 -1
- package/dist/runtime/paths.mjs +0 -48
- package/dist/strings.d.mts +0 -12
- package/dist/strings.mjs +0 -22
- package/examples/basic.ts +0 -37
- package/examples/flag-types.ts +0 -79
- package/examples/gh/node_modules/typescript/LICENSE +0 -55
- package/examples/gh/node_modules/typescript/NOTICE.txt +0 -436
- package/examples/gh/node_modules/typescript/README.md +0 -49
- package/examples/gh/node_modules/typescript/bin/tsc +0 -2
- package/examples/gh/node_modules/typescript/dist/api/async/api.d.ts +0 -529
- package/examples/gh/node_modules/typescript/dist/api/async/api.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/async/api.js +0 -1657
- package/examples/gh/node_modules/typescript/dist/api/async/api.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/async/client.d.ts +0 -39
- package/examples/gh/node_modules/typescript/dist/api/async/client.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/async/client.js +0 -211
- package/examples/gh/node_modules/typescript/dist/api/async/client.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/async/types.d.ts +0 -310
- package/examples/gh/node_modules/typescript/dist/api/async/types.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/async/types.js +0 -2
- package/examples/gh/node_modules/typescript/dist/api/async/types.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/compilerOptions.d.ts +0 -109
- package/examples/gh/node_modules/typescript/dist/api/compilerOptions.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/compilerOptions.js +0 -2
- package/examples/gh/node_modules/typescript/dist/api/compilerOptions.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/fs.d.ts +0 -23
- package/examples/gh/node_modules/typescript/dist/api/fs.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/fs.js +0 -109
- package/examples/gh/node_modules/typescript/dist/api/fs.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/node/encoder.d.ts +0 -15
- package/examples/gh/node_modules/typescript/dist/api/node/encoder.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/node/encoder.generated.d.ts +0 -5
- package/examples/gh/node_modules/typescript/dist/api/node/encoder.generated.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/node/encoder.generated.js +0 -74
- package/examples/gh/node_modules/typescript/dist/api/node/encoder.generated.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/node/encoder.js +0 -287
- package/examples/gh/node_modules/typescript/dist/api/node/encoder.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/node/msgpack.d.ts +0 -32
- package/examples/gh/node_modules/typescript/dist/api/node/msgpack.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/node/msgpack.js +0 -213
- package/examples/gh/node_modules/typescript/dist/api/node/msgpack.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/node/node.d.ts +0 -76
- package/examples/gh/node_modules/typescript/dist/api/node/node.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/node/node.generated.d.ts +0 -182
- package/examples/gh/node_modules/typescript/dist/api/node/node.generated.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/node/node.generated.js +0 -835
- package/examples/gh/node_modules/typescript/dist/api/node/node.generated.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/node/node.infrastructure.d.ts +0 -62
- package/examples/gh/node_modules/typescript/dist/api/node/node.infrastructure.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/node/node.infrastructure.js +0 -122
- package/examples/gh/node_modules/typescript/dist/api/node/node.infrastructure.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/node/node.js +0 -298
- package/examples/gh/node_modules/typescript/dist/api/node/node.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/node/protocol.d.ts +0 -29
- package/examples/gh/node_modules/typescript/dist/api/node/protocol.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/node/protocol.generated.d.ts +0 -4
- package/examples/gh/node_modules/typescript/dist/api/node/protocol.generated.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/node/protocol.generated.js +0 -241
- package/examples/gh/node_modules/typescript/dist/api/node/protocol.generated.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/node/protocol.js +0 -30
- package/examples/gh/node_modules/typescript/dist/api/node/protocol.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/node/wtf8.d.ts +0 -6
- package/examples/gh/node_modules/typescript/dist/api/node/wtf8.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/node/wtf8.js +0 -61
- package/examples/gh/node_modules/typescript/dist/api/node/wtf8.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/options.d.ts +0 -32
- package/examples/gh/node_modules/typescript/dist/api/options.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/options.js +0 -11
- package/examples/gh/node_modules/typescript/dist/api/options.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/path.d.ts +0 -110
- package/examples/gh/node_modules/typescript/dist/api/path.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/path.js +0 -508
- package/examples/gh/node_modules/typescript/dist/api/path.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/proto.d.ts +0 -239
- package/examples/gh/node_modules/typescript/dist/api/proto.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/proto.js +0 -37
- package/examples/gh/node_modules/typescript/dist/api/proto.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/sourceFileCache.d.ts +0 -79
- package/examples/gh/node_modules/typescript/dist/api/sourceFileCache.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/sourceFileCache.js +0 -169
- package/examples/gh/node_modules/typescript/dist/api/sourceFileCache.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/sync/api.d.ts +0 -529
- package/examples/gh/node_modules/typescript/dist/api/sync/api.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/sync/api.js +0 -1665
- package/examples/gh/node_modules/typescript/dist/api/sync/api.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/sync/client.d.ts +0 -30
- package/examples/gh/node_modules/typescript/dist/api/sync/client.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/sync/client.js +0 -124
- package/examples/gh/node_modules/typescript/dist/api/sync/client.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/sync/types.d.ts +0 -310
- package/examples/gh/node_modules/typescript/dist/api/sync/types.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/sync/types.js +0 -2
- package/examples/gh/node_modules/typescript/dist/api/sync/types.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/syncChannel.d.ts +0 -114
- package/examples/gh/node_modules/typescript/dist/api/syncChannel.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/syncChannel.js +0 -508
- package/examples/gh/node_modules/typescript/dist/api/syncChannel.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/timing.d.ts +0 -175
- package/examples/gh/node_modules/typescript/dist/api/timing.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/api/timing.js +0 -149
- package/examples/gh/node_modules/typescript/dist/api/timing.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/ast/ast.d.ts +0 -100
- package/examples/gh/node_modules/typescript/dist/ast/ast.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/ast/ast.generated.d.ts +0 -1161
- package/examples/gh/node_modules/typescript/dist/ast/ast.generated.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/ast/ast.generated.js +0 -4
- package/examples/gh/node_modules/typescript/dist/ast/ast.generated.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/ast/ast.js +0 -7
- package/examples/gh/node_modules/typescript/dist/ast/ast.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/ast/astnav.d.ts +0 -19
- package/examples/gh/node_modules/typescript/dist/ast/astnav.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/ast/astnav.js +0 -596
- package/examples/gh/node_modules/typescript/dist/ast/astnav.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/ast/clone.d.ts +0 -16
- package/examples/gh/node_modules/typescript/dist/ast/clone.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/ast/clone.js +0 -104
- package/examples/gh/node_modules/typescript/dist/ast/clone.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/ast/factory.generated.d.ts +0 -520
- package/examples/gh/node_modules/typescript/dist/ast/factory.generated.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/ast/factory.generated.js +0 -3057
- package/examples/gh/node_modules/typescript/dist/ast/factory.generated.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/ast/index.d.ts +0 -20
- package/examples/gh/node_modules/typescript/dist/ast/index.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/ast/index.js +0 -20
- package/examples/gh/node_modules/typescript/dist/ast/index.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/ast/is.d.ts +0 -35
- package/examples/gh/node_modules/typescript/dist/ast/is.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/ast/is.generated.d.ts +0 -329
- package/examples/gh/node_modules/typescript/dist/ast/is.generated.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/ast/is.generated.js +0 -1103
- package/examples/gh/node_modules/typescript/dist/ast/is.generated.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/ast/is.js +0 -233
- package/examples/gh/node_modules/typescript/dist/ast/is.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/ast/jsdoc.d.ts +0 -11
- package/examples/gh/node_modules/typescript/dist/ast/jsdoc.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/ast/jsdoc.js +0 -202
- package/examples/gh/node_modules/typescript/dist/ast/jsdoc.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/ast/scanner.d.ts +0 -97
- package/examples/gh/node_modules/typescript/dist/ast/scanner.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/ast/scanner.js +0 -2230
- package/examples/gh/node_modules/typescript/dist/ast/scanner.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/ast/utils.d.ts +0 -17
- package/examples/gh/node_modules/typescript/dist/ast/utils.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/ast/utils.js +0 -67
- package/examples/gh/node_modules/typescript/dist/ast/utils.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/ast/visitor.d.ts +0 -14
- package/examples/gh/node_modules/typescript/dist/ast/visitor.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/ast/visitor.generated.d.ts +0 -50
- package/examples/gh/node_modules/typescript/dist/ast/visitor.generated.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/ast/visitor.generated.js +0 -978
- package/examples/gh/node_modules/typescript/dist/ast/visitor.generated.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/ast/visitor.js +0 -47
- package/examples/gh/node_modules/typescript/dist/ast/visitor.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/characterCodes.d.ts +0 -2
- package/examples/gh/node_modules/typescript/dist/enums/characterCodes.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/characterCodes.enum.d.ts +0 -129
- package/examples/gh/node_modules/typescript/dist/enums/characterCodes.enum.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/characterCodes.enum.js +0 -132
- package/examples/gh/node_modules/typescript/dist/enums/characterCodes.enum.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/characterCodes.js +0 -130
- package/examples/gh/node_modules/typescript/dist/enums/characterCodes.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/commentDirectiveType.d.ts +0 -2
- package/examples/gh/node_modules/typescript/dist/enums/commentDirectiveType.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/commentDirectiveType.enum.d.ts +0 -5
- package/examples/gh/node_modules/typescript/dist/enums/commentDirectiveType.enum.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/commentDirectiveType.enum.js +0 -6
- package/examples/gh/node_modules/typescript/dist/enums/commentDirectiveType.enum.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/commentDirectiveType.js +0 -6
- package/examples/gh/node_modules/typescript/dist/enums/commentDirectiveType.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/completionItemKind.d.ts +0 -2
- package/examples/gh/node_modules/typescript/dist/enums/completionItemKind.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/completionItemKind.enum.d.ts +0 -28
- package/examples/gh/node_modules/typescript/dist/enums/completionItemKind.enum.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/completionItemKind.enum.js +0 -30
- package/examples/gh/node_modules/typescript/dist/enums/completionItemKind.enum.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/completionItemKind.js +0 -30
- package/examples/gh/node_modules/typescript/dist/enums/completionItemKind.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/diagnosticCategory.d.ts +0 -2
- package/examples/gh/node_modules/typescript/dist/enums/diagnosticCategory.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/diagnosticCategory.enum.d.ts +0 -7
- package/examples/gh/node_modules/typescript/dist/enums/diagnosticCategory.enum.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/diagnosticCategory.enum.js +0 -9
- package/examples/gh/node_modules/typescript/dist/enums/diagnosticCategory.enum.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/diagnosticCategory.js +0 -9
- package/examples/gh/node_modules/typescript/dist/enums/diagnosticCategory.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/elementFlags.d.ts +0 -2
- package/examples/gh/node_modules/typescript/dist/enums/elementFlags.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/elementFlags.enum.d.ts +0 -12
- package/examples/gh/node_modules/typescript/dist/enums/elementFlags.enum.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/elementFlags.enum.js +0 -14
- package/examples/gh/node_modules/typescript/dist/enums/elementFlags.enum.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/elementFlags.js +0 -14
- package/examples/gh/node_modules/typescript/dist/enums/elementFlags.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/internalSymbolName.d.ts +0 -2
- package/examples/gh/node_modules/typescript/dist/enums/internalSymbolName.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/internalSymbolName.enum.d.ts +0 -23
- package/examples/gh/node_modules/typescript/dist/enums/internalSymbolName.enum.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/internalSymbolName.enum.js +0 -25
- package/examples/gh/node_modules/typescript/dist/enums/internalSymbolName.enum.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/internalSymbolName.js +0 -25
- package/examples/gh/node_modules/typescript/dist/enums/internalSymbolName.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/jsxEmit.d.ts +0 -2
- package/examples/gh/node_modules/typescript/dist/enums/jsxEmit.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/jsxEmit.enum.d.ts +0 -9
- package/examples/gh/node_modules/typescript/dist/enums/jsxEmit.enum.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/jsxEmit.enum.js +0 -11
- package/examples/gh/node_modules/typescript/dist/enums/jsxEmit.enum.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/jsxEmit.js +0 -11
- package/examples/gh/node_modules/typescript/dist/enums/jsxEmit.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/languageVariant.d.ts +0 -2
- package/examples/gh/node_modules/typescript/dist/enums/languageVariant.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/languageVariant.enum.d.ts +0 -5
- package/examples/gh/node_modules/typescript/dist/enums/languageVariant.enum.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/languageVariant.enum.js +0 -6
- package/examples/gh/node_modules/typescript/dist/enums/languageVariant.enum.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/languageVariant.js +0 -6
- package/examples/gh/node_modules/typescript/dist/enums/languageVariant.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/modifierFlags.d.ts +0 -2
- package/examples/gh/node_modules/typescript/dist/enums/modifierFlags.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/modifierFlags.enum.d.ts +0 -42
- package/examples/gh/node_modules/typescript/dist/enums/modifierFlags.enum.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/modifierFlags.enum.js +0 -44
- package/examples/gh/node_modules/typescript/dist/enums/modifierFlags.enum.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/modifierFlags.js +0 -44
- package/examples/gh/node_modules/typescript/dist/enums/modifierFlags.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/moduleDetectionKind.d.ts +0 -2
- package/examples/gh/node_modules/typescript/dist/enums/moduleDetectionKind.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/moduleDetectionKind.enum.d.ts +0 -7
- package/examples/gh/node_modules/typescript/dist/enums/moduleDetectionKind.enum.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/moduleDetectionKind.enum.js +0 -9
- package/examples/gh/node_modules/typescript/dist/enums/moduleDetectionKind.enum.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/moduleDetectionKind.js +0 -9
- package/examples/gh/node_modules/typescript/dist/enums/moduleDetectionKind.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/moduleKind.d.ts +0 -2
- package/examples/gh/node_modules/typescript/dist/enums/moduleKind.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/moduleKind.enum.d.ts +0 -17
- package/examples/gh/node_modules/typescript/dist/enums/moduleKind.enum.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/moduleKind.enum.js +0 -19
- package/examples/gh/node_modules/typescript/dist/enums/moduleKind.enum.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/moduleKind.js +0 -19
- package/examples/gh/node_modules/typescript/dist/enums/moduleKind.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/moduleResolutionKind.d.ts +0 -2
- package/examples/gh/node_modules/typescript/dist/enums/moduleResolutionKind.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/moduleResolutionKind.enum.d.ts +0 -9
- package/examples/gh/node_modules/typescript/dist/enums/moduleResolutionKind.enum.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/moduleResolutionKind.enum.js +0 -11
- package/examples/gh/node_modules/typescript/dist/enums/moduleResolutionKind.enum.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/moduleResolutionKind.js +0 -11
- package/examples/gh/node_modules/typescript/dist/enums/moduleResolutionKind.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/newLineKind.d.ts +0 -2
- package/examples/gh/node_modules/typescript/dist/enums/newLineKind.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/newLineKind.enum.d.ts +0 -6
- package/examples/gh/node_modules/typescript/dist/enums/newLineKind.enum.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/newLineKind.enum.js +0 -8
- package/examples/gh/node_modules/typescript/dist/enums/newLineKind.enum.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/newLineKind.js +0 -8
- package/examples/gh/node_modules/typescript/dist/enums/newLineKind.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/nodeBuilderFlags.d.ts +0 -2
- package/examples/gh/node_modules/typescript/dist/enums/nodeBuilderFlags.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/nodeBuilderFlags.enum.d.ts +0 -36
- package/examples/gh/node_modules/typescript/dist/enums/nodeBuilderFlags.enum.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/nodeBuilderFlags.enum.js +0 -38
- package/examples/gh/node_modules/typescript/dist/enums/nodeBuilderFlags.enum.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/nodeBuilderFlags.js +0 -38
- package/examples/gh/node_modules/typescript/dist/enums/nodeBuilderFlags.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/nodeFlags.d.ts +0 -2
- package/examples/gh/node_modules/typescript/dist/enums/nodeFlags.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/nodeFlags.enum.d.ts +0 -44
- package/examples/gh/node_modules/typescript/dist/enums/nodeFlags.enum.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/nodeFlags.enum.js +0 -46
- package/examples/gh/node_modules/typescript/dist/enums/nodeFlags.enum.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/nodeFlags.js +0 -46
- package/examples/gh/node_modules/typescript/dist/enums/nodeFlags.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/objectFlags.d.ts +0 -2
- package/examples/gh/node_modules/typescript/dist/enums/objectFlags.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/objectFlags.enum.d.ts +0 -50
- package/examples/gh/node_modules/typescript/dist/enums/objectFlags.enum.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/objectFlags.enum.js +0 -52
- package/examples/gh/node_modules/typescript/dist/enums/objectFlags.enum.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/objectFlags.js +0 -52
- package/examples/gh/node_modules/typescript/dist/enums/objectFlags.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/outerExpressionKinds.d.ts +0 -2
- package/examples/gh/node_modules/typescript/dist/enums/outerExpressionKinds.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/outerExpressionKinds.enum.d.ts +0 -16
- package/examples/gh/node_modules/typescript/dist/enums/outerExpressionKinds.enum.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/outerExpressionKinds.enum.js +0 -18
- package/examples/gh/node_modules/typescript/dist/enums/outerExpressionKinds.enum.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/outerExpressionKinds.js +0 -18
- package/examples/gh/node_modules/typescript/dist/enums/outerExpressionKinds.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/regularExpressionFlags.d.ts +0 -2
- package/examples/gh/node_modules/typescript/dist/enums/regularExpressionFlags.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/regularExpressionFlags.enum.d.ts +0 -13
- package/examples/gh/node_modules/typescript/dist/enums/regularExpressionFlags.enum.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/regularExpressionFlags.enum.js +0 -14
- package/examples/gh/node_modules/typescript/dist/enums/regularExpressionFlags.enum.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/regularExpressionFlags.js +0 -14
- package/examples/gh/node_modules/typescript/dist/enums/regularExpressionFlags.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/scriptKind.d.ts +0 -2
- package/examples/gh/node_modules/typescript/dist/enums/scriptKind.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/scriptKind.enum.d.ts +0 -11
- package/examples/gh/node_modules/typescript/dist/enums/scriptKind.enum.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/scriptKind.enum.js +0 -12
- package/examples/gh/node_modules/typescript/dist/enums/scriptKind.enum.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/scriptKind.js +0 -12
- package/examples/gh/node_modules/typescript/dist/enums/scriptKind.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/scriptTarget.d.ts +0 -2
- package/examples/gh/node_modules/typescript/dist/enums/scriptTarget.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/scriptTarget.enum.d.ts +0 -17
- package/examples/gh/node_modules/typescript/dist/enums/scriptTarget.enum.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/scriptTarget.enum.js +0 -18
- package/examples/gh/node_modules/typescript/dist/enums/scriptTarget.enum.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/scriptTarget.js +0 -18
- package/examples/gh/node_modules/typescript/dist/enums/scriptTarget.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/signatureFlags.d.ts +0 -2
- package/examples/gh/node_modules/typescript/dist/enums/signatureFlags.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/signatureFlags.enum.d.ts +0 -15
- package/examples/gh/node_modules/typescript/dist/enums/signatureFlags.enum.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/signatureFlags.enum.js +0 -17
- package/examples/gh/node_modules/typescript/dist/enums/signatureFlags.enum.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/signatureFlags.js +0 -17
- package/examples/gh/node_modules/typescript/dist/enums/signatureFlags.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/signatureKind.d.ts +0 -2
- package/examples/gh/node_modules/typescript/dist/enums/signatureKind.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/signatureKind.enum.d.ts +0 -5
- package/examples/gh/node_modules/typescript/dist/enums/signatureKind.enum.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/signatureKind.enum.js +0 -7
- package/examples/gh/node_modules/typescript/dist/enums/signatureKind.enum.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/signatureKind.js +0 -7
- package/examples/gh/node_modules/typescript/dist/enums/signatureKind.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/symbolFlags.d.ts +0 -2
- package/examples/gh/node_modules/typescript/dist/enums/symbolFlags.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/symbolFlags.enum.d.ts +0 -71
- package/examples/gh/node_modules/typescript/dist/enums/symbolFlags.enum.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/symbolFlags.enum.js +0 -73
- package/examples/gh/node_modules/typescript/dist/enums/symbolFlags.enum.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/symbolFlags.js +0 -73
- package/examples/gh/node_modules/typescript/dist/enums/symbolFlags.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/syntaxKind.d.ts +0 -2
- package/examples/gh/node_modules/typescript/dist/enums/syntaxKind.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/syntaxKind.enum.d.ts +0 -389
- package/examples/gh/node_modules/typescript/dist/enums/syntaxKind.enum.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/syntaxKind.enum.js +0 -391
- package/examples/gh/node_modules/typescript/dist/enums/syntaxKind.enum.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/syntaxKind.js +0 -391
- package/examples/gh/node_modules/typescript/dist/enums/syntaxKind.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/tokenFlags.d.ts +0 -2
- package/examples/gh/node_modules/typescript/dist/enums/tokenFlags.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/tokenFlags.enum.d.ts +0 -30
- package/examples/gh/node_modules/typescript/dist/enums/tokenFlags.enum.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/tokenFlags.enum.js +0 -32
- package/examples/gh/node_modules/typescript/dist/enums/tokenFlags.enum.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/tokenFlags.js +0 -32
- package/examples/gh/node_modules/typescript/dist/enums/tokenFlags.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/typeFlags.d.ts +0 -2
- package/examples/gh/node_modules/typescript/dist/enums/typeFlags.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/typeFlags.enum.d.ts +0 -76
- package/examples/gh/node_modules/typescript/dist/enums/typeFlags.enum.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/typeFlags.enum.js +0 -78
- package/examples/gh/node_modules/typescript/dist/enums/typeFlags.enum.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/typeFlags.js +0 -78
- package/examples/gh/node_modules/typescript/dist/enums/typeFlags.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/typePredicateKind.d.ts +0 -2
- package/examples/gh/node_modules/typescript/dist/enums/typePredicateKind.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/typePredicateKind.enum.d.ts +0 -7
- package/examples/gh/node_modules/typescript/dist/enums/typePredicateKind.enum.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/typePredicateKind.enum.js +0 -9
- package/examples/gh/node_modules/typescript/dist/enums/typePredicateKind.enum.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/enums/typePredicateKind.js +0 -9
- package/examples/gh/node_modules/typescript/dist/enums/typePredicateKind.js.map +0 -1
- package/examples/gh/node_modules/typescript/dist/internal/utils.d.ts +0 -23
- package/examples/gh/node_modules/typescript/dist/internal/utils.d.ts.map +0 -1
- package/examples/gh/node_modules/typescript/dist/internal/utils.js +0 -25
- package/examples/gh/node_modules/typescript/dist/internal/utils.js.map +0 -1
- package/examples/gh/node_modules/typescript/lib/getExePath.d.ts +0 -2
- package/examples/gh/node_modules/typescript/lib/getExePath.js +0 -70
- package/examples/gh/node_modules/typescript/lib/tsc.js +0 -28
- package/examples/gh/node_modules/typescript/lib/version.cjs +0 -3
- package/examples/gh/node_modules/typescript/lib/version.d.cts +0 -2
- package/examples/gh/node_modules/typescript/package.json +0 -87
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/License.txt +0 -11
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/README.md +0 -54
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/browser/main.d.ts +0 -17
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/browser/main.js +0 -83
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/browser/ril.d.ts +0 -22
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/browser/ril.js +0 -210
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/api.d.ts +0 -14
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/api.js +0 -87
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/cancellation.d.ts +0 -32
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/cancellation.js +0 -132
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/connection.d.ts +0 -367
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/connection.js +0 -1271
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/disposable.d.ts +0 -9
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/disposable.js +0 -16
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/encoding.d.ts +0 -52
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/encoding.js +0 -70
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/events.d.ts +0 -39
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/events.js +0 -135
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/is.d.ts +0 -7
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/is.js +0 -34
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/linkedMap.d.ts +0 -55
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/linkedMap.js +0 -412
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/messageBuffer.d.ts +0 -18
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/messageBuffer.js +0 -155
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/messageReader.d.ts +0 -77
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/messageReader.js +0 -246
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/messageWriter.d.ts +0 -60
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/messageWriter.js +0 -157
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/messages.d.ts +0 -369
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/messages.js +0 -436
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/ral.d.ts +0 -74
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/ral.js +0 -23
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/semaphore.d.ts +0 -10
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/semaphore.js +0 -74
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/sharedArrayCancellation.d.ts +0 -15
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/sharedArrayCancellation.js +0 -77
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/node/main.d.ts +0 -58
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/node/main.js +0 -289
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/node/ril.d.ts +0 -12
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/node/ril.js +0 -163
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/package.json +0 -54
- package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/typings/thenable.d.ts +0 -5
- package/examples/gh/package.json +0 -45
- package/examples/gh/src/commands/auth.ts +0 -66
- package/examples/gh/src/commands/issue.ts +0 -120
- package/examples/gh/src/commands/pr.ts +0 -125
- package/examples/gh/src/data/issues.yaml +0 -5
- package/examples/gh/src/data/issues.yaml.d.ts +0 -17
- package/examples/gh/src/data/pull-requests.yaml +0 -7
- package/examples/gh/src/data/pull-requests.yaml.d.ts +0 -18
- package/examples/gh/src/docs.ts +0 -11
- package/examples/gh/src/lib/auth.ts +0 -37
- package/examples/gh/src/lib/utils.ts +0 -17
- package/examples/gh/src/main.test.ts +0 -307
- package/examples/gh/src/main.ts +0 -46
- package/examples/help-config.ts +0 -43
- package/examples/interactive.ts +0 -67
- package/examples/json-mode.ts +0 -95
- package/examples/middleware.ts +0 -71
- package/examples/multi-command.ts +0 -66
- package/examples/output-extras.ts +0 -46
- package/examples/parser-control.ts +0 -40
- package/examples/pwsh-demo/README.md +0 -40
- package/examples/pwsh-demo/package.json +0 -41
- package/examples/pwsh-demo/pwsh-demo.cmd +0 -3
- package/examples/pwsh-demo/smoke-powershell.ps1 +0 -218
- package/examples/pwsh-demo/src/main.test.ts +0 -45
- package/examples/pwsh-demo/src/main.ts +0 -140
- package/examples/spinner-progress.ts +0 -49
- package/examples/standard-schema.ts +0 -45
- package/examples/testing.ts +0 -147
- package/examples/transport-launcher.ts +0 -85
|
@@ -1,835 +0,0 @@
|
|
|
1
|
-
// Code generated by _scripts/generate-encoder.ts. DO NOT EDIT.
|
|
2
|
-
import { getTokenPosOfNode, ModifierFlags, SyntaxKind, } from "../../ast/index.js";
|
|
3
|
-
import { modifierToFlag, NODE_CHILD_MASK, NODE_DATA_TYPE_MASK, NODE_EXTENDED_DATA_MASK, NODE_STRING_INDEX_MASK, popcount8, RemoteNodeBase, } from "./node.infrastructure.js";
|
|
4
|
-
import { childProperties, KIND_NODE_LIST, NODE_DATA_TYPE_CHILDREN, NODE_DATA_TYPE_EXTENDED, NODE_DATA_TYPE_STRING, NODE_LEN, NODE_OFFSET_DATA, NODE_OFFSET_END, NODE_OFFSET_FLAGS, NODE_OFFSET_KIND, NODE_OFFSET_NEXT, NODE_OFFSET_PARENT, NODE_OFFSET_POS, } from "./protocol.js";
|
|
5
|
-
export class RemoteNodeList extends Array {
|
|
6
|
-
// Inherited Array methods like filter/map/slice use ArraySpeciesCreate, which would
|
|
7
|
-
// otherwise call `new RemoteNodeList(length)` and fail. Produce a plain Array instead.
|
|
8
|
-
static get [Symbol.species]() {
|
|
9
|
-
return Array;
|
|
10
|
-
}
|
|
11
|
-
parent;
|
|
12
|
-
hasTrailingComma;
|
|
13
|
-
transformFlags = 0;
|
|
14
|
-
view;
|
|
15
|
-
index;
|
|
16
|
-
_byteIndex;
|
|
17
|
-
// Cursor memoizing the last resolved (logical index -> node index) so that
|
|
18
|
-
// sequential forward access (index loops and list[i], plus forEach/map/
|
|
19
|
-
// reduce/filter) resumes instead of re-walking from the head, turning an
|
|
20
|
-
// O(n) pass over the whole list from O(n^2) into O(n).
|
|
21
|
-
_cursorIndex = 0;
|
|
22
|
-
_cursorNodeIndex = 0;
|
|
23
|
-
get pos() {
|
|
24
|
-
return this.view.getUint32(this._byteIndex + NODE_OFFSET_POS, true);
|
|
25
|
-
}
|
|
26
|
-
get end() {
|
|
27
|
-
return this.view.getUint32(this._byteIndex + NODE_OFFSET_END, true);
|
|
28
|
-
}
|
|
29
|
-
get next() {
|
|
30
|
-
return this.view.getUint32(this._byteIndex + NODE_OFFSET_NEXT, true);
|
|
31
|
-
}
|
|
32
|
-
get data() {
|
|
33
|
-
return this.view.getUint32(this._byteIndex + NODE_OFFSET_DATA, true);
|
|
34
|
-
}
|
|
35
|
-
sourceFile;
|
|
36
|
-
constructor(view, index, parent, sourceFile, offsetNodes) {
|
|
37
|
-
super();
|
|
38
|
-
this.view = view;
|
|
39
|
-
this.index = index;
|
|
40
|
-
this.parent = parent;
|
|
41
|
-
this.sourceFile = sourceFile;
|
|
42
|
-
this._byteIndex = offsetNodes + index * NODE_LEN;
|
|
43
|
-
this.length = this.data;
|
|
44
|
-
this._cursorNodeIndex = index + 1;
|
|
45
|
-
const length = this.length;
|
|
46
|
-
for (let i = 16; i < length; i++) {
|
|
47
|
-
Object.defineProperty(this, i, {
|
|
48
|
-
get() {
|
|
49
|
-
return this.at(i);
|
|
50
|
-
},
|
|
51
|
-
});
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
get 0() {
|
|
55
|
-
return this.at(0);
|
|
56
|
-
}
|
|
57
|
-
get 1() {
|
|
58
|
-
return this.at(1);
|
|
59
|
-
}
|
|
60
|
-
get 2() {
|
|
61
|
-
return this.at(2);
|
|
62
|
-
}
|
|
63
|
-
get 3() {
|
|
64
|
-
return this.at(3);
|
|
65
|
-
}
|
|
66
|
-
get 4() {
|
|
67
|
-
return this.at(4);
|
|
68
|
-
}
|
|
69
|
-
get 5() {
|
|
70
|
-
return this.at(5);
|
|
71
|
-
}
|
|
72
|
-
get 6() {
|
|
73
|
-
return this.at(6);
|
|
74
|
-
}
|
|
75
|
-
get 7() {
|
|
76
|
-
return this.at(7);
|
|
77
|
-
}
|
|
78
|
-
get 8() {
|
|
79
|
-
return this.at(8);
|
|
80
|
-
}
|
|
81
|
-
get 9() {
|
|
82
|
-
return this.at(9);
|
|
83
|
-
}
|
|
84
|
-
get 10() {
|
|
85
|
-
return this.at(10);
|
|
86
|
-
}
|
|
87
|
-
get 11() {
|
|
88
|
-
return this.at(11);
|
|
89
|
-
}
|
|
90
|
-
get 12() {
|
|
91
|
-
return this.at(12);
|
|
92
|
-
}
|
|
93
|
-
get 13() {
|
|
94
|
-
return this.at(13);
|
|
95
|
-
}
|
|
96
|
-
get 14() {
|
|
97
|
-
return this.at(14);
|
|
98
|
-
}
|
|
99
|
-
get 15() {
|
|
100
|
-
return this.at(15);
|
|
101
|
-
}
|
|
102
|
-
*[Symbol.iterator]() {
|
|
103
|
-
if (!this.length)
|
|
104
|
-
return;
|
|
105
|
-
let next = this.index + 1;
|
|
106
|
-
while (next) {
|
|
107
|
-
const child = this.getOrCreateChildAtNodeIndex(next);
|
|
108
|
-
next = child.next;
|
|
109
|
-
yield child;
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
forEachNode(visitNode) {
|
|
113
|
-
if (!this.length)
|
|
114
|
-
return;
|
|
115
|
-
let next = this.index + 1;
|
|
116
|
-
while (next) {
|
|
117
|
-
const child = this.getOrCreateChildAtNodeIndex(next);
|
|
118
|
-
next = child.next;
|
|
119
|
-
const result = visitNode(child);
|
|
120
|
-
if (result)
|
|
121
|
-
return result;
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
at(index) {
|
|
125
|
-
if (!Number.isInteger(index)) {
|
|
126
|
-
return undefined;
|
|
127
|
-
}
|
|
128
|
-
if (index >= this.data || (index < 0 && -index > this.data)) {
|
|
129
|
-
return undefined;
|
|
130
|
-
}
|
|
131
|
-
if (index < 0) {
|
|
132
|
-
index = this.length + index;
|
|
133
|
-
}
|
|
134
|
-
// Walk the raw buffer following each node's `next` pointer instead of
|
|
135
|
-
// materializing every intermediate RemoteNode just to read it. Resume from
|
|
136
|
-
// the memoized cursor when possible so sequential forward access is O(1)
|
|
137
|
-
// amortized (a full in-order pass is O(n) rather than O(n^2)).
|
|
138
|
-
const offsetNodes = this.sourceFile._offsetNodes;
|
|
139
|
-
let i;
|
|
140
|
-
let next;
|
|
141
|
-
if (index >= this._cursorIndex) {
|
|
142
|
-
i = this._cursorIndex;
|
|
143
|
-
next = this._cursorNodeIndex;
|
|
144
|
-
}
|
|
145
|
-
else {
|
|
146
|
-
i = 0;
|
|
147
|
-
next = this.index + 1;
|
|
148
|
-
}
|
|
149
|
-
for (; i < index; i++) {
|
|
150
|
-
next = this.view.getUint32(offsetNodes + next * NODE_LEN + NODE_OFFSET_NEXT, true);
|
|
151
|
-
}
|
|
152
|
-
this._cursorIndex = index;
|
|
153
|
-
this._cursorNodeIndex = next;
|
|
154
|
-
return this.getOrCreateChildAtNodeIndex(next);
|
|
155
|
-
}
|
|
156
|
-
getOrCreateChildAtNodeIndex(index) {
|
|
157
|
-
let child = this.sourceFile.nodes[index];
|
|
158
|
-
if (!child) {
|
|
159
|
-
const kind = this.view.getUint32(this.sourceFile._offsetNodes + index * NODE_LEN + NODE_OFFSET_KIND, true);
|
|
160
|
-
if (kind === KIND_NODE_LIST) {
|
|
161
|
-
throw new Error("NodeList cannot directly contain another NodeList");
|
|
162
|
-
}
|
|
163
|
-
const sf = this.sourceFile;
|
|
164
|
-
child = new RemoteNode(this.view, index, this.parent, sf, sf._offsetNodes);
|
|
165
|
-
sf.nodes[index] = child;
|
|
166
|
-
sf._timing?.recordMaterialization();
|
|
167
|
-
}
|
|
168
|
-
return child;
|
|
169
|
-
}
|
|
170
|
-
__print() {
|
|
171
|
-
const result = [];
|
|
172
|
-
result.push(`kind: NodeList`);
|
|
173
|
-
result.push(`index: ${this.index}`);
|
|
174
|
-
result.push(`byteIndex: ${this._byteIndex}`);
|
|
175
|
-
result.push(`length: ${this.length}`);
|
|
176
|
-
return result.join("\n");
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
export class RemoteNode extends RemoteNodeBase {
|
|
180
|
-
static NODE_LEN = NODE_LEN;
|
|
181
|
-
get sourceFile() {
|
|
182
|
-
return this._sourceFile;
|
|
183
|
-
}
|
|
184
|
-
_sourceFile;
|
|
185
|
-
get id() {
|
|
186
|
-
return `${this.index}.${this.kind}.${this.sourceFile.path}`;
|
|
187
|
-
}
|
|
188
|
-
constructor(view, index, parent, sourceFile, offsetNodes) {
|
|
189
|
-
super(view, index, parent, offsetNodes + index * NODE_LEN);
|
|
190
|
-
this._sourceFile = sourceFile;
|
|
191
|
-
}
|
|
192
|
-
forEachChild(visitNode, visitList) {
|
|
193
|
-
if (this.hasChildren()) {
|
|
194
|
-
let next = this.index + 1;
|
|
195
|
-
do {
|
|
196
|
-
const child = this.getOrCreateChildAtNodeIndex(next);
|
|
197
|
-
if (child instanceof RemoteNodeList) {
|
|
198
|
-
if (visitList) {
|
|
199
|
-
const result = visitList(child);
|
|
200
|
-
if (result) {
|
|
201
|
-
return result;
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
else {
|
|
205
|
-
const result = child.forEachNode(visitNode);
|
|
206
|
-
if (result) {
|
|
207
|
-
return result;
|
|
208
|
-
}
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
else if (child.kind !== SyntaxKind.JSDoc) {
|
|
212
|
-
const result = visitNode(child);
|
|
213
|
-
if (result) {
|
|
214
|
-
return result;
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
next = child.next;
|
|
218
|
-
} while (next);
|
|
219
|
-
}
|
|
220
|
-
}
|
|
221
|
-
get jsDoc() {
|
|
222
|
-
if (!this.hasChildren()) {
|
|
223
|
-
return undefined;
|
|
224
|
-
}
|
|
225
|
-
let result;
|
|
226
|
-
let next = this.index + 1;
|
|
227
|
-
do {
|
|
228
|
-
const child = this.getOrCreateChildAtNodeIndex(next);
|
|
229
|
-
if (!(child instanceof RemoteNodeList) && child.kind === SyntaxKind.JSDoc) {
|
|
230
|
-
(result ??= []).push(child);
|
|
231
|
-
}
|
|
232
|
-
next = child.next;
|
|
233
|
-
} while (next);
|
|
234
|
-
return result;
|
|
235
|
-
}
|
|
236
|
-
getSourceFile() {
|
|
237
|
-
return this.sourceFile;
|
|
238
|
-
}
|
|
239
|
-
getStart(sourceFile, includeJsDocComment) {
|
|
240
|
-
return getTokenPosOfNode(this, sourceFile ?? this.getSourceFile(), includeJsDocComment);
|
|
241
|
-
}
|
|
242
|
-
getFullStart() {
|
|
243
|
-
return this.pos;
|
|
244
|
-
}
|
|
245
|
-
getEnd() {
|
|
246
|
-
return this.end;
|
|
247
|
-
}
|
|
248
|
-
getWidth(sourceFile) {
|
|
249
|
-
return this.getEnd() - this.getStart(sourceFile);
|
|
250
|
-
}
|
|
251
|
-
getFullWidth() {
|
|
252
|
-
return this.end - this.pos;
|
|
253
|
-
}
|
|
254
|
-
getLeadingTriviaWidth(sourceFile) {
|
|
255
|
-
return this.getStart(sourceFile) - this.pos;
|
|
256
|
-
}
|
|
257
|
-
getFullText(sourceFile) {
|
|
258
|
-
return (sourceFile ?? this.getSourceFile()).text.substring(this.pos, this.end);
|
|
259
|
-
}
|
|
260
|
-
getText(sourceFile) {
|
|
261
|
-
sourceFile ??= this.getSourceFile();
|
|
262
|
-
return sourceFile.text.substring(this.getStart(sourceFile), this.end);
|
|
263
|
-
}
|
|
264
|
-
getString(index) {
|
|
265
|
-
const offsetStringTableOffsets = this.sourceFile._offsetStringTableOffsets;
|
|
266
|
-
const start = this.view.getUint32(offsetStringTableOffsets + index * 4, true);
|
|
267
|
-
const end = this.view.getUint32(offsetStringTableOffsets + (index + 1) * 4, true);
|
|
268
|
-
const offsetStringTable = this.sourceFile._offsetStringTable;
|
|
269
|
-
const text = new Uint8Array(this.view.buffer, this.view.byteOffset + offsetStringTable + start, end - start);
|
|
270
|
-
return this.sourceFile._decoder.decode(text);
|
|
271
|
-
}
|
|
272
|
-
getOrCreateChildAtNodeIndex(index) {
|
|
273
|
-
let child = this.sourceFile.nodes[index];
|
|
274
|
-
if (!child) {
|
|
275
|
-
const sf = this.sourceFile;
|
|
276
|
-
const offsetNodes = sf._offsetNodes;
|
|
277
|
-
const kind = this.view.getUint32(offsetNodes + index * NODE_LEN + NODE_OFFSET_KIND, true);
|
|
278
|
-
child = kind === KIND_NODE_LIST
|
|
279
|
-
? new RemoteNodeList(this.view, index, this, sf, offsetNodes)
|
|
280
|
-
: new RemoteNode(this.view, index, this, sf, offsetNodes);
|
|
281
|
-
sf.nodes[index] = child;
|
|
282
|
-
sf._timing?.recordMaterialization();
|
|
283
|
-
}
|
|
284
|
-
return child;
|
|
285
|
-
}
|
|
286
|
-
hasChildren() {
|
|
287
|
-
if (this._byteIndex >= this.view.byteLength - NODE_LEN) {
|
|
288
|
-
return false;
|
|
289
|
-
}
|
|
290
|
-
const nextNodeParent = this.view.getUint32(this.sourceFile._offsetNodes + (this.index + 1) * NODE_LEN + NODE_OFFSET_PARENT, true);
|
|
291
|
-
return nextNodeParent === this.index;
|
|
292
|
-
}
|
|
293
|
-
getNamedChild(propertyName) {
|
|
294
|
-
const kind = this.kind;
|
|
295
|
-
const propertyNames = childProperties[kind];
|
|
296
|
-
if (!propertyNames) {
|
|
297
|
-
return undefined;
|
|
298
|
-
}
|
|
299
|
-
const order = propertyNames.indexOf(propertyName);
|
|
300
|
-
if (order === -1) {
|
|
301
|
-
return undefined;
|
|
302
|
-
}
|
|
303
|
-
return this.getChildAtOrder(order);
|
|
304
|
-
}
|
|
305
|
-
getChildAtOrder(order) {
|
|
306
|
-
const mask = this.childMask;
|
|
307
|
-
if (!(mask & (1 << order))) {
|
|
308
|
-
// Property is not present
|
|
309
|
-
return undefined;
|
|
310
|
-
}
|
|
311
|
-
// The property index is `order`, minus the number of zeros in the mask that are in bit positions less
|
|
312
|
-
// than the `order`th bit. Example:
|
|
313
|
-
//
|
|
314
|
-
// This is a MethodDeclaration with mask 0b01110101. The possible properties are
|
|
315
|
-
// ["modifiers", "asteriskToken", "name", "postfixToken", "typeParameters", "parameters", "type", "body"]
|
|
316
|
-
// (it has modifiers, name, typeParameters, parameters, and type).
|
|
317
|
-
//
|
|
318
|
-
// | Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|
|
319
|
-
// | ----- | ---- | ---- | ---------- | -------------- | ------------ | ---- | ------------- | --------- |
|
|
320
|
-
// | Value | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 1 |
|
|
321
|
-
// | Name | body | type | parameters | typeParameters | postfixToken | name | asteriskToken | modifiers |
|
|
322
|
-
//
|
|
323
|
-
// We are trying to get the index of "parameters" (bit = 5).
|
|
324
|
-
// First, set all the more significant bits to 1:
|
|
325
|
-
//
|
|
326
|
-
// | Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|
|
327
|
-
// | ----- | ---- | ---- | ---------- | -------------- | ------------ | ---- | ------------- | --------- |
|
|
328
|
-
// | Value | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 1 |
|
|
329
|
-
//
|
|
330
|
-
// Then, flip the bits:
|
|
331
|
-
//
|
|
332
|
-
// | Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|
|
333
|
-
// | ----- | ---- | ---- | ---------- | -------------- | ------------ | ---- | ------------- | --------- |
|
|
334
|
-
// | Value | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 |
|
|
335
|
-
//
|
|
336
|
-
// Counting the 1s gives us the number of *missing properties* before the `order`th property. If every property
|
|
337
|
-
// were present, we would have `parameters = children[5]`, but since `postfixToken` and `astersiskToken` are
|
|
338
|
-
// missing, we have `parameters = children[5 - 2]`.
|
|
339
|
-
const propertyIndex = order - popcount8[~(mask | ((0xff << order) & 0xff)) & 0xff];
|
|
340
|
-
let childIndex = this.index + 1;
|
|
341
|
-
for (let i = 0; i < propertyIndex; i++) {
|
|
342
|
-
// Walk through children via their `next` pointer until we get to the right property index
|
|
343
|
-
childIndex = this.view.getUint32(this.sourceFile._offsetNodes + childIndex * NODE_LEN + NODE_OFFSET_NEXT, true);
|
|
344
|
-
}
|
|
345
|
-
return this.getOrCreateChildAtNodeIndex(childIndex);
|
|
346
|
-
}
|
|
347
|
-
__print() {
|
|
348
|
-
const result = [];
|
|
349
|
-
result.push(`index: ${this.index}`);
|
|
350
|
-
result.push(`byteIndex: ${this._byteIndex}`);
|
|
351
|
-
result.push(`kind: ${SyntaxKind[this.kind]}`);
|
|
352
|
-
result.push(`pos: ${this.pos}`);
|
|
353
|
-
result.push(`end: ${this.end}`);
|
|
354
|
-
result.push(`next: ${this.next}`);
|
|
355
|
-
result.push(`parent: ${this.parentIndex}`);
|
|
356
|
-
result.push(`data: ${this.data.toString(2).padStart(32, "0")}`);
|
|
357
|
-
const dataType = this.dataType === NODE_DATA_TYPE_CHILDREN ? "children" :
|
|
358
|
-
this.dataType === NODE_DATA_TYPE_STRING ? "string" :
|
|
359
|
-
"extended";
|
|
360
|
-
result.push(`dataType: ${dataType}`);
|
|
361
|
-
if (this.dataType === NODE_DATA_TYPE_CHILDREN) {
|
|
362
|
-
result.push(`childMask: ${this.childMask.toString(2).padStart(8, "0")}`);
|
|
363
|
-
result.push(`childProperties: ${childProperties[this.kind]?.join(", ")}`);
|
|
364
|
-
}
|
|
365
|
-
return result.join("\n");
|
|
366
|
-
}
|
|
367
|
-
__printChildren() {
|
|
368
|
-
const result = [];
|
|
369
|
-
let next = this.index + 1;
|
|
370
|
-
while (next) {
|
|
371
|
-
const child = this.getOrCreateChildAtNodeIndex(next);
|
|
372
|
-
next = child.next;
|
|
373
|
-
result.push(child.__print());
|
|
374
|
-
}
|
|
375
|
-
return result.join("\n\n");
|
|
376
|
-
}
|
|
377
|
-
__printSubtree() {
|
|
378
|
-
const result = [this.__print()];
|
|
379
|
-
this.forEachChild(function visitNode(node) {
|
|
380
|
-
result.push(node.__print());
|
|
381
|
-
node.forEachChild(visitNode);
|
|
382
|
-
}, visitList => {
|
|
383
|
-
result.push(visitList.__print());
|
|
384
|
-
});
|
|
385
|
-
return result.join("\n\n");
|
|
386
|
-
}
|
|
387
|
-
// ═══ Generated boolean property getters ═══
|
|
388
|
-
get containsOnlyTriviaWhiteSpaces() {
|
|
389
|
-
return (this.data & (1 << 24)) !== 0;
|
|
390
|
-
}
|
|
391
|
-
get isArrayType() {
|
|
392
|
-
return (this.data & (1 << 24)) !== 0;
|
|
393
|
-
}
|
|
394
|
-
get isBracketed() {
|
|
395
|
-
return (this.data & (1 << 24)) !== 0;
|
|
396
|
-
}
|
|
397
|
-
get isExportEquals() {
|
|
398
|
-
return (this.data & (1 << 24)) !== 0;
|
|
399
|
-
}
|
|
400
|
-
get isNameFirst() {
|
|
401
|
-
return (this.data & (1 << 25)) !== 0;
|
|
402
|
-
}
|
|
403
|
-
get isTypeOf() {
|
|
404
|
-
return (this.data & (1 << 24)) !== 0;
|
|
405
|
-
}
|
|
406
|
-
get isTypeOnly() {
|
|
407
|
-
return (this.data & (1 << 24)) !== 0;
|
|
408
|
-
}
|
|
409
|
-
get multiLine() {
|
|
410
|
-
return (this.data & (1 << 24)) !== 0;
|
|
411
|
-
}
|
|
412
|
-
// ═══ Generated SyntaxKind union property getters ═══
|
|
413
|
-
get keyword() {
|
|
414
|
-
switch (this.kind) {
|
|
415
|
-
case SyntaxKind.ModuleDeclaration:
|
|
416
|
-
return (this.data >> 24) & 0x1 ? SyntaxKind.NamespaceKeyword : SyntaxKind.ModuleKeyword;
|
|
417
|
-
}
|
|
418
|
-
}
|
|
419
|
-
get keywordToken() {
|
|
420
|
-
switch (this.kind) {
|
|
421
|
-
case SyntaxKind.MetaProperty:
|
|
422
|
-
return (this.data >> 24) & 0x1 ? SyntaxKind.NewKeyword : SyntaxKind.ImportKeyword;
|
|
423
|
-
}
|
|
424
|
-
}
|
|
425
|
-
get operator() {
|
|
426
|
-
switch (this.kind) {
|
|
427
|
-
case SyntaxKind.PrefixUnaryExpression: {
|
|
428
|
-
const idx = (this.data >> 24) & 0x7;
|
|
429
|
-
if (idx === 1)
|
|
430
|
-
return SyntaxKind.MinusToken;
|
|
431
|
-
if (idx === 2)
|
|
432
|
-
return SyntaxKind.TildeToken;
|
|
433
|
-
if (idx === 3)
|
|
434
|
-
return SyntaxKind.ExclamationToken;
|
|
435
|
-
if (idx === 4)
|
|
436
|
-
return SyntaxKind.PlusPlusToken;
|
|
437
|
-
if (idx === 5)
|
|
438
|
-
return SyntaxKind.MinusMinusToken;
|
|
439
|
-
return SyntaxKind.PlusToken;
|
|
440
|
-
}
|
|
441
|
-
case SyntaxKind.PostfixUnaryExpression:
|
|
442
|
-
return (this.data >> 24) & 0x1 ? SyntaxKind.MinusMinusToken : SyntaxKind.PlusPlusToken;
|
|
443
|
-
case SyntaxKind.TypeOperator: {
|
|
444
|
-
const idx = (this.data >> 24) & 0x3;
|
|
445
|
-
if (idx === 1)
|
|
446
|
-
return SyntaxKind.ReadonlyKeyword;
|
|
447
|
-
if (idx === 2)
|
|
448
|
-
return SyntaxKind.UniqueKeyword;
|
|
449
|
-
return SyntaxKind.KeyOfKeyword;
|
|
450
|
-
}
|
|
451
|
-
}
|
|
452
|
-
}
|
|
453
|
-
get phaseModifier() {
|
|
454
|
-
switch (this.kind) {
|
|
455
|
-
case SyntaxKind.ImportClause: {
|
|
456
|
-
const idx = (this.data >> 24) & 0x3;
|
|
457
|
-
if (idx === 0)
|
|
458
|
-
return undefined;
|
|
459
|
-
return idx === 1 ? SyntaxKind.TypeKeyword : idx === 2 ? SyntaxKind.DeferKeyword : undefined;
|
|
460
|
-
}
|
|
461
|
-
}
|
|
462
|
-
}
|
|
463
|
-
get token() {
|
|
464
|
-
switch (this.kind) {
|
|
465
|
-
case SyntaxKind.HeritageClause:
|
|
466
|
-
return (this.data >> 24) & 0x1 ? SyntaxKind.ImplementsKeyword : SyntaxKind.ExtendsKeyword;
|
|
467
|
-
case SyntaxKind.ImportAttributes:
|
|
468
|
-
return (this.data >> 25) & 0x1 ? SyntaxKind.AssertKeyword : SyntaxKind.WithKeyword;
|
|
469
|
-
}
|
|
470
|
-
}
|
|
471
|
-
get templateFlags() {
|
|
472
|
-
switch (this.kind) {
|
|
473
|
-
case SyntaxKind.TemplateHead:
|
|
474
|
-
case SyntaxKind.TemplateMiddle:
|
|
475
|
-
case SyntaxKind.TemplateTail:
|
|
476
|
-
const extendedDataOffset = this.sourceFile._offsetExtendedData + (this.data & NODE_EXTENDED_DATA_MASK);
|
|
477
|
-
return this.view.getUint32(extendedDataOffset + 8, true);
|
|
478
|
-
}
|
|
479
|
-
}
|
|
480
|
-
get tokenFlags() {
|
|
481
|
-
switch (this.kind) {
|
|
482
|
-
case SyntaxKind.StringLiteral:
|
|
483
|
-
case SyntaxKind.NumericLiteral:
|
|
484
|
-
case SyntaxKind.BigIntLiteral:
|
|
485
|
-
case SyntaxKind.RegularExpressionLiteral:
|
|
486
|
-
const extendedDataOffset = this.sourceFile._offsetExtendedData + (this.data & NODE_EXTENDED_DATA_MASK);
|
|
487
|
-
return this.view.getUint32(extendedDataOffset + 4, true);
|
|
488
|
-
default:
|
|
489
|
-
return 0;
|
|
490
|
-
}
|
|
491
|
-
}
|
|
492
|
-
// ═══ Generated child property getters ═══
|
|
493
|
-
get argument() {
|
|
494
|
-
return this.getNamedChild("argument");
|
|
495
|
-
}
|
|
496
|
-
get argumentExpression() {
|
|
497
|
-
return this.getNamedChild("argumentExpression");
|
|
498
|
-
}
|
|
499
|
-
get arguments() {
|
|
500
|
-
return this.getNamedChild("arguments");
|
|
501
|
-
}
|
|
502
|
-
get assertsModifier() {
|
|
503
|
-
return this.getNamedChild("assertsModifier");
|
|
504
|
-
}
|
|
505
|
-
get asteriskToken() {
|
|
506
|
-
return this.getNamedChild("asteriskToken");
|
|
507
|
-
}
|
|
508
|
-
get attributes() {
|
|
509
|
-
return this.getNamedChild("attributes");
|
|
510
|
-
}
|
|
511
|
-
get awaitModifier() {
|
|
512
|
-
return this.getNamedChild("awaitModifier");
|
|
513
|
-
}
|
|
514
|
-
get block() {
|
|
515
|
-
return this.getNamedChild("block");
|
|
516
|
-
}
|
|
517
|
-
get body() {
|
|
518
|
-
return this.getNamedChild("body");
|
|
519
|
-
}
|
|
520
|
-
get caseBlock() {
|
|
521
|
-
return this.getNamedChild("caseBlock");
|
|
522
|
-
}
|
|
523
|
-
get catchClause() {
|
|
524
|
-
return this.getNamedChild("catchClause");
|
|
525
|
-
}
|
|
526
|
-
get checkType() {
|
|
527
|
-
return this.getNamedChild("checkType");
|
|
528
|
-
}
|
|
529
|
-
get children() {
|
|
530
|
-
return this.getNamedChild("children");
|
|
531
|
-
}
|
|
532
|
-
get className() {
|
|
533
|
-
return this.getNamedChild("className");
|
|
534
|
-
}
|
|
535
|
-
get clauses() {
|
|
536
|
-
return this.getNamedChild("clauses");
|
|
537
|
-
}
|
|
538
|
-
get closingElement() {
|
|
539
|
-
return this.getNamedChild("closingElement");
|
|
540
|
-
}
|
|
541
|
-
get closingFragment() {
|
|
542
|
-
return this.getNamedChild("closingFragment");
|
|
543
|
-
}
|
|
544
|
-
get colonToken() {
|
|
545
|
-
return this.getNamedChild("colonToken");
|
|
546
|
-
}
|
|
547
|
-
get comment() {
|
|
548
|
-
return this.getNamedChild("comment");
|
|
549
|
-
}
|
|
550
|
-
get condition() {
|
|
551
|
-
return this.getNamedChild("condition");
|
|
552
|
-
}
|
|
553
|
-
get constraint() {
|
|
554
|
-
return this.getNamedChild("constraint");
|
|
555
|
-
}
|
|
556
|
-
get declarationList() {
|
|
557
|
-
return this.getNamedChild("declarationList");
|
|
558
|
-
}
|
|
559
|
-
get declarations() {
|
|
560
|
-
return this.getNamedChild("declarations");
|
|
561
|
-
}
|
|
562
|
-
get defaultType() {
|
|
563
|
-
return this.getNamedChild("defaultType");
|
|
564
|
-
}
|
|
565
|
-
get dotDotDotToken() {
|
|
566
|
-
return this.getNamedChild("dotDotDotToken");
|
|
567
|
-
}
|
|
568
|
-
get elements() {
|
|
569
|
-
return this.getNamedChild("elements");
|
|
570
|
-
}
|
|
571
|
-
get elementType() {
|
|
572
|
-
return this.getNamedChild("elementType");
|
|
573
|
-
}
|
|
574
|
-
get elseStatement() {
|
|
575
|
-
return this.getNamedChild("elseStatement");
|
|
576
|
-
}
|
|
577
|
-
get endOfFileToken() {
|
|
578
|
-
return this.getNamedChild("endOfFileToken");
|
|
579
|
-
}
|
|
580
|
-
get equalsGreaterThanToken() {
|
|
581
|
-
return this.getNamedChild("equalsGreaterThanToken");
|
|
582
|
-
}
|
|
583
|
-
get equalsToken() {
|
|
584
|
-
return this.getNamedChild("equalsToken");
|
|
585
|
-
}
|
|
586
|
-
get exclamationToken() {
|
|
587
|
-
return this.getNamedChild("exclamationToken");
|
|
588
|
-
}
|
|
589
|
-
get exportClause() {
|
|
590
|
-
return this.getNamedChild("exportClause");
|
|
591
|
-
}
|
|
592
|
-
get expression() {
|
|
593
|
-
return this.getNamedChild("expression");
|
|
594
|
-
}
|
|
595
|
-
get exprName() {
|
|
596
|
-
return this.getNamedChild("exprName");
|
|
597
|
-
}
|
|
598
|
-
get extendsType() {
|
|
599
|
-
return this.getNamedChild("extendsType");
|
|
600
|
-
}
|
|
601
|
-
get falseType() {
|
|
602
|
-
return this.getNamedChild("falseType");
|
|
603
|
-
}
|
|
604
|
-
get finallyBlock() {
|
|
605
|
-
return this.getNamedChild("finallyBlock");
|
|
606
|
-
}
|
|
607
|
-
get head() {
|
|
608
|
-
return this.getNamedChild("head");
|
|
609
|
-
}
|
|
610
|
-
get heritageClauses() {
|
|
611
|
-
return this.getNamedChild("heritageClauses");
|
|
612
|
-
}
|
|
613
|
-
get importClause() {
|
|
614
|
-
return this.getNamedChild("importClause");
|
|
615
|
-
}
|
|
616
|
-
get incrementor() {
|
|
617
|
-
return this.getNamedChild("incrementor");
|
|
618
|
-
}
|
|
619
|
-
get indexType() {
|
|
620
|
-
return this.getNamedChild("indexType");
|
|
621
|
-
}
|
|
622
|
-
get initializer() {
|
|
623
|
-
return this.getNamedChild("initializer");
|
|
624
|
-
}
|
|
625
|
-
get jsdocPropertyTags() {
|
|
626
|
-
return this.getNamedChild("jsdocPropertyTags");
|
|
627
|
-
}
|
|
628
|
-
get label() {
|
|
629
|
-
return this.getNamedChild("label");
|
|
630
|
-
}
|
|
631
|
-
get left() {
|
|
632
|
-
return this.getNamedChild("left");
|
|
633
|
-
}
|
|
634
|
-
get literal() {
|
|
635
|
-
return this.getNamedChild("literal");
|
|
636
|
-
}
|
|
637
|
-
get members() {
|
|
638
|
-
return this.getNamedChild("members");
|
|
639
|
-
}
|
|
640
|
-
get modifiers() {
|
|
641
|
-
return this.getNamedChild("modifiers");
|
|
642
|
-
}
|
|
643
|
-
get moduleReference() {
|
|
644
|
-
return this.getNamedChild("moduleReference");
|
|
645
|
-
}
|
|
646
|
-
get moduleSpecifier() {
|
|
647
|
-
return this.getNamedChild("moduleSpecifier");
|
|
648
|
-
}
|
|
649
|
-
get name() {
|
|
650
|
-
return this.getNamedChild("name");
|
|
651
|
-
}
|
|
652
|
-
get namedBindings() {
|
|
653
|
-
return this.getNamedChild("namedBindings");
|
|
654
|
-
}
|
|
655
|
-
get nameExpression() {
|
|
656
|
-
return this.getNamedChild("nameExpression");
|
|
657
|
-
}
|
|
658
|
-
get namespace() {
|
|
659
|
-
return this.getNamedChild("namespace");
|
|
660
|
-
}
|
|
661
|
-
get nameType() {
|
|
662
|
-
return this.getNamedChild("nameType");
|
|
663
|
-
}
|
|
664
|
-
get objectAssignmentInitializer() {
|
|
665
|
-
return this.getNamedChild("objectAssignmentInitializer");
|
|
666
|
-
}
|
|
667
|
-
get objectType() {
|
|
668
|
-
return this.getNamedChild("objectType");
|
|
669
|
-
}
|
|
670
|
-
get openingElement() {
|
|
671
|
-
return this.getNamedChild("openingElement");
|
|
672
|
-
}
|
|
673
|
-
get openingFragment() {
|
|
674
|
-
return this.getNamedChild("openingFragment");
|
|
675
|
-
}
|
|
676
|
-
get operand() {
|
|
677
|
-
return this.getNamedChild("operand");
|
|
678
|
-
}
|
|
679
|
-
get operatorToken() {
|
|
680
|
-
return this.getNamedChild("operatorToken");
|
|
681
|
-
}
|
|
682
|
-
get parameterName() {
|
|
683
|
-
return this.getNamedChild("parameterName");
|
|
684
|
-
}
|
|
685
|
-
get parameters() {
|
|
686
|
-
return this.getNamedChild("parameters");
|
|
687
|
-
}
|
|
688
|
-
get postfixToken() {
|
|
689
|
-
return this.getNamedChild("postfixToken");
|
|
690
|
-
}
|
|
691
|
-
get properties() {
|
|
692
|
-
return this.getNamedChild("properties");
|
|
693
|
-
}
|
|
694
|
-
get propertyName() {
|
|
695
|
-
return this.getNamedChild("propertyName");
|
|
696
|
-
}
|
|
697
|
-
get qualifier() {
|
|
698
|
-
return this.getNamedChild("qualifier");
|
|
699
|
-
}
|
|
700
|
-
get questionDotToken() {
|
|
701
|
-
return this.getNamedChild("questionDotToken");
|
|
702
|
-
}
|
|
703
|
-
get questionToken() {
|
|
704
|
-
return this.getNamedChild("questionToken");
|
|
705
|
-
}
|
|
706
|
-
get readonlyToken() {
|
|
707
|
-
return this.getNamedChild("readonlyToken");
|
|
708
|
-
}
|
|
709
|
-
get right() {
|
|
710
|
-
return this.getNamedChild("right");
|
|
711
|
-
}
|
|
712
|
-
get statement() {
|
|
713
|
-
return this.getNamedChild("statement");
|
|
714
|
-
}
|
|
715
|
-
get statements() {
|
|
716
|
-
return this.getNamedChild("statements");
|
|
717
|
-
}
|
|
718
|
-
get tag() {
|
|
719
|
-
return this.getNamedChild("tag");
|
|
720
|
-
}
|
|
721
|
-
get tagName() {
|
|
722
|
-
return this.getNamedChild("tagName");
|
|
723
|
-
}
|
|
724
|
-
get tags() {
|
|
725
|
-
return this.getNamedChild("tags");
|
|
726
|
-
}
|
|
727
|
-
get template() {
|
|
728
|
-
return this.getNamedChild("template");
|
|
729
|
-
}
|
|
730
|
-
get templateSpans() {
|
|
731
|
-
return this.getNamedChild("templateSpans");
|
|
732
|
-
}
|
|
733
|
-
get thenStatement() {
|
|
734
|
-
return this.getNamedChild("thenStatement");
|
|
735
|
-
}
|
|
736
|
-
get thisArg() {
|
|
737
|
-
return this.getNamedChild("thisArg");
|
|
738
|
-
}
|
|
739
|
-
get trueType() {
|
|
740
|
-
return this.getNamedChild("trueType");
|
|
741
|
-
}
|
|
742
|
-
get tryBlock() {
|
|
743
|
-
return this.getNamedChild("tryBlock");
|
|
744
|
-
}
|
|
745
|
-
get tupleNameSource() {
|
|
746
|
-
return this.getNamedChild("tupleNameSource");
|
|
747
|
-
}
|
|
748
|
-
get type() {
|
|
749
|
-
return this.getNamedChild("type");
|
|
750
|
-
}
|
|
751
|
-
get typeArguments() {
|
|
752
|
-
return this.getNamedChild("typeArguments");
|
|
753
|
-
}
|
|
754
|
-
get typeExpression() {
|
|
755
|
-
return this.getNamedChild("typeExpression");
|
|
756
|
-
}
|
|
757
|
-
get typeName() {
|
|
758
|
-
return this.getNamedChild("typeName");
|
|
759
|
-
}
|
|
760
|
-
get typeParameter() {
|
|
761
|
-
return this.getNamedChild("typeParameter");
|
|
762
|
-
}
|
|
763
|
-
get typeParameters() {
|
|
764
|
-
return this.getNamedChild("typeParameters");
|
|
765
|
-
}
|
|
766
|
-
get types() {
|
|
767
|
-
return this.getNamedChild("types");
|
|
768
|
-
}
|
|
769
|
-
get value() {
|
|
770
|
-
return this.getNamedChild("value");
|
|
771
|
-
}
|
|
772
|
-
get variableDeclaration() {
|
|
773
|
-
return this.getNamedChild("variableDeclaration");
|
|
774
|
-
}
|
|
775
|
-
get whenFalse() {
|
|
776
|
-
return this.getNamedChild("whenFalse");
|
|
777
|
-
}
|
|
778
|
-
get whenTrue() {
|
|
779
|
-
return this.getNamedChild("whenTrue");
|
|
780
|
-
}
|
|
781
|
-
// ═══ Generated string property getters ═══
|
|
782
|
-
get text() {
|
|
783
|
-
switch (this.kind) {
|
|
784
|
-
case SyntaxKind.Identifier:
|
|
785
|
-
case SyntaxKind.PrivateIdentifier:
|
|
786
|
-
case SyntaxKind.JsxText:
|
|
787
|
-
case SyntaxKind.JSDocText:
|
|
788
|
-
case SyntaxKind.JSDocLink:
|
|
789
|
-
case SyntaxKind.JSDocLinkPlain:
|
|
790
|
-
case SyntaxKind.JSDocLinkCode: {
|
|
791
|
-
const stringIndex = this.data & NODE_STRING_INDEX_MASK;
|
|
792
|
-
return this.getString(stringIndex);
|
|
793
|
-
}
|
|
794
|
-
case SyntaxKind.StringLiteral:
|
|
795
|
-
case SyntaxKind.NumericLiteral:
|
|
796
|
-
case SyntaxKind.BigIntLiteral:
|
|
797
|
-
case SyntaxKind.RegularExpressionLiteral:
|
|
798
|
-
case SyntaxKind.NoSubstitutionTemplateLiteral:
|
|
799
|
-
case SyntaxKind.TemplateHead:
|
|
800
|
-
case SyntaxKind.TemplateMiddle:
|
|
801
|
-
case SyntaxKind.TemplateTail:
|
|
802
|
-
case SyntaxKind.SourceFile: {
|
|
803
|
-
const extendedDataOffset = this.sourceFile._offsetExtendedData + (this.data & NODE_EXTENDED_DATA_MASK);
|
|
804
|
-
const stringIndex = this.view.getUint32(extendedDataOffset, true);
|
|
805
|
-
return this.getString(stringIndex);
|
|
806
|
-
}
|
|
807
|
-
}
|
|
808
|
-
}
|
|
809
|
-
get rawText() {
|
|
810
|
-
switch (this.kind) {
|
|
811
|
-
case SyntaxKind.TemplateHead:
|
|
812
|
-
case SyntaxKind.TemplateMiddle:
|
|
813
|
-
case SyntaxKind.TemplateTail:
|
|
814
|
-
const extendedDataOffset = this.sourceFile._offsetExtendedData + (this.data & NODE_EXTENDED_DATA_MASK);
|
|
815
|
-
const stringIndex = this.view.getUint32(extendedDataOffset + 4, true);
|
|
816
|
-
return this.getString(stringIndex);
|
|
817
|
-
}
|
|
818
|
-
}
|
|
819
|
-
// ═══ Generated extended data property getters ═══
|
|
820
|
-
// ═══ Other property getters ═══
|
|
821
|
-
get flags() {
|
|
822
|
-
return this.view.getUint32(this._byteIndex + NODE_OFFSET_FLAGS, true);
|
|
823
|
-
}
|
|
824
|
-
get modifierFlags() {
|
|
825
|
-
const mods = this.modifiers;
|
|
826
|
-
if (!mods)
|
|
827
|
-
return ModifierFlags.None;
|
|
828
|
-
let flags = ModifierFlags.None;
|
|
829
|
-
for (const mod of mods) {
|
|
830
|
-
flags |= modifierToFlag(mod.kind);
|
|
831
|
-
}
|
|
832
|
-
return flags;
|
|
833
|
-
}
|
|
834
|
-
}
|
|
835
|
-
//# sourceMappingURL=node.generated.js.map
|