@zzzen/pyright-internal 1.2.0-dev.20240811 → 1.2.0-dev.20240825
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/dist/analyzer/analyzerFileInfo.d.ts +1 -0
- package/dist/analyzer/analyzerFileInfo.js +1 -1
- package/dist/analyzer/analyzerFileInfo.js.map +1 -1
- package/dist/analyzer/checker.js +4 -4
- package/dist/analyzer/checker.js.map +1 -1
- package/dist/analyzer/codeFlowEngine.js +16 -1
- package/dist/analyzer/codeFlowEngine.js.map +1 -1
- package/dist/analyzer/constraintSolution.d.ts +1 -2
- package/dist/analyzer/constraintSolution.js +1 -4
- package/dist/analyzer/constraintSolution.js.map +1 -1
- package/dist/analyzer/constraintSolver.js +3 -3
- package/dist/analyzer/constraintSolver.js.map +1 -1
- package/dist/analyzer/constraintTracker.js.map +1 -1
- package/dist/analyzer/constructorTransform.d.ts +1 -1
- package/dist/analyzer/constructorTransform.js +8 -8
- package/dist/analyzer/constructorTransform.js.map +1 -1
- package/dist/analyzer/constructors.js +9 -7
- package/dist/analyzer/constructors.js.map +1 -1
- package/dist/analyzer/dataClasses.js +10 -2
- package/dist/analyzer/dataClasses.js.map +1 -1
- package/dist/analyzer/declarationUtils.d.ts +1 -1
- package/dist/analyzer/declarationUtils.js +9 -2
- package/dist/analyzer/declarationUtils.js.map +1 -1
- package/dist/analyzer/enums.js +1 -1
- package/dist/analyzer/enums.js.map +1 -1
- package/dist/analyzer/importResolver.d.ts +1 -1
- package/dist/analyzer/importResolver.js +3 -3
- package/dist/analyzer/importResolver.js.map +1 -1
- package/dist/analyzer/operations.js +136 -117
- package/dist/analyzer/operations.js.map +1 -1
- package/dist/analyzer/parseTreeUtils.js +1 -1
- package/dist/analyzer/parseTreeUtils.js.map +1 -1
- package/dist/analyzer/parseTreeWalker.d.ts +2 -2
- package/dist/analyzer/parseTreeWalker.js +5 -5
- package/dist/analyzer/parseTreeWalker.js.map +1 -1
- package/dist/analyzer/protocols.js +29 -20
- package/dist/analyzer/protocols.js.map +1 -1
- package/dist/analyzer/pythonPathUtils.js +2 -1
- package/dist/analyzer/pythonPathUtils.js.map +1 -1
- package/dist/analyzer/service.d.ts +1 -1
- package/dist/analyzer/service.js +41 -42
- package/dist/analyzer/service.js.map +1 -1
- package/dist/analyzer/sourceFile.d.ts +2 -0
- package/dist/analyzer/sourceFile.js +21 -0
- package/dist/analyzer/sourceFile.js.map +1 -1
- package/dist/analyzer/staticExpressions.js +9 -9
- package/dist/analyzer/staticExpressions.js.map +1 -1
- package/dist/analyzer/tuples.js +3 -3
- package/dist/analyzer/tuples.js.map +1 -1
- package/dist/analyzer/typeEvaluator.js +149 -145
- package/dist/analyzer/typeEvaluator.js.map +1 -1
- package/dist/analyzer/typeEvaluatorTypes.js +1 -1
- package/dist/analyzer/typeEvaluatorTypes.js.map +1 -1
- package/dist/analyzer/typePrinter.js +7 -38
- package/dist/analyzer/typePrinter.js.map +1 -1
- package/dist/analyzer/typePrinterUtils.d.ts +2 -0
- package/dist/analyzer/typePrinterUtils.js +49 -0
- package/dist/analyzer/typePrinterUtils.js.map +1 -0
- package/dist/analyzer/typeUtils.d.ts +4 -3
- package/dist/analyzer/typeUtils.js +25 -10
- package/dist/analyzer/typeUtils.js.map +1 -1
- package/dist/analyzer/types.d.ts +4 -2
- package/dist/analyzer/types.js +6 -3
- package/dist/analyzer/types.js.map +1 -1
- package/dist/backgroundThreadBase.js +0 -7
- package/dist/backgroundThreadBase.js.map +1 -1
- package/dist/common/commandLineOptions.d.ts +4 -0
- package/dist/common/commandLineOptions.js.map +1 -1
- package/dist/common/configOptions.d.ts +5 -2
- package/dist/common/configOptions.js +37 -30
- package/dist/common/configOptions.js.map +1 -1
- package/dist/common/extensions.d.ts +1 -3
- package/dist/common/extensions.js +1 -0
- package/dist/common/extensions.js.map +1 -1
- package/dist/common/fileBasedCancellationUtils.js +3 -0
- package/dist/common/fileBasedCancellationUtils.js.map +1 -1
- package/dist/common/fullAccessHost.d.ts +8 -0
- package/dist/common/fullAccessHost.js +31 -8
- package/dist/common/fullAccessHost.js.map +1 -1
- package/dist/common/languageServerInterface.d.ts +2 -1
- package/dist/common/languageServerInterface.js.map +1 -1
- package/dist/common/lspUtils.d.ts +2 -1
- package/dist/common/lspUtils.js +8 -0
- package/dist/common/lspUtils.js.map +1 -1
- package/dist/common/pythonVersion.d.ts +18 -20
- package/dist/common/pythonVersion.js +96 -84
- package/dist/common/pythonVersion.js.map +1 -1
- package/dist/languageServerBase.d.ts +3 -52
- package/dist/languageServerBase.js +5 -92
- package/dist/languageServerBase.js.map +1 -1
- package/dist/languageService/analyzerServiceExecutor.js +1 -0
- package/dist/languageService/analyzerServiceExecutor.js.map +1 -1
- package/dist/languageService/completionProvider.js +5 -2
- package/dist/languageService/completionProvider.js.map +1 -1
- package/dist/languageService/documentSymbolCollector.js +1 -1
- package/dist/languageService/documentSymbolCollector.js.map +1 -1
- package/dist/languageService/fileWatcherDynamicFeature.d.ts +2 -2
- package/dist/languageService/fileWatcherDynamicFeature.js.map +1 -1
- package/dist/localization/localize.d.ts +12 -8
- package/dist/localization/localize.js +4 -4
- package/dist/localization/localize.js.map +1 -1
- package/dist/localization/package.nls.cs.json +8 -3
- package/dist/localization/package.nls.de.json +8 -3
- package/dist/localization/package.nls.en-us.json +144 -132
- package/dist/localization/package.nls.es.json +9 -4
- package/dist/localization/package.nls.fr.json +10 -5
- package/dist/localization/package.nls.it.json +9 -4
- package/dist/localization/package.nls.ja.json +14 -9
- package/dist/localization/package.nls.ko.json +8 -3
- package/dist/localization/package.nls.pl.json +8 -3
- package/dist/localization/package.nls.pt-br.json +8 -3
- package/dist/localization/package.nls.qps-ploc.json +12 -7
- package/dist/localization/package.nls.ru.json +9 -4
- package/dist/localization/package.nls.tr.json +8 -3
- package/dist/localization/package.nls.zh-cn.json +8 -3
- package/dist/localization/package.nls.zh-tw.json +8 -3
- package/dist/parser/parser.d.ts +7 -6
- package/dist/parser/parser.js +35 -28
- package/dist/parser/parser.js.map +1 -1
- package/dist/parser/tokenizer.js +3 -1
- package/dist/parser/tokenizer.js.map +1 -1
- package/dist/tests/completions.test.js +18 -0
- package/dist/tests/completions.test.js.map +1 -1
- package/dist/tests/config.test.js +7 -16
- package/dist/tests/config.test.js.map +1 -1
- package/dist/tests/fourslash/completions.autoimport.Lib.Found.Type.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.autoimport.Lib.Found.Type.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.autoimport.Lib.Found.Type.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.autoimport.Lib.Found.duplication.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.autoimport.Lib.Found.duplication.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.autoimport.Lib.Found.duplication.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.autoimport.Lib.NotFound.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.autoimport.Lib.NotFound.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.autoimport.Lib.NotFound.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.autoimport.disabled.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.autoimport.disabled.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.autoimport.disabled.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.autoimport.duplicates.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.autoimport.duplicates.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.autoimport.duplicates.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.autoimport.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.autoimport.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.autoimport.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.autoimport.fromImport.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.autoimport.fromImport.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.autoimport.fromImport.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.autoimport.lib.alias.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.autoimport.lib.alias.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.autoimport.lib.alias.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.autoimport.plainText.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.autoimport.plainText.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.autoimport.plainText.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.autoimport.shadow.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.autoimport.shadow.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.autoimport.shadow.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.autoimport.submodule.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.autoimport.submodule.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.autoimport.submodule.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.autoimport.topLevel.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.autoimport.topLevel.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.autoimport.topLevel.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.builtinDocstrings.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.builtinDocstrings.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.builtinDocstrings.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.builtinOverride.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.builtinOverride.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.builtinOverride.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.call.stringLiteral.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.call.stringLiteral.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.call.stringLiteral.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.call.typedDict.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.call.typedDict.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.call.typedDict.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.call.typedDict.list.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.call.typedDict.list.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.call.typedDict.list.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.call.typedDict.states.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.call.typedDict.states.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.call.typedDict.states.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.classVariable.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.classVariable.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.classVariable.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.comment.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.comment.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.comment.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.declNames.class.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.declNames.class.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.declNames.class.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.declNames.exception.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.declNames.exception.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.declNames.exception.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.declNames.for.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.declNames.for.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.declNames.for.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.declNames.importAlias.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.declNames.importAlias.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.declNames.importAlias.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.declNames.lambda.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.declNames.lambda.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.declNames.lambda.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.declNames.method.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.declNames.method.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.declNames.method.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.declNames.overload.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.declNames.overload.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.declNames.overload.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.declNames.topLevelOverload.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.declNames.topLevelOverload.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.declNames.topLevelOverload.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.dictionary.keys.complex.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.dictionary.keys.complex.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.dictionary.keys.complex.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.dictionary.keys.expression.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.dictionary.keys.expression.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.dictionary.keys.expression.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.dictionary.keys.literalTypes.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.dictionary.keys.literalTypes.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.dictionary.keys.literalTypes.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.dictionary.keys.simple.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.dictionary.keys.simple.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.dictionary.keys.simple.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.dictionary.keys.stringLiterals.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.dictionary.keys.stringLiterals.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.dictionary.keys.stringLiterals.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.dictionary.keys.symbols.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.dictionary.keys.symbols.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.dictionary.keys.symbols.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.dunderNew.Inheritance.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.dunderNew.Inheritance.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.dunderNew.Inheritance.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.dunderNew.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.dunderNew.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.dunderNew.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.enums.members.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.enums.members.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.enums.members.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.errorNodes.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.errorNodes.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.errorNodes.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.excluded.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.excluded.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.excluded.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.fstring.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.fstring.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.fstring.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.fstring.stringLiteral.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.fstring.stringLiteral.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.fstring.stringLiteral.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.fuzzyMatching.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.fuzzyMatching.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.fuzzyMatching.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.import.dunderNames.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.import.dunderNames.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.import.dunderNames.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.import.duplicates.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.import.duplicates.fourslash.js +1 -0
- package/dist/tests/fourslash/completions.import.duplicates.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.import.exactMatch.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.import.exactMatch.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.import.exactMatch.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.import.excludeAlreadyImported.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.import.excludeAlreadyImported.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.import.excludeAlreadyImported.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.import.interimFile.fourslash.disabled.d.ts +1 -0
- package/dist/tests/fourslash/completions.import.interimFile.fourslash.disabled.js +2 -1
- package/dist/tests/fourslash/completions.import.interimFile.fourslash.disabled.js.map +1 -1
- package/dist/tests/fourslash/completions.import.privateNoPytyped.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.import.privateNoPytyped.fourslash.js +1 -0
- package/dist/tests/fourslash/completions.import.privateNoPytyped.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.import.pytyped.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.import.pytyped.fourslash.js +1 -0
- package/dist/tests/fourslash/completions.import.pytyped.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.import.pytypedLocal.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.import.pytypedLocal.fourslash.js +1 -0
- package/dist/tests/fourslash/completions.import.pytypedLocal.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.import.submodule.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.import.submodule.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.import.submodule.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.inList.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.inList.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.inList.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.included.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.included.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.included.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.indexer.keys.getitem.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.indexer.keys.getitem.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.indexer.keys.getitem.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.inherited.function.docFromStub.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.inherited.function.docFromStub.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.inherited.function.docFromStub.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.inherited.overload.docFromScrWithStub.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.inherited.overload.docFromScrWithStub.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.inherited.overload.docFromScrWithStub.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.inherited.overload.docFromStub.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.inherited.overload.docFromStub.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.inherited.overload.docFromStub.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.inherited.property.docFromSrc.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.inherited.property.docFromSrc.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.inherited.property.docFromSrc.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.inherited.property.docFromStub.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.inherited.property.docFromStub.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.inherited.property.docFromStub.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.keywords.pythonVersion.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.keywords.pythonVersion.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.keywords.pythonVersion.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.libCodeAndStub.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.libCodeAndStub.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.libCodeAndStub.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.libCodeNoStub.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.libCodeNoStub.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.libCodeNoStub.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.libStub.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.libStub.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.libStub.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.literals.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.literals.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.literals.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.localCode.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.localCode.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.localCode.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.moduleContext.UnknownMemberOnInstance.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.moduleContext.UnknownMemberOnInstance.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.moduleContext.UnknownMemberOnInstance.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.moduleContext.UnknownStaticFunctionOnClass.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.moduleContext.UnknownStaticFunctionOnClass.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.moduleContext.UnknownStaticFunctionOnClass.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.moduleContext.libCodeNoStub.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.moduleContext.libCodeNoStub.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.moduleContext.libCodeNoStub.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.overloads.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.overloads.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.overloads.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.override.default.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.override.default.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.override.default.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.override.default.importStub.d.ts +1 -0
- package/dist/tests/fourslash/completions.override.default.importStub.js +2 -1
- package/dist/tests/fourslash/completions.override.default.importStub.js.map +1 -1
- package/dist/tests/fourslash/completions.override.default.imported.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.override.default.imported.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.override.default.imported.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.override.default.stub.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.override.default.stub.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.override.default.stub.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.override.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.override.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.override.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.override.property.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.override.property.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.override.property.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.override.property.stub.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.override.property.stub.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.override.property.stub.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.override.staticAndClassmethod.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.override.staticAndClassmethod.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.override.staticAndClassmethod.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.override.stub.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.override.stub.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.override.stub.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.override2.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.override2.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.override2.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.parameters.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.parameters.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.parameters.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.params.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.params.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.params.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.parentFolder.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.parentFolder.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.parentFolder.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.parentFolders.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.parentFolders.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.parentFolders.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.plainText.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.plainText.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.plainText.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.private.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.private.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.private.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.property.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.property.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.property.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.propertyDocStrings.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.propertyDocStrings.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.propertyDocStrings.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.self.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.self.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.self.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.stringLiteral.escape.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.stringLiteral.escape.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.stringLiteral.escape.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.stringLiteral.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.stringLiteral.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.stringLiteral.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.triggers.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.triggers.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.triggers.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.typeAlias.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.typeAlias.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.typeAlias.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.typeshed.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.typeshed.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.typeshed.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.vardecls.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.vardecls.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.vardecls.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.variableDocStrings.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.variableDocStrings.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.variableDocStrings.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.wildcardimports.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.wildcardimports.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.wildcardimports.fourslash.js.map +1 -1
- package/dist/tests/fourslash/completions.with.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/completions.with.fourslash.js +2 -1
- package/dist/tests/fourslash/completions.with.fourslash.js.map +1 -1
- package/dist/tests/fourslash/diagnostics.missingModuleSource.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/diagnostics.missingModuleSource.fourslash.js +2 -1
- package/dist/tests/fourslash/diagnostics.missingModuleSource.fourslash.js.map +1 -1
- package/dist/tests/fourslash/findDefinitions.builtinClass.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/findDefinitions.builtinClass.fourslash.js +2 -1
- package/dist/tests/fourslash/findDefinitions.builtinClass.fourslash.js.map +1 -1
- package/dist/tests/fourslash/findDefinitions.classes.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/findDefinitions.classes.fourslash.js +2 -1
- package/dist/tests/fourslash/findDefinitions.classes.fourslash.js.map +1 -1
- package/dist/tests/fourslash/findDefinitions.definitionFilter.preferSource.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/findDefinitions.definitionFilter.preferSource.fourslash.js +2 -1
- package/dist/tests/fourslash/findDefinitions.definitionFilter.preferSource.fourslash.js.map +1 -1
- package/dist/tests/fourslash/findDefinitions.definitionFilter.preferSource.onlyStubs.d.ts +1 -0
- package/dist/tests/fourslash/findDefinitions.definitionFilter.preferSource.onlyStubs.js +2 -1
- package/dist/tests/fourslash/findDefinitions.definitionFilter.preferSource.onlyStubs.js.map +1 -1
- package/dist/tests/fourslash/findDefinitions.definitionFilter.preferStub.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/findDefinitions.definitionFilter.preferStub.fourslash.js +2 -1
- package/dist/tests/fourslash/findDefinitions.definitionFilter.preferStub.fourslash.js.map +1 -1
- package/dist/tests/fourslash/findDefinitions.definitionFilter.preferStub.onlySource.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/findDefinitions.definitionFilter.preferStub.onlySource.fourslash.js +2 -1
- package/dist/tests/fourslash/findDefinitions.definitionFilter.preferStub.onlySource.fourslash.js.map +1 -1
- package/dist/tests/fourslash/findDefinitions.fields.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/findDefinitions.fields.fourslash.js +2 -1
- package/dist/tests/fourslash/findDefinitions.fields.fourslash.js.map +1 -1
- package/dist/tests/fourslash/findDefinitions.functions.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/findDefinitions.functions.fourslash.js +2 -1
- package/dist/tests/fourslash/findDefinitions.functions.fourslash.js.map +1 -1
- package/dist/tests/fourslash/findDefinitions.methods.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/findDefinitions.methods.fourslash.js +2 -1
- package/dist/tests/fourslash/findDefinitions.methods.fourslash.js.map +1 -1
- package/dist/tests/fourslash/findDefinitions.modules.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/findDefinitions.modules.fourslash.js +2 -1
- package/dist/tests/fourslash/findDefinitions.modules.fourslash.js.map +1 -1
- package/dist/tests/fourslash/findDefinitions.namespaceImport.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/findDefinitions.namespaceImport.fourslash.js +2 -1
- package/dist/tests/fourslash/findDefinitions.namespaceImport.fourslash.js.map +1 -1
- package/dist/tests/fourslash/findDefinitions.namespaceImportWithInit.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/findDefinitions.namespaceImportWithInit.fourslash.js +2 -1
- package/dist/tests/fourslash/findDefinitions.namespaceImportWithInit.fourslash.js.map +1 -1
- package/dist/tests/fourslash/findDefinitions.overloads.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/findDefinitions.overloads.fourslash.js +2 -1
- package/dist/tests/fourslash/findDefinitions.overloads.fourslash.js.map +1 -1
- package/dist/tests/fourslash/findDefinitions.parameters.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/findDefinitions.parameters.fourslash.js +2 -1
- package/dist/tests/fourslash/findDefinitions.parameters.fourslash.js.map +1 -1
- package/dist/tests/fourslash/findDefinitions.sourceAndStub.function.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/findDefinitions.sourceAndStub.function.fourslash.js +2 -1
- package/dist/tests/fourslash/findDefinitions.sourceAndStub.function.fourslash.js.map +1 -1
- package/dist/tests/fourslash/findDefinitions.sourceAndStub.innerClass.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/findDefinitions.sourceAndStub.innerClass.fourslash.js +2 -1
- package/dist/tests/fourslash/findDefinitions.sourceAndStub.innerClass.fourslash.js.map +1 -1
- package/dist/tests/fourslash/findDefinitions.sourceAndStub.innerClassMethod.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/findDefinitions.sourceAndStub.innerClassMethod.fourslash.js +2 -1
- package/dist/tests/fourslash/findDefinitions.sourceAndStub.innerClassMethod.fourslash.js.map +1 -1
- package/dist/tests/fourslash/findDefinitions.sourceAndStub.outerClass.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/findDefinitions.sourceAndStub.outerClass.fourslash.js +2 -1
- package/dist/tests/fourslash/findDefinitions.sourceAndStub.outerClass.fourslash.js.map +1 -1
- package/dist/tests/fourslash/findDefinitions.sourceAndStub.outerClassMethod.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/findDefinitions.sourceAndStub.outerClassMethod.fourslash.js +2 -1
- package/dist/tests/fourslash/findDefinitions.sourceAndStub.outerClassMethod.fourslash.js.map +1 -1
- package/dist/tests/fourslash/findDefinitions.sourceAndStub.outerClassPropertyReadOnly.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/findDefinitions.sourceAndStub.outerClassPropertyReadOnly.fourslash.js +2 -1
- package/dist/tests/fourslash/findDefinitions.sourceAndStub.outerClassPropertyReadOnly.fourslash.js.map +1 -1
- package/dist/tests/fourslash/findDefinitions.sourceAndStub.outerClassPropertyReadWrite.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/findDefinitions.sourceAndStub.outerClassPropertyReadWrite.fourslash.js +2 -1
- package/dist/tests/fourslash/findDefinitions.sourceAndStub.outerClassPropertyReadWrite.fourslash.js.map +1 -1
- package/dist/tests/fourslash/findDefinitions.sourceOnly.class.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/findDefinitions.sourceOnly.class.fourslash.js +2 -1
- package/dist/tests/fourslash/findDefinitions.sourceOnly.class.fourslash.js.map +1 -1
- package/dist/tests/fourslash/findDefinitions.sourceOnly.function1.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/findDefinitions.sourceOnly.function1.fourslash.js +2 -1
- package/dist/tests/fourslash/findDefinitions.sourceOnly.function1.fourslash.js.map +1 -1
- package/dist/tests/fourslash/findDefinitions.sourceOnly.function2.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/findDefinitions.sourceOnly.function2.fourslash.js +2 -1
- package/dist/tests/fourslash/findDefinitions.sourceOnly.function2.fourslash.js.map +1 -1
- package/dist/tests/fourslash/findDefinitions.sourceOnly.relativeImport1.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/findDefinitions.sourceOnly.relativeImport1.fourslash.js +2 -1
- package/dist/tests/fourslash/findDefinitions.sourceOnly.relativeImport1.fourslash.js.map +1 -1
- package/dist/tests/fourslash/findDefinitions.sourceOnly.relativeImport2.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/findDefinitions.sourceOnly.relativeImport2.fourslash.js +2 -1
- package/dist/tests/fourslash/findDefinitions.sourceOnly.relativeImport2.fourslash.js.map +1 -1
- package/dist/tests/fourslash/findDefinitions.stubOnly.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/findDefinitions.stubOnly.fourslash.js +2 -1
- package/dist/tests/fourslash/findDefinitions.stubOnly.fourslash.js.map +1 -1
- package/dist/tests/fourslash/findDefinitions.stubPackages.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/findDefinitions.stubPackages.fourslash.js +2 -1
- package/dist/tests/fourslash/findDefinitions.stubPackages.fourslash.js.map +1 -1
- package/dist/tests/fourslash/findDefinitions.typedDict.keys.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/findDefinitions.typedDict.keys.fourslash.js +2 -1
- package/dist/tests/fourslash/findDefinitions.typedDict.keys.fourslash.js.map +1 -1
- package/dist/tests/fourslash/findDefinitions.variables.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/findDefinitions.variables.fourslash.js +2 -1
- package/dist/tests/fourslash/findDefinitions.variables.fourslash.js.map +1 -1
- package/dist/tests/fourslash/findDefinitions.wildcardimports.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/findDefinitions.wildcardimports.fourslash.js +2 -1
- package/dist/tests/fourslash/findDefinitions.wildcardimports.fourslash.js.map +1 -1
- package/dist/tests/fourslash/findTypeDefinitions.builtinClass.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/findTypeDefinitions.builtinClass.fourslash.js +2 -1
- package/dist/tests/fourslash/findTypeDefinitions.builtinClass.fourslash.js.map +1 -1
- package/dist/tests/fourslash/findTypeDefinitions.classes.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/findTypeDefinitions.classes.fourslash.js +2 -1
- package/dist/tests/fourslash/findTypeDefinitions.classes.fourslash.js.map +1 -1
- package/dist/tests/fourslash/findTypeDefinitions.unions.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/findTypeDefinitions.unions.fourslash.js +2 -1
- package/dist/tests/fourslash/findTypeDefinitions.unions.fourslash.js.map +1 -1
- package/dist/tests/fourslash/findallreferences.classPropertyReadWrite.d.ts +1 -0
- package/dist/tests/fourslash/findallreferences.classPropertyReadWrite.js +2 -1
- package/dist/tests/fourslash/findallreferences.classPropertyReadWrite.js.map +1 -1
- package/dist/tests/fourslash/findallreferences.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/findallreferences.fourslash.js +2 -1
- package/dist/tests/fourslash/findallreferences.fourslash.js.map +1 -1
- package/dist/tests/fourslash/findallreferences.importalias.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/findallreferences.importalias.fourslash.js +2 -1
- package/dist/tests/fourslash/findallreferences.importalias.fourslash.js.map +1 -1
- package/dist/tests/fourslash/findallreferences.invokedFromLibrary.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/findallreferences.invokedFromLibrary.fourslash.js +2 -1
- package/dist/tests/fourslash/findallreferences.invokedFromLibrary.fourslash.js.map +1 -1
- package/dist/tests/fourslash/findallreferences.module.nested.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/findallreferences.module.nested.fourslash.js +2 -1
- package/dist/tests/fourslash/findallreferences.module.nested.fourslash.js.map +1 -1
- package/dist/tests/fourslash/findallreferences.modules.duplicated.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/findallreferences.modules.duplicated.fourslash.js +2 -1
- package/dist/tests/fourslash/findallreferences.modules.duplicated.fourslash.js.map +1 -1
- package/dist/tests/fourslash/findallreferences.modules.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/findallreferences.modules.fourslash.js +2 -1
- package/dist/tests/fourslash/findallreferences.modules.fourslash.js.map +1 -1
- package/dist/tests/fourslash/findallreferences.modules.shadow.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/findallreferences.modules.shadow.fourslash.js +2 -1
- package/dist/tests/fourslash/findallreferences.modules.shadow.fourslash.js.map +1 -1
- package/dist/tests/fourslash/findallreferences.openFiles.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/findallreferences.openFiles.fourslash.js +2 -1
- package/dist/tests/fourslash/findallreferences.openFiles.fourslash.js.map +1 -1
- package/dist/tests/fourslash/findallreferences.parameter.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/findallreferences.parameter.fourslash.js +2 -1
- package/dist/tests/fourslash/findallreferences.parameter.fourslash.js.map +1 -1
- package/dist/tests/fourslash/findallreferences.sourceAndStub.class.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/findallreferences.sourceAndStub.class.fourslash.js +2 -1
- package/dist/tests/fourslash/findallreferences.sourceAndStub.class.fourslash.js.map +1 -1
- package/dist/tests/fourslash/findallreferences.sourceAndStub.classMethod.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/findallreferences.sourceAndStub.classMethod.fourslash.js +2 -1
- package/dist/tests/fourslash/findallreferences.sourceAndStub.classMethod.fourslash.js.map +1 -1
- package/dist/tests/fourslash/findallreferences.sourceAndStub.classPropertyReadOnly.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/findallreferences.sourceAndStub.classPropertyReadOnly.fourslash.js +2 -1
- package/dist/tests/fourslash/findallreferences.sourceAndStub.classPropertyReadOnly.fourslash.js.map +1 -1
- package/dist/tests/fourslash/findallreferences.sourceAndStub.classPropertyReadWrite.fourslash.skip.d.ts +1 -0
- package/dist/tests/fourslash/findallreferences.sourceAndStub.classPropertyReadWrite.fourslash.skip.js +2 -1
- package/dist/tests/fourslash/findallreferences.sourceAndStub.classPropertyReadWrite.fourslash.skip.js.map +1 -1
- package/dist/tests/fourslash/findallreferences.sourceAndStub.function.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/findallreferences.sourceAndStub.function.fourslash.js +2 -1
- package/dist/tests/fourslash/findallreferences.sourceAndStub.function.fourslash.js.map +1 -1
- package/dist/tests/fourslash/findallreferences.variable.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/findallreferences.variable.fourslash.js +2 -1
- package/dist/tests/fourslash/findallreferences.variable.fourslash.js.map +1 -1
- package/dist/tests/fourslash/highlightreferences.attributes.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/highlightreferences.attributes.fourslash.js +2 -1
- package/dist/tests/fourslash/highlightreferences.attributes.fourslash.js.map +1 -1
- package/dist/tests/fourslash/hover.async.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/hover.async.fourslash.js +2 -1
- package/dist/tests/fourslash/hover.async.fourslash.js.map +1 -1
- package/dist/tests/fourslash/hover.builtinDocstrings.builtinInheritedByBuiltin.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/hover.builtinDocstrings.builtinInheritedByBuiltin.fourslash.js +2 -1
- package/dist/tests/fourslash/hover.builtinDocstrings.builtinInheritedByBuiltin.fourslash.js.map +1 -1
- package/dist/tests/fourslash/hover.builtinDocstrings.builtinInheritedByUserCode.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/hover.builtinDocstrings.builtinInheritedByUserCode.fourslash.js +2 -1
- package/dist/tests/fourslash/hover.builtinDocstrings.builtinInheritedByUserCode.fourslash.js.map +1 -1
- package/dist/tests/fourslash/hover.builtinDocstrings.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/hover.builtinDocstrings.fourslash.js +2 -1
- package/dist/tests/fourslash/hover.builtinDocstrings.fourslash.js.map +1 -1
- package/dist/tests/fourslash/hover.class.docString.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/hover.class.docString.fourslash.js +2 -1
- package/dist/tests/fourslash/hover.class.docString.fourslash.js.map +1 -1
- package/dist/tests/fourslash/hover.classNoInit.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/hover.classNoInit.fourslash.js +2 -1
- package/dist/tests/fourslash/hover.classNoInit.fourslash.js.map +1 -1
- package/dist/tests/fourslash/hover.docFromSrc.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/hover.docFromSrc.fourslash.js +2 -1
- package/dist/tests/fourslash/hover.docFromSrc.fourslash.js.map +1 -1
- package/dist/tests/fourslash/hover.docFromSrc.pkg-vs-module1.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/hover.docFromSrc.pkg-vs-module1.fourslash.js +2 -1
- package/dist/tests/fourslash/hover.docFromSrc.pkg-vs-module1.fourslash.js.map +1 -1
- package/dist/tests/fourslash/hover.docFromSrc.pkg-vs-module2.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/hover.docFromSrc.pkg-vs-module2.fourslash.js +2 -1
- package/dist/tests/fourslash/hover.docFromSrc.pkg-vs-module2.fourslash.js.map +1 -1
- package/dist/tests/fourslash/hover.docFromSrc.relativeImport1.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/hover.docFromSrc.relativeImport1.fourslash.js +2 -1
- package/dist/tests/fourslash/hover.docFromSrc.relativeImport1.fourslash.js.map +1 -1
- package/dist/tests/fourslash/hover.docFromSrc.relativeImport2.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/hover.docFromSrc.relativeImport2.fourslash.js +2 -1
- package/dist/tests/fourslash/hover.docFromSrc.relativeImport2.fourslash.js.map +1 -1
- package/dist/tests/fourslash/hover.docFromSrc.relativeImport3.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/hover.docFromSrc.relativeImport3.fourslash.js +2 -1
- package/dist/tests/fourslash/hover.docFromSrc.relativeImport3.fourslash.js.map +1 -1
- package/dist/tests/fourslash/hover.docFromSrc.stringFormat.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/hover.docFromSrc.stringFormat.fourslash.js +2 -1
- package/dist/tests/fourslash/hover.docFromSrc.stringFormat.fourslash.js.map +1 -1
- package/dist/tests/fourslash/hover.docFromSrc.stubs-package.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/hover.docFromSrc.stubs-package.fourslash.js +2 -1
- package/dist/tests/fourslash/hover.docFromSrc.stubs-package.fourslash.js.map +1 -1
- package/dist/tests/fourslash/hover.docFromSrc.typeshed.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/hover.docFromSrc.typeshed.fourslash.js +2 -1
- package/dist/tests/fourslash/hover.docFromSrc.typeshed.fourslash.js.map +1 -1
- package/dist/tests/fourslash/hover.docstring.alias.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/hover.docstring.alias.fourslash.js +2 -1
- package/dist/tests/fourslash/hover.docstring.alias.fourslash.js.map +1 -1
- package/dist/tests/fourslash/hover.docstring.links.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/hover.docstring.links.fourslash.js +2 -1
- package/dist/tests/fourslash/hover.docstring.links.fourslash.js.map +1 -1
- package/dist/tests/fourslash/hover.docstring.overloads.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/hover.docstring.overloads.fourslash.js +2 -1
- package/dist/tests/fourslash/hover.docstring.overloads.fourslash.js.map +1 -1
- package/dist/tests/fourslash/hover.docstring.parameter.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/hover.docstring.parameter.fourslash.js +2 -1
- package/dist/tests/fourslash/hover.docstring.parameter.fourslash.js.map +1 -1
- package/dist/tests/fourslash/hover.docstring.split.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/hover.docstring.split.fourslash.js +2 -1
- package/dist/tests/fourslash/hover.docstring.split.fourslash.js.map +1 -1
- package/dist/tests/fourslash/hover.dunderNew.basic.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/hover.dunderNew.basic.fourslash.js +2 -1
- package/dist/tests/fourslash/hover.dunderNew.basic.fourslash.js.map +1 -1
- package/dist/tests/fourslash/hover.dunderNew.inheritance.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/hover.dunderNew.inheritance.fourslash.js +2 -1
- package/dist/tests/fourslash/hover.dunderNew.inheritance.fourslash.js.map +1 -1
- package/dist/tests/fourslash/hover.dunderNew.inheritance2.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/hover.dunderNew.inheritance2.fourslash.js +2 -1
- package/dist/tests/fourslash/hover.dunderNew.inheritance2.fourslash.js.map +1 -1
- package/dist/tests/fourslash/hover.dunderNew.overloads.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/hover.dunderNew.overloads.fourslash.js +2 -1
- package/dist/tests/fourslash/hover.dunderNew.overloads.fourslash.js.map +1 -1
- package/dist/tests/fourslash/hover.dunderNew.withInit.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/hover.dunderNew.withInit.fourslash.js +2 -1
- package/dist/tests/fourslash/hover.dunderNew.withInit.fourslash.js.map +1 -1
- package/dist/tests/fourslash/hover.formatted.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/hover.formatted.fourslash.js +2 -1
- package/dist/tests/fourslash/hover.formatted.fourslash.js.map +1 -1
- package/dist/tests/fourslash/hover.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/hover.fourslash.js +2 -1
- package/dist/tests/fourslash/hover.fourslash.js.map +1 -1
- package/dist/tests/fourslash/hover.import.django.view.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/hover.import.django.view.fourslash.js +2 -1
- package/dist/tests/fourslash/hover.import.django.view.fourslash.js.map +1 -1
- package/dist/tests/fourslash/hover.import.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/hover.import.fourslash.js +2 -1
- package/dist/tests/fourslash/hover.import.fourslash.js.map +1 -1
- package/dist/tests/fourslash/hover.inferred.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/hover.inferred.fourslash.js +2 -1
- package/dist/tests/fourslash/hover.inferred.fourslash.js.map +1 -1
- package/dist/tests/fourslash/hover.inherited.docFromSrc.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/hover.inherited.docFromSrc.fourslash.js +2 -1
- package/dist/tests/fourslash/hover.inherited.docFromSrc.fourslash.js.map +1 -1
- package/dist/tests/fourslash/hover.inherited.docFromSrcWithStub.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/hover.inherited.docFromSrcWithStub.fourslash.js +2 -1
- package/dist/tests/fourslash/hover.inherited.docFromSrcWithStub.fourslash.js.map +1 -1
- package/dist/tests/fourslash/hover.inherited.docFromStub.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/hover.inherited.docFromStub.fourslash.js +2 -1
- package/dist/tests/fourslash/hover.inherited.docFromStub.fourslash.js.map +1 -1
- package/dist/tests/fourslash/hover.inherited.overload.docFromSrcWithStub.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/hover.inherited.overload.docFromSrcWithStub.fourslash.js +2 -1
- package/dist/tests/fourslash/hover.inherited.overload.docFromSrcWithStub.fourslash.js.map +1 -1
- package/dist/tests/fourslash/hover.inherited.overload.docFromStub.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/hover.inherited.overload.docFromStub.fourslash.js +2 -1
- package/dist/tests/fourslash/hover.inherited.overload.docFromStub.fourslash.js.map +1 -1
- package/dist/tests/fourslash/hover.inherited.property.docFromSrcWithStub.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/hover.inherited.property.docFromSrcWithStub.fourslash.js +2 -1
- package/dist/tests/fourslash/hover.inherited.property.docFromSrcWithStub.fourslash.js.map +1 -1
- package/dist/tests/fourslash/hover.inherited.property.docFromStub.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/hover.inherited.property.docFromStub.fourslash.js +2 -1
- package/dist/tests/fourslash/hover.inherited.property.docFromStub.fourslash.js.map +1 -1
- package/dist/tests/fourslash/hover.init.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/hover.init.fourslash.js +2 -1
- package/dist/tests/fourslash/hover.init.fourslash.js.map +1 -1
- package/dist/tests/fourslash/hover.libCodeAndStub.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/hover.libCodeAndStub.fourslash.js +2 -1
- package/dist/tests/fourslash/hover.libCodeAndStub.fourslash.js.map +1 -1
- package/dist/tests/fourslash/hover.libCodeNoStub.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/hover.libCodeNoStub.fourslash.js +2 -1
- package/dist/tests/fourslash/hover.libCodeNoStub.fourslash.js.map +1 -1
- package/dist/tests/fourslash/hover.libStub.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/hover.libStub.fourslash.js +2 -1
- package/dist/tests/fourslash/hover.libStub.fourslash.js.map +1 -1
- package/dist/tests/fourslash/hover.optionalAliasParameter.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/hover.optionalAliasParameter.fourslash.js +2 -1
- package/dist/tests/fourslash/hover.optionalAliasParameter.fourslash.js.map +1 -1
- package/dist/tests/fourslash/hover.overloadedFunction.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/hover.overloadedFunction.fourslash.js +2 -1
- package/dist/tests/fourslash/hover.overloadedFunction.fourslash.js.map +1 -1
- package/dist/tests/fourslash/hover.plainText.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/hover.plainText.fourslash.js +2 -1
- package/dist/tests/fourslash/hover.plainText.fourslash.js.map +1 -1
- package/dist/tests/fourslash/hover.slots.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/hover.slots.fourslash.js +2 -1
- package/dist/tests/fourslash/hover.slots.fourslash.js.map +1 -1
- package/dist/tests/fourslash/hover.typedDict.key.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/hover.typedDict.key.fourslash.js +2 -1
- package/dist/tests/fourslash/hover.typedDict.key.fourslash.js.map +1 -1
- package/dist/tests/fourslash/hover.unpackedTypedDict.key.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/hover.unpackedTypedDict.key.fourslash.js +2 -1
- package/dist/tests/fourslash/hover.unpackedTypedDict.key.fourslash.js.map +1 -1
- package/dist/tests/fourslash/hover.variable.docString.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/hover.variable.docString.fourslash.js +2 -1
- package/dist/tests/fourslash/hover.variable.docString.fourslash.js.map +1 -1
- package/dist/tests/fourslash/hover.wildcardimports.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/hover.wildcardimports.fourslash.js +2 -1
- package/dist/tests/fourslash/hover.wildcardimports.fourslash.js.map +1 -1
- package/dist/tests/fourslash/import.multipart.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/import.multipart.fourslash.js +2 -1
- package/dist/tests/fourslash/import.multipart.fourslash.js.map +1 -1
- package/dist/tests/fourslash/import.nameconflict.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/import.nameconflict.fourslash.js +2 -1
- package/dist/tests/fourslash/import.nameconflict.fourslash.js.map +1 -1
- package/dist/tests/fourslash/import.publicSymbols.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/import.publicSymbols.fourslash.js +2 -1
- package/dist/tests/fourslash/import.publicSymbols.fourslash.js.map +1 -1
- package/dist/tests/fourslash/import.pytyped.dunderAll.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/import.pytyped.dunderAll.fourslash.js +2 -1
- package/dist/tests/fourslash/import.pytyped.dunderAll.fourslash.js.map +1 -1
- package/dist/tests/fourslash/import.pytyped.privateSymbols.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/import.pytyped.privateSymbols.fourslash.js +2 -1
- package/dist/tests/fourslash/import.pytyped.privateSymbols.fourslash.js.map +1 -1
- package/dist/tests/fourslash/import.pytyped.typeCheckingBasic.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/import.pytyped.typeCheckingBasic.fourslash.js +2 -1
- package/dist/tests/fourslash/import.pytyped.typeCheckingBasic.fourslash.js.map +1 -1
- package/dist/tests/fourslash/import.pytyped.typeCheckingOff.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/import.pytyped.typeCheckingOff.fourslash.js +2 -1
- package/dist/tests/fourslash/import.pytyped.typeCheckingOff.fourslash.js.map +1 -1
- package/dist/tests/fourslash/import.wildcard.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/import.wildcard.fourslash.js +2 -1
- package/dist/tests/fourslash/import.wildcard.fourslash.js.map +1 -1
- package/dist/tests/fourslash/importnotresolved.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/importnotresolved.fourslash.js +2 -1
- package/dist/tests/fourslash/importnotresolved.fourslash.js.map +1 -1
- package/dist/tests/fourslash/missingModuleSource.disablingInStrictMode.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/missingModuleSource.disablingInStrictMode.fourslash.js +2 -1
- package/dist/tests/fourslash/missingModuleSource.disablingInStrictMode.fourslash.js.map +1 -1
- package/dist/tests/fourslash/missingModuleSource.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/missingModuleSource.fourslash.js +2 -1
- package/dist/tests/fourslash/missingModuleSource.fourslash.js.map +1 -1
- package/dist/tests/fourslash/missingTypeStub.codeAction.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/missingTypeStub.codeAction.fourslash.js +2 -1
- package/dist/tests/fourslash/missingTypeStub.codeAction.fourslash.js.map +1 -1
- package/dist/tests/fourslash/missingTypeStub.command.multipart.fourslash.d.ts +1 -6
- package/dist/tests/fourslash/missingTypeStub.command.multipart.fourslash.js +2 -1
- package/dist/tests/fourslash/missingTypeStub.command.multipart.fourslash.js.map +1 -1
- package/dist/tests/fourslash/missingTypeStub.command.singlefile.fourslash.d.ts +1 -6
- package/dist/tests/fourslash/missingTypeStub.command.singlefile.fourslash.js +2 -1
- package/dist/tests/fourslash/missingTypeStub.command.singlefile.fourslash.js.map +1 -1
- package/dist/tests/fourslash/missingTypeStub.command.singlepart.fourslash.d.ts +1 -6
- package/dist/tests/fourslash/missingTypeStub.command.singlepart.fourslash.js +2 -1
- package/dist/tests/fourslash/missingTypeStub.command.singlepart.fourslash.js.map +1 -1
- package/dist/tests/fourslash/missingTypeStub.command.trycatchImport.fourslash.d.ts +1 -6
- package/dist/tests/fourslash/missingTypeStub.command.trycatchImport.fourslash.js +2 -1
- package/dist/tests/fourslash/missingTypeStub.command.trycatchImport.fourslash.js.map +1 -1
- package/dist/tests/fourslash/missingTypeStub.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/missingTypeStub.fourslash.js +2 -1
- package/dist/tests/fourslash/missingTypeStub.fourslash.js.map +1 -1
- package/dist/tests/fourslash/missingTypeStub.invokeCodeAction.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/missingTypeStub.invokeCodeAction.fourslash.js +2 -1
- package/dist/tests/fourslash/missingTypeStub.invokeCodeAction.fourslash.js.map +1 -1
- package/dist/tests/fourslash/noerrors.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/noerrors.fourslash.js +2 -1
- package/dist/tests/fourslash/noerrors.fourslash.js.map +1 -1
- package/dist/tests/fourslash/orderImports1.command.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/orderImports1.command.fourslash.js +2 -1
- package/dist/tests/fourslash/orderImports1.command.fourslash.js.map +1 -1
- package/dist/tests/fourslash/orderImports2.command.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/orderImports2.command.fourslash.js +2 -1
- package/dist/tests/fourslash/orderImports2.command.fourslash.js.map +1 -1
- package/dist/tests/fourslash/rename.args.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/rename.args.fourslash.js +2 -1
- package/dist/tests/fourslash/rename.args.fourslash.js.map +1 -1
- package/dist/tests/fourslash/rename.externallyHidden.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/rename.externallyHidden.fourslash.js +2 -1
- package/dist/tests/fourslash/rename.externallyHidden.fourslash.js.map +1 -1
- package/dist/tests/fourslash/rename.externallyHidden.params.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/rename.externallyHidden.params.fourslash.js +2 -1
- package/dist/tests/fourslash/rename.externallyHidden.params.fourslash.js.map +1 -1
- package/dist/tests/fourslash/rename.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/rename.fourslash.js +2 -1
- package/dist/tests/fourslash/rename.fourslash.js.map +1 -1
- package/dist/tests/fourslash/rename.function.untitledFile.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/rename.function.untitledFile.fourslash.js +2 -1
- package/dist/tests/fourslash/rename.function.untitledFile.fourslash.js.map +1 -1
- package/dist/tests/fourslash/rename.init.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/rename.init.fourslash.js +2 -1
- package/dist/tests/fourslash/rename.init.fourslash.js.map +1 -1
- package/dist/tests/fourslash/rename.library.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/rename.library.fourslash.js +2 -1
- package/dist/tests/fourslash/rename.library.fourslash.js.map +1 -1
- package/dist/tests/fourslash/rename.library.sourceAndStub.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/rename.library.sourceAndStub.fourslash.js +2 -1
- package/dist/tests/fourslash/rename.library.sourceAndStub.fourslash.js.map +1 -1
- package/dist/tests/fourslash/rename.multipleDecl.fourslash.d.ts +1 -1
- package/dist/tests/fourslash/rename.multipleDecl.fourslash.js +2 -1
- package/dist/tests/fourslash/rename.multipleDecl.fourslash.js.map +1 -1
- package/dist/tests/fourslash/rename.parens.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/rename.parens.fourslash.js +2 -1
- package/dist/tests/fourslash/rename.parens.fourslash.js.map +1 -1
- package/dist/tests/fourslash/rename.sourceAndStub.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/rename.sourceAndStub.fourslash.js +2 -1
- package/dist/tests/fourslash/rename.sourceAndStub.fourslash.js.map +1 -1
- package/dist/tests/fourslash/rename.string.excluded.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/rename.string.excluded.fourslash.js +2 -1
- package/dist/tests/fourslash/rename.string.excluded.fourslash.js.map +1 -1
- package/dist/tests/fourslash/rename.string.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/rename.string.fourslash.js +2 -1
- package/dist/tests/fourslash/rename.string.fourslash.js.map +1 -1
- package/dist/tests/fourslash/shadowedImports.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/shadowedImports.fourslash.js +2 -1
- package/dist/tests/fourslash/shadowedImports.fourslash.js.map +1 -1
- package/dist/tests/fourslash/showcallhierarchy.incomingCalls.aliasedFunction.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/showcallhierarchy.incomingCalls.aliasedFunction.fourslash.js +2 -1
- package/dist/tests/fourslash/showcallhierarchy.incomingCalls.aliasedFunction.fourslash.js.map +1 -1
- package/dist/tests/fourslash/showcallhierarchy.incomingCalls.aliasedVariable.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/showcallhierarchy.incomingCalls.aliasedVariable.fourslash.js +2 -1
- package/dist/tests/fourslash/showcallhierarchy.incomingCalls.aliasedVariable.fourslash.js.map +1 -1
- package/dist/tests/fourslash/showcallhierarchy.incomingCalls.function.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/showcallhierarchy.incomingCalls.function.fourslash.js +2 -1
- package/dist/tests/fourslash/showcallhierarchy.incomingCalls.function.fourslash.js.map +1 -1
- package/dist/tests/fourslash/showcallhierarchy.outgoingCalls.aliasedFunction1.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/showcallhierarchy.outgoingCalls.aliasedFunction1.fourslash.js +2 -1
- package/dist/tests/fourslash/showcallhierarchy.outgoingCalls.aliasedFunction1.fourslash.js.map +1 -1
- package/dist/tests/fourslash/showcallhierarchy.outgoingCalls.aliasedFunction2.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/showcallhierarchy.outgoingCalls.aliasedFunction2.fourslash.js +2 -1
- package/dist/tests/fourslash/showcallhierarchy.outgoingCalls.aliasedFunction2.fourslash.js.map +1 -1
- package/dist/tests/fourslash/showcallhierarchy.outgoingCalls.function.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/showcallhierarchy.outgoingCalls.function.fourslash.js +2 -1
- package/dist/tests/fourslash/showcallhierarchy.outgoingCalls.function.fourslash.js.map +1 -1
- package/dist/tests/fourslash/signature.builtinDocstrings.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/signature.builtinDocstrings.fourslash.js +2 -1
- package/dist/tests/fourslash/signature.builtinDocstrings.fourslash.js.map +1 -1
- package/dist/tests/fourslash/signature.complicated.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/signature.complicated.fourslash.js +2 -1
- package/dist/tests/fourslash/signature.complicated.fourslash.js.map +1 -1
- package/dist/tests/fourslash/signature.cornercases.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/signature.cornercases.fourslash.js +2 -1
- package/dist/tests/fourslash/signature.cornercases.fourslash.js.map +1 -1
- package/dist/tests/fourslash/signature.docstrings.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/signature.docstrings.fourslash.js +2 -1
- package/dist/tests/fourslash/signature.docstrings.fourslash.js.map +1 -1
- package/dist/tests/fourslash/signature.docstrings.overloaded.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/signature.docstrings.overloaded.fourslash.js +2 -1
- package/dist/tests/fourslash/signature.docstrings.overloaded.fourslash.js.map +1 -1
- package/dist/tests/fourslash/signature.docstrings.wildcardimports.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/signature.docstrings.wildcardimports.fourslash.js +2 -1
- package/dist/tests/fourslash/signature.docstrings.wildcardimports.fourslash.js.map +1 -1
- package/dist/tests/fourslash/signature.dunderNew.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/signature.dunderNew.fourslash.js +2 -1
- package/dist/tests/fourslash/signature.dunderNew.fourslash.js.map +1 -1
- package/dist/tests/fourslash/signature.overload.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/signature.overload.fourslash.js +2 -1
- package/dist/tests/fourslash/signature.overload.fourslash.js.map +1 -1
- package/dist/tests/fourslash/signature.simple.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/signature.simple.fourslash.js +2 -1
- package/dist/tests/fourslash/signature.simple.fourslash.js.map +1 -1
- package/dist/tests/fourslash/typeVerifier.fourslash.d.ts +1 -0
- package/dist/tests/fourslash/typeVerifier.fourslash.js +2 -1
- package/dist/tests/fourslash/typeVerifier.fourslash.js.map +1 -1
- package/dist/tests/harness/fourslash/testState.js +11 -9
- package/dist/tests/harness/fourslash/testState.js.map +1 -1
- package/dist/tests/lsp/languageServerTestUtils.js +1 -1
- package/dist/tests/lsp/languageServerTestUtils.js.map +1 -1
- package/dist/tests/testState.test.js +3 -3
- package/dist/tests/typeEvaluator4.test.js +4 -0
- package/dist/tests/typeEvaluator4.test.js.map +1 -1
- package/dist/tests/typeEvaluator7.test.js +2 -2
- package/dist/workspaceFactory.d.ts +12 -12
- package/dist/workspaceFactory.js +21 -141
- package/dist/workspaceFactory.js.map +1 -1
- package/package.json +5 -4
- package/dist/tests/fourslash/fourslash.d.ts +0 -338
- package/dist/tests/fourslash/fourslash.js +0 -25
- package/dist/tests/fourslash/fourslash.js.map +0 -1
@@ -167,7 +167,7 @@
|
|
167
167
|
"expectedAsAfterException": "Ожидается \"as\" после типа исключения",
|
168
168
|
"expectedAssignRightHandExpr": "Справа от \"=\" ожидается выражение",
|
169
169
|
"expectedBinaryRightHandExpr": "Справа от оператора ожидается выражение",
|
170
|
-
"expectedBoolLiteral": "Ожидается
|
170
|
+
"expectedBoolLiteral": "Ожидается True или False",
|
171
171
|
"expectedCase": "Ожидается оператор case",
|
172
172
|
"expectedClassName": "Ожидается имя класса",
|
173
173
|
"expectedCloseBrace": "Для скобки \"{\" отсутствует закрывающая скобка",
|
@@ -211,6 +211,7 @@
|
|
211
211
|
"expectedYieldExpr": "Ожидаемое выражение в операторе yield",
|
212
212
|
"finalClassIsAbstract": "Класс \"{type}\" помечен как final (окончательный) и должен реализовать все абстрактные символы.",
|
213
213
|
"finalContext": "\"Final\" не допускается в данном контексте",
|
214
|
+
"finalInLoop": "Переменная \"Final\" не может быть назначена внутри цикла",
|
214
215
|
"finalMethodOverride": "Метод \"{name}\" не может переопределять окончательный метод, определенный в классе \"{className}\"",
|
215
216
|
"finalNonMethod": "Функцию \"{name}\" нельзя пометить как @окончательную, так как она не является методом",
|
216
217
|
"finalReassigned": "\"{name}\" объявляется окончательным и не может быть переназначено",
|
@@ -275,6 +276,7 @@
|
|
275
276
|
"isSubclassInvalidType": "Второй аргумент в \"issubclass\" должен быть классом или кортежем классов",
|
276
277
|
"keyValueInSet": "Пары \"ключ-значение\" не допускаются в наборе",
|
277
278
|
"keywordArgInTypeArgument": "Аргументы ключевых слов нельзя использовать в списках аргументов типа",
|
279
|
+
"keywordArgShortcutIllegal": "Ярлык аргумента ключевого слова требует Python 3.14 или более поздней версии",
|
278
280
|
"keywordOnlyAfterArgs": "Разделитель аргументов типа \"только ключевое слово\" не разрешен после параметра \"*\"",
|
279
281
|
"keywordParameterMissing": "За параметром \"*\" должен следовать один или несколько параметров ключевого слова.",
|
280
282
|
"keywordSubscriptIllegal": "Аргументы ключевых слов в нижних индексах не поддерживаются",
|
@@ -354,7 +356,8 @@
|
|
354
356
|
"orPatternMissingName": "Все вложенные шаблоны в шаблоне \"or\" должны быть привязаны к одним и тем же именам",
|
355
357
|
"overlappingKeywordArgs": "Типизированный словарь перекрывается с параметром ключевого слова: {names}",
|
356
358
|
"overlappingOverload": "Перегрузка {obscured} для \"{name}\" никогда не будет использоваться, так как ее параметры перекрывают перегрузку {obscuredBy}",
|
357
|
-
"
|
359
|
+
"overloadAbstractImplMismatch": "Overloads must match abstract status of implementation",
|
360
|
+
"overloadAbstractMismatch": "Overloads must all be abstract or not",
|
358
361
|
"overloadClassMethodInconsistent": "Перегрузки для \"{name}\" используют @classmethod несогласованно",
|
359
362
|
"overloadFinalInconsistencyImpl": "Перегрузка для \"{name}\" помечена как @окончательная, но реализация — нет",
|
360
363
|
"overloadFinalInconsistencyNoImpl": "Перегрузка {index} для \"{name}\" помечена как @окончательная, но перегрузка 1 — нет",
|
@@ -526,6 +529,7 @@
|
|
526
529
|
"typeVarDefaultIllegal": "Для типов переменных по умолчанию требуется версия Python 3.13 или более новая",
|
527
530
|
"typeVarDefaultInvalidTypeVar": "Параметр типа \"{name}\" имеет тип по умолчанию, который ссылается на одну или несколько переменных типа, находящихся вне области",
|
528
531
|
"typeVarFirstArg": "В качестве первого аргумента ожидалось имя TypeVar",
|
532
|
+
"typeVarInvalidForMemberVariable": "Тип атрибута не может использовать переменную \"{name}\" в локальном методе",
|
529
533
|
"typeVarNoMember": "У TypeVar \"{type}\" нет атрибута \"{name}\"",
|
530
534
|
"typeVarNotSubscriptable": "Невозможно взять подстроку от \"{type}\" TypeVar",
|
531
535
|
"typeVarNotUsedByOuterScope": "Переменная типа \"{name}\" не имеет смысла в этом контексте",
|
@@ -608,6 +612,7 @@
|
|
608
612
|
"unpackedTypeVarTupleExpected": "Ожидается распакованный TypeVarTuple; используйте Unpack[{name1}] или *{name2}",
|
609
613
|
"unpackedTypedDictArgument": "Не удалось сопоставить распакованный аргумент TypedDict с параметрами",
|
610
614
|
"unreachableCode": "Код недоступен",
|
615
|
+
"unreachableCodeType": "Анализ типа показывает, что код недоступен",
|
611
616
|
"unreachableExcept": "Предложение Except недоступно, так как исключение уже обработано",
|
612
617
|
"unsupportedDunderAllOperation": "Операция на \"__all__\" не поддерживается, поэтому список экспортируемых символов может быть неправильным",
|
613
618
|
"unusedCallResult": "Результат выражения вызова принадлежит к типу \"{type}\" и не используется. Назначьте переменной \"_\", если это сделано намеренно",
|
@@ -683,12 +688,12 @@
|
|
683
688
|
"memberIsAbstract": "Отсутствует реализация \"{type}.{name}\".",
|
684
689
|
"memberIsAbstractMore": "и еще {{count}}",
|
685
690
|
"memberIsClassVarInProtocol": "\"{name}\" определено как класс ClassVar в протоколе",
|
686
|
-
"memberIsFinalInProtocol": "\"{name}\" помечено в протоколе как Final",
|
687
691
|
"memberIsInitVar": "\"{name}\" является полем только для инициализации",
|
688
692
|
"memberIsInvariant": "Элемент \"{name}\" инвариантен, поскольку помечен как mutable",
|
689
693
|
"memberIsNotClassVarInClass": "Необходимо определить \"{name}\" как ClassVar для совместимости с протоколом.",
|
690
694
|
"memberIsNotClassVarInProtocol": "\"{name}\" не определено как класс ClassVar в протоколе",
|
691
|
-
"
|
695
|
+
"memberIsNotReadOnlyInProtocol": "\"{name}\" is not read-only in protocol",
|
696
|
+
"memberIsReadOnlyInProtocol": "\"{name}\" is read-only in protocol",
|
692
697
|
"memberIsWritableInProtocol": "\"{name}\" доступно для записи в протоколе",
|
693
698
|
"memberSetClassVar": "Атрибут \"{name}\" не может быть назначен через экземпляр класса, так как это ClassVar",
|
694
699
|
"memberTypeMismatch": "\"{name}\" является несовместимым типом",
|
@@ -211,6 +211,7 @@
|
|
211
211
|
"expectedYieldExpr": "Yield deyiminde ifade bekleniyordu",
|
212
212
|
"finalClassIsAbstract": "\"{type}\" sınıfı son olarak işaretlendi ve tüm soyut sembolleri uygulamalıdır",
|
213
213
|
"finalContext": "Bu bağlamda \"Final\" kullanılamaz",
|
214
|
+
"finalInLoop": "Bir döngü içinde “Son” değişkeni atanamaz",
|
214
215
|
"finalMethodOverride": "\"{name}\" yöntemi \"{className}\" sınıfı içinde tanımlanan final metodu geçersiz kılamaz",
|
215
216
|
"finalNonMethod": "\"{name}\" işlevi bir yöntem olmadığından @final olarak işaretlenemez",
|
216
217
|
"finalReassigned": "\"{name}\" Son olarak bildirildi ve yeniden atanamaz",
|
@@ -275,6 +276,7 @@
|
|
275
276
|
"isSubclassInvalidType": "\"issubclass\" için ikinci bağımsız değişken bir sınıf veya sınıflar demeti olmalıdır",
|
276
277
|
"keyValueInSet": "Küme içinde anahtar/değer çiftlerine izin verilmiyor",
|
277
278
|
"keywordArgInTypeArgument": "Anahtar sözcük bağımsız değişkenleri tür bağımsız değişken listelerinde kullanılamaz",
|
279
|
+
"keywordArgShortcutIllegal": "Anahtar sözcük bağımsız değişkeni kısayolu için Python 3.14 veya daha yenisini gereklidir.",
|
278
280
|
"keywordOnlyAfterArgs": "\"*\" parametresinden sonra keyword-only bağımsız değişken ayırıcısı kullanılamaz",
|
279
281
|
"keywordParameterMissing": "Bir veya daha fazla anahtar sözcük parametresi \"*\" parametresini izlemeli",
|
280
282
|
"keywordSubscriptIllegal": "Alt simge içindeki anahtar sözcük bağımsız değişkenleri desteklenmiyor",
|
@@ -354,7 +356,8 @@
|
|
354
356
|
"orPatternMissingName": "Bir \"or\" deseni içindeki tüm alt desenlerde aynı adlar hedeflenmeli",
|
355
357
|
"overlappingKeywordArgs": "Türü belirlenmiş sözlük anahtar sözcük parametresiyle çakışıyor: {names}",
|
356
358
|
"overlappingOverload": "Parametreleri {obscuredBy} aşırı yüklemesi ile çakıştığından \"{name}\" {obscured} aşırı yüklemesi hiçbir zaman kullanılmayacak",
|
357
|
-
"
|
359
|
+
"overloadAbstractImplMismatch": "Overloads must match abstract status of implementation",
|
360
|
+
"overloadAbstractMismatch": "Overloads must all be abstract or not",
|
358
361
|
"overloadClassMethodInconsistent": "\"{name}\" için aşırı yüklemeler, @classmethod yöntemini tutarlı kullanıyor",
|
359
362
|
"overloadFinalInconsistencyImpl": "\"{name}\" için aşırı yükleme @final olarak işaretlendi ancak uygulama işaretlenmedi",
|
360
363
|
"overloadFinalInconsistencyNoImpl": "\"{name}\" için aşırı yükleme {index} @final olarak işaretlendi ancak aşırı yükleme 1 işaretlenmedi",
|
@@ -526,6 +529,7 @@
|
|
526
529
|
"typeVarDefaultIllegal": "Tür değişkeni varsayılan türleri Python 3.13 veya daha yeni bir sürüm gerektirir",
|
527
530
|
"typeVarDefaultInvalidTypeVar": "\"{name}\" tür parametresi, kapsam dışı bir veya daha fazla tür değişkenine başvuran varsayılan bir türe sahip",
|
528
531
|
"typeVarFirstArg": "İlk bağımsız değişken olarak TypeVar adı bekleniyordu",
|
532
|
+
"typeVarInvalidForMemberVariable": "Öznitelik türü, yerel yöntem kapsamına alınan \"{name}\" tür değişkenini kullanamaz",
|
529
533
|
"typeVarNoMember": "TypeVar \"{type}\", \"{name}\" özniteliğine sahip değil",
|
530
534
|
"typeVarNotSubscriptable": "TypeVar \"{type}\" alt yazılabilir değil",
|
531
535
|
"typeVarNotUsedByOuterScope": "\"{name}\" tür değişkeni bu bağlamda bir anlam ifade etmiyor",
|
@@ -608,6 +612,7 @@
|
|
608
612
|
"unpackedTypeVarTupleExpected": "Paketlenmemiş TypeVarTuple bekleniyordu; Unpack[{name1}] veya *{name2} kullanın",
|
609
613
|
"unpackedTypedDictArgument": "Paketlenmemiş TypedDict bağımsız değişkeni parametrelerle eşlenemiyor",
|
610
614
|
"unreachableCode": "Koda ulaşılamıyor",
|
615
|
+
"unreachableCodeType": "Tür analizi koda erişilemediğini gösteriyor",
|
611
616
|
"unreachableExcept": "Özel durum zaten işlenmiş olduğundan özel durum yan tümcesi erişilebilir değil",
|
612
617
|
"unsupportedDunderAllOperation": "\"__all__\" üzerinde işlem desteklenmiyor, bu nedenle dışarı aktarılan sembol listesi yanlış olabilir",
|
613
618
|
"unusedCallResult": "Çağrı ifadesinin sonucu \"{type}\" türünde ve kullanılmıyor; bilerek yapıldıysa \"_\" değişkenine atayın",
|
@@ -683,12 +688,12 @@
|
|
683
688
|
"memberIsAbstract": "\"{type}.{name}\" uygulanmadı",
|
684
689
|
"memberIsAbstractMore": "ve +{count} tane daha...",
|
685
690
|
"memberIsClassVarInProtocol": "\"{name}\", protokolde ClassVar olarak tanımlandı",
|
686
|
-
"memberIsFinalInProtocol": "\"{name}\" protokolde Final olarak işaretlendi",
|
687
691
|
"memberIsInitVar": "\"{name}\" üyesi bir yalnızca init alanıdır",
|
688
692
|
"memberIsInvariant": "\"{name}\" değiştirilebilir olduğundan sabit ayarlanır",
|
689
693
|
"memberIsNotClassVarInClass": "\"{name}\" protokolle uyumlu olması için ClassVar olarak tanımlanmalıdır",
|
690
694
|
"memberIsNotClassVarInProtocol": "\"{name}\" protokolde ClassVar olarak tanımlanmadı",
|
691
|
-
"
|
695
|
+
"memberIsNotReadOnlyInProtocol": "\"{name}\" is not read-only in protocol",
|
696
|
+
"memberIsReadOnlyInProtocol": "\"{name}\" is read-only in protocol",
|
692
697
|
"memberIsWritableInProtocol": "\"{name}\" protokolde yazılabilir",
|
693
698
|
"memberSetClassVar": "\"{name}\" özniteliği bir ClassVar olduğundan sınıf örneği aracılığıyla atanamaz",
|
694
699
|
"memberTypeMismatch": "\"{name}\" uyumsuz bir tür",
|
@@ -211,6 +211,7 @@
|
|
211
211
|
"expectedYieldExpr": "yield 语句中的预期表达式",
|
212
212
|
"finalClassIsAbstract": "类“{type}”被标记为 final,并且必须实现所有抽象符号",
|
213
213
|
"finalContext": "不允许在此上下文中使用 \"Final\"",
|
214
|
+
"finalInLoop": "无法在循环中分配 \"Final\" 变量",
|
214
215
|
"finalMethodOverride": "方法\"{name}\"无法替代在类\"{className}\"中定义的最终方法",
|
215
216
|
"finalNonMethod": "不能将函数“{name}”标记为 @final,因为它不是方法",
|
216
217
|
"finalReassigned": "\"{name}\"声明为 Final,无法重新分配",
|
@@ -275,6 +276,7 @@
|
|
275
276
|
"isSubclassInvalidType": "“issubclass”的第二个参数必须是类的类或元组",
|
276
277
|
"keyValueInSet": "不允许在集内使用键/值对",
|
277
278
|
"keywordArgInTypeArgument": "关键字参数不能在类型参数列表中使用",
|
279
|
+
"keywordArgShortcutIllegal": "关键字参数快捷方式需要 Python 3.14 或更高版本",
|
278
280
|
"keywordOnlyAfterArgs": "“*”参数后不允许使用仅限关键字的参数分隔符",
|
279
281
|
"keywordParameterMissing": "一个或多个关键字参数必须遵循 \"*\"参数",
|
280
282
|
"keywordSubscriptIllegal": "不支持下标中的关键字参数",
|
@@ -354,7 +356,8 @@
|
|
354
356
|
"orPatternMissingName": "“or”模式中的所有子节点必须以相同的名称为目标",
|
355
357
|
"overlappingKeywordArgs": "类型化字典与以下关键字参数重叠: {names}",
|
356
358
|
"overlappingOverload": "永远不会使用“{name}”的重载 {obscured},因为其参数与重载 {obscuredBy} 重叠",
|
357
|
-
"
|
359
|
+
"overloadAbstractImplMismatch": "Overloads must match abstract status of implementation",
|
360
|
+
"overloadAbstractMismatch": "Overloads must all be abstract or not",
|
358
361
|
"overloadClassMethodInconsistent": "“{name}”的重载使用 @classmethod 的方式不一致",
|
359
362
|
"overloadFinalInconsistencyImpl": "“{name}”的重载被标记为 @final,但实施未被标记",
|
360
363
|
"overloadFinalInconsistencyNoImpl": "“{name}”的重载 {index} 被标记为 @final,但重载 1 未被标记",
|
@@ -526,6 +529,7 @@
|
|
526
529
|
"typeVarDefaultIllegal": "类型变量默认类型需要 Python 3.13 或更高版本",
|
527
530
|
"typeVarDefaultInvalidTypeVar": "类型参数“{name}”的默认类型是指超出范围的一个或多个类型变量",
|
528
531
|
"typeVarFirstArg": "TypeVar 作为第一个参数的预期名称",
|
532
|
+
"typeVarInvalidForMemberVariable": "属性类型不能使用作用域为本地方法的类型变量\"{name}\"",
|
529
533
|
"typeVarNoMember": "TypeVar“{type}”没有属性“{name}”",
|
530
534
|
"typeVarNotSubscriptable": "TypeVar“{type}”不可下标",
|
531
535
|
"typeVarNotUsedByOuterScope": "类型变量“{name}”在此上下文中没有意义",
|
@@ -608,6 +612,7 @@
|
|
608
612
|
"unpackedTypeVarTupleExpected": "应为未打包的 TypeVarTuple;使用 Unpack[{name1}] 或 *{name2}",
|
609
613
|
"unpackedTypedDictArgument": "无法将解压缩的 TypedDict 参数与参数匹配",
|
610
614
|
"unreachableCode": "代码无法访问",
|
615
|
+
"unreachableCodeType": "类型分析指示代码不可访问",
|
611
616
|
"unreachableExcept": "无法访问 Except 子句,因为已处理异常",
|
612
617
|
"unsupportedDunderAllOperation": "不支持对“__all__”执行操作,因此导出的符号列表可能不正确",
|
613
618
|
"unusedCallResult": "调用表达式的结果类型为 \"{type}\" 且未使用;如果这是有意为之,则分配给变量 “_”",
|
@@ -683,12 +688,12 @@
|
|
683
688
|
"memberIsAbstract": "未实现“{type}.{name}”",
|
684
689
|
"memberIsAbstractMore": "还有 {count} 个...",
|
685
690
|
"memberIsClassVarInProtocol": "“{name}”在协议中定义为 ClassVar",
|
686
|
-
"memberIsFinalInProtocol": "\"{name}\"在协议中标记为 Final",
|
687
691
|
"memberIsInitVar": "“{name}”是仅限 init 的字段",
|
688
692
|
"memberIsInvariant": "“{name}”是固定的,因为它是可变的",
|
689
693
|
"memberIsNotClassVarInClass": "“{name}”必须定义为 ClassVar 才能与协议兼容",
|
690
694
|
"memberIsNotClassVarInProtocol": "“{name}”未在协议中定义为 ClassVar",
|
691
|
-
"
|
695
|
+
"memberIsNotReadOnlyInProtocol": "\"{name}\" is not read-only in protocol",
|
696
|
+
"memberIsReadOnlyInProtocol": "\"{name}\" is read-only in protocol",
|
692
697
|
"memberIsWritableInProtocol": "“{name}”在协议中是可写入的",
|
693
698
|
"memberSetClassVar": "无法通过类实例分配属性“{name}”,因为它是 ClassVar",
|
694
699
|
"memberTypeMismatch": "\"{name}\"是不兼容的类型",
|
@@ -211,6 +211,7 @@
|
|
211
211
|
"expectedYieldExpr": "yield 陳述式中應有運算式",
|
212
212
|
"finalClassIsAbstract": "類別 \"{type}\" 標示為 Final,且必須實作所有抽象符號",
|
213
213
|
"finalContext": "此內容中不允許 \"Final\"",
|
214
|
+
"finalInLoop": "無法在迴圈內指派 \"Final\" 變數",
|
214
215
|
"finalMethodOverride": "方法 \"{name}\" 不能覆寫類別 \"{className}\" 中定義的 Final 方法",
|
215
216
|
"finalNonMethod": "無法將函式 \"{name}\" 標示為 @final,因為它不是方法",
|
216
217
|
"finalReassigned": "\"{name}\" 已宣告為 Final,因此無法重新指派",
|
@@ -275,6 +276,7 @@
|
|
275
276
|
"isSubclassInvalidType": "\"issubclass\" 的第二個引數必須是類別的類別或 Tuple",
|
276
277
|
"keyValueInSet": "組合內不允許金鑰/值組",
|
277
278
|
"keywordArgInTypeArgument": "關鍵字引數無法用於型別引數清單",
|
279
|
+
"keywordArgShortcutIllegal": "關鍵字引數快速鍵需要 Python 3.14 或更新版本",
|
278
280
|
"keywordOnlyAfterArgs": "\"*\" 參數之後不允許僅限關鍵字的引數分隔符號",
|
279
281
|
"keywordParameterMissing": "一或多個關鍵字參數必須接在 \"*\" 參數後面",
|
280
282
|
"keywordSubscriptIllegal": "不支援下標內的關鍵字引數",
|
@@ -354,7 +356,8 @@
|
|
354
356
|
"orPatternMissingName": "\"or\" 模式內的所有子模式都必須以相同的名稱為目標",
|
355
357
|
"overlappingKeywordArgs": "輸入的字典與關鍵字參數重疊:: {names}",
|
356
358
|
"overlappingOverload": "\"{name}\" 的多載 {obscured} 將永遠不會使用,因為它的參數與多載 {obscuredBy} 重疊",
|
357
|
-
"
|
359
|
+
"overloadAbstractImplMismatch": "Overloads must match abstract status of implementation",
|
360
|
+
"overloadAbstractMismatch": "Overloads must all be abstract or not",
|
358
361
|
"overloadClassMethodInconsistent": "\"{name}\" 的多載不一致地使用 @classmethod",
|
359
362
|
"overloadFinalInconsistencyImpl": "\"{name}\" 的多載已標示為 @final 但未實作",
|
360
363
|
"overloadFinalInconsistencyNoImpl": "\"{name}\" 的多載 {index} 標示為 @final 但多載 1 未標示",
|
@@ -526,6 +529,7 @@
|
|
526
529
|
"typeVarDefaultIllegal": "型別變數預設型別需要 Python 3.13 或較新的版本",
|
527
530
|
"typeVarDefaultInvalidTypeVar": "類型參數 \"{name}\" 的預設類型參考不在範圍的一或多個類型變數",
|
528
531
|
"typeVarFirstArg": "預期為 TypeVar 的名稱作為第一個引數",
|
532
|
+
"typeVarInvalidForMemberVariable": "屬性類型不能使用範圍為 local 方法的類型變數 \"{name}\"",
|
529
533
|
"typeVarNoMember": "TypeVar \"{type}\" 沒有屬性 \"{name}\"",
|
530
534
|
"typeVarNotSubscriptable": "TypeVar \"{type}\" 不能下標",
|
531
535
|
"typeVarNotUsedByOuterScope": "類型變數 \"{name}\" 在此內容中沒有意義",
|
@@ -608,6 +612,7 @@
|
|
608
612
|
"unpackedTypeVarTupleExpected": "預期為解壓縮的 TypeVarTuple; 使用 Unpack[{name1}] 或 *{name2}",
|
609
613
|
"unpackedTypedDictArgument": "無法比對解壓縮的 TypedDict 引數與參數",
|
610
614
|
"unreachableCode": "無法連線到程式碼",
|
615
|
+
"unreachableCodeType": "類型分析指出程式碼無法連線",
|
611
616
|
"unreachableExcept": "無法連接 Except 子句,因為例外已處理",
|
612
617
|
"unsupportedDunderAllOperation": "不支援 \"__all__\" 上的作業,因此匯出的符號清單可能不正確",
|
613
618
|
"unusedCallResult": "呼叫運算式的結果是 \"{type}\" 型別,而且未使用; 如果這是刻意的,則指派給變數 \"_\"",
|
@@ -683,12 +688,12 @@
|
|
683
688
|
"memberIsAbstract": "\"{type}.{name}\" 未實作",
|
684
689
|
"memberIsAbstractMore": "和其他 {count} 人...",
|
685
690
|
"memberIsClassVarInProtocol": "\"{name}\" 定義為通訊協定中的 ClassVar",
|
686
|
-
"memberIsFinalInProtocol": "\"{name}\" 在通訊協定中標示為 Final",
|
687
691
|
"memberIsInitVar": "\"{name}\" 是僅限初始化的欄位",
|
688
692
|
"memberIsInvariant": "\"{name}\" 為不變數,因為它可變動",
|
689
693
|
"memberIsNotClassVarInClass": "\"{name}\" 必須定義為 ClassVar,才能與通訊協定相容",
|
690
694
|
"memberIsNotClassVarInProtocol": "\"{name}\" 未定義為通訊協定中的 ClassVar",
|
691
|
-
"
|
695
|
+
"memberIsNotReadOnlyInProtocol": "\"{name}\" is not read-only in protocol",
|
696
|
+
"memberIsReadOnlyInProtocol": "\"{name}\" is read-only in protocol",
|
692
697
|
"memberIsWritableInProtocol": "\"{name}\" 在通訊協定中是可寫入的",
|
693
698
|
"memberSetClassVar": "無法透過類別執行個體指派屬性 \"{name}\",因為它是 ClassVar",
|
694
699
|
"memberTypeMismatch": "\"{name}\" 是不相容的類型",
|
package/dist/parser/parser.d.ts
CHANGED
@@ -4,7 +4,7 @@ import { DiagnosticSink } from '../common/diagnosticSink';
|
|
4
4
|
import { PythonVersion } from '../common/pythonVersion';
|
5
5
|
import { TextRange } from '../common/textRange';
|
6
6
|
import { TextRangeCollection } from '../common/textRangeCollection';
|
7
|
-
import { ArgumentNode, ExpressionNode, FunctionAnnotationNode, ModuleNameNode, ModuleNode } from './parseNodes';
|
7
|
+
import { ArgumentNode, ExpressionNode, FunctionAnnotationNode, ModuleNameNode, ModuleNode, ParseNode } from './parseNodes';
|
8
8
|
import { TokenizerOutput } from './tokenizer';
|
9
9
|
export declare class ParseOptions {
|
10
10
|
isStubFile: boolean;
|
@@ -27,8 +27,8 @@ export interface ParseFileResults {
|
|
27
27
|
parserOutput: ParserOutput;
|
28
28
|
tokenizerOutput: TokenizerOutput;
|
29
29
|
}
|
30
|
-
export interface ParseExpressionTextResults {
|
31
|
-
parseTree?:
|
30
|
+
export interface ParseExpressionTextResults<T extends ParseNode> {
|
31
|
+
parseTree?: T | undefined;
|
32
32
|
lines: TextRangeCollection<TextRange>;
|
33
33
|
diagnostics: Diagnostic[];
|
34
34
|
}
|
@@ -42,7 +42,7 @@ export interface ArgListResult {
|
|
42
42
|
args: ArgumentNode[];
|
43
43
|
trailingComma: boolean;
|
44
44
|
}
|
45
|
-
declare const enum ParseTextMode {
|
45
|
+
export declare const enum ParseTextMode {
|
46
46
|
Expression = 0,
|
47
47
|
VariableAnnotation = 1,
|
48
48
|
FunctionAnnotation = 2
|
@@ -68,7 +68,9 @@ export declare class Parser {
|
|
68
68
|
private _typingSymbolAliases;
|
69
69
|
private _maxChildDepthMap;
|
70
70
|
parseSourceFile(fileContents: string, parseOptions: ParseOptions, diagSink: DiagnosticSink): ParseFileResults;
|
71
|
-
parseTextExpression(fileContents: string, textOffset: number, textLength: number, parseOptions: ParseOptions, parseTextMode
|
71
|
+
parseTextExpression(fileContents: string, textOffset: number, textLength: number, parseOptions: ParseOptions, parseTextMode: ParseTextMode.Expression, initialParenDepth?: number, typingSymbolAliases?: Map<string, string>): ParseExpressionTextResults<ExpressionNode>;
|
72
|
+
parseTextExpression(fileContents: string, textOffset: number, textLength: number, parseOptions: ParseOptions, parseTextMode: ParseTextMode.VariableAnnotation, initialParenDepth?: number, typingSymbolAliases?: Map<string, string>): ParseExpressionTextResults<ExpressionNode>;
|
73
|
+
parseTextExpression(fileContents: string, textOffset: number, textLength: number, parseOptions: ParseOptions, parseTextMode: ParseTextMode.FunctionAnnotation, initialParenDepth?: number, typingSymbolAliases?: Map<string, string>): ParseExpressionTextResults<FunctionAnnotationNode>;
|
72
74
|
private _startNewParse;
|
73
75
|
private _parseStatement;
|
74
76
|
private _parseAsyncStatement;
|
@@ -197,4 +199,3 @@ export declare class Parser {
|
|
197
199
|
private _suppressErrors;
|
198
200
|
private _addSyntaxError;
|
199
201
|
}
|
200
|
-
export {};
|
package/dist/parser/parser.js
CHANGED
@@ -35,7 +35,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
35
35
|
return result;
|
36
36
|
};
|
37
37
|
Object.defineProperty(exports, "__esModule", { value: true });
|
38
|
-
exports.Parser = exports.ParseOptions = void 0;
|
38
|
+
exports.Parser = exports.ParseTextMode = exports.ParseOptions = void 0;
|
39
39
|
const sourceFile_1 = require("../analyzer/sourceFile");
|
40
40
|
const collectionUtils_1 = require("../common/collectionUtils");
|
41
41
|
const debug_1 = require("../common/debug");
|
@@ -66,7 +66,7 @@ var ParseTextMode;
|
|
66
66
|
ParseTextMode[ParseTextMode["Expression"] = 0] = "Expression";
|
67
67
|
ParseTextMode[ParseTextMode["VariableAnnotation"] = 1] = "VariableAnnotation";
|
68
68
|
ParseTextMode[ParseTextMode["FunctionAnnotation"] = 2] = "FunctionAnnotation";
|
69
|
-
})(ParseTextMode || (ParseTextMode = {}));
|
69
|
+
})(ParseTextMode || (exports.ParseTextMode = ParseTextMode = {}));
|
70
70
|
// Limit the max child node depth to prevent stack overflows.
|
71
71
|
const maxChildNodeDepth = 256;
|
72
72
|
class Parser {
|
@@ -266,7 +266,7 @@ class Parser {
|
|
266
266
|
// type_alias_stmt: "type" name [type_param_seq] = expr
|
267
267
|
_parseTypeAliasStatement() {
|
268
268
|
const typeToken = this._getKeywordToken(35 /* KeywordType.Type */);
|
269
|
-
if (!this._parseOptions.isStubFile && this._getLanguageVersion()
|
269
|
+
if (!this._parseOptions.isStubFile && pythonVersion_1.PythonVersion.isLessThan(this._getLanguageVersion(), pythonVersion_1.pythonVersion3_12)) {
|
270
270
|
this._addSyntaxError(localize_1.LocMessage.typeAliasStatementIllegal(), typeToken);
|
271
271
|
}
|
272
272
|
const nameToken = this._getTokenIfIdentifier();
|
@@ -348,7 +348,8 @@ class Parser {
|
|
348
348
|
if (this._consumeTokenIfOperator(2 /* OperatorType.Assign */)) {
|
349
349
|
defaultExpression = this._parseExpression(
|
350
350
|
/* allowUnpack */ typeParamCategory === parseNodes_1.TypeParamKind.TypeVarTuple);
|
351
|
-
if (!this._parseOptions.isStubFile &&
|
351
|
+
if (!this._parseOptions.isStubFile &&
|
352
|
+
pythonVersion_1.PythonVersion.isLessThan(this._getLanguageVersion(), pythonVersion_1.pythonVersion3_13)) {
|
352
353
|
this._addSyntaxError(localize_1.LocMessage.typeVarDefaultIllegal(), defaultExpression);
|
353
354
|
}
|
354
355
|
}
|
@@ -456,7 +457,7 @@ class Parser {
|
|
456
457
|
}
|
457
458
|
}
|
458
459
|
// This feature requires Python 3.10.
|
459
|
-
if (this._getLanguageVersion()
|
460
|
+
if (pythonVersion_1.PythonVersion.isLessThan(this._getLanguageVersion(), pythonVersion_1.pythonVersion3_10)) {
|
460
461
|
this._addSyntaxError(localize_1.LocMessage.matchIncompatible(), matchToken);
|
461
462
|
}
|
462
463
|
// Validate that only the last entry uses an irrefutable pattern.
|
@@ -1222,7 +1223,8 @@ class Parser {
|
|
1222
1223
|
forSuite = this._parseLoopSuite();
|
1223
1224
|
// Versions of Python earlier than 3.9 didn't allow unpack operators if the
|
1224
1225
|
// tuple wasn't enclosed in parentheses.
|
1225
|
-
if (this._getLanguageVersion()
|
1226
|
+
if (pythonVersion_1.PythonVersion.isLessThan(this._getLanguageVersion(), pythonVersion_1.pythonVersion3_9) &&
|
1227
|
+
!this._parseOptions.isStubFile) {
|
1226
1228
|
if (seqExpr.nodeType === 52 /* ParseNodeType.Tuple */ && !seqExpr.d.hasParens) {
|
1227
1229
|
let sawStar = false;
|
1228
1230
|
seqExpr.d.items.forEach((expr) => {
|
@@ -1361,7 +1363,8 @@ class Parser {
|
|
1361
1363
|
const possibleStarToken = this._peekToken();
|
1362
1364
|
let isExceptGroup = false;
|
1363
1365
|
if (this._consumeTokenIfOperator(26 /* OperatorType.Multiply */)) {
|
1364
|
-
if (this._getLanguageVersion()
|
1366
|
+
if (pythonVersion_1.PythonVersion.isLessThan(this._getLanguageVersion(), pythonVersion_1.pythonVersion3_11) &&
|
1367
|
+
!this._parseOptions.isStubFile) {
|
1365
1368
|
this._addSyntaxError(localize_1.LocMessage.exceptionGroupIncompatible(), possibleStarToken);
|
1366
1369
|
}
|
1367
1370
|
isExceptGroup = true;
|
@@ -1441,7 +1444,8 @@ class Parser {
|
|
1441
1444
|
const possibleOpenBracket = this._peekToken();
|
1442
1445
|
if (possibleOpenBracket.type === 15 /* TokenType.OpenBracket */) {
|
1443
1446
|
typeParameters = this._parseTypeParameterList();
|
1444
|
-
if (!this._parseOptions.isStubFile &&
|
1447
|
+
if (!this._parseOptions.isStubFile &&
|
1448
|
+
pythonVersion_1.PythonVersion.isLessThan(this._getLanguageVersion(), pythonVersion_1.pythonVersion3_12)) {
|
1445
1449
|
this._addSyntaxError(localize_1.LocMessage.functionTypeParametersIllegal(), typeParameters);
|
1446
1450
|
}
|
1447
1451
|
}
|
@@ -1633,7 +1637,8 @@ class Parser {
|
|
1633
1637
|
starCount = 2;
|
1634
1638
|
}
|
1635
1639
|
else if (this._consumeTokenIfOperator(10 /* OperatorType.Divide */)) {
|
1636
|
-
if (this._getLanguageVersion()
|
1640
|
+
if (pythonVersion_1.PythonVersion.isLessThan(this._getLanguageVersion(), pythonVersion_1.pythonVersion3_8) &&
|
1641
|
+
!this._parseOptions.isStubFile) {
|
1637
1642
|
this._addSyntaxError(localize_1.LocMessage.positionOnlyIncompatible(), firstToken);
|
1638
1643
|
}
|
1639
1644
|
slashCount = 1;
|
@@ -1723,7 +1728,7 @@ class Parser {
|
|
1723
1728
|
}
|
1724
1729
|
if (isParenthesizedWithItemList) {
|
1725
1730
|
this._consumeTokenIfType(13 /* TokenType.OpenParenthesis */);
|
1726
|
-
if (this._getLanguageVersion()
|
1731
|
+
if (pythonVersion_1.PythonVersion.isLessThan(this._getLanguageVersion(), pythonVersion_1.pythonVersion3_9)) {
|
1727
1732
|
this._addSyntaxError(localize_1.LocMessage.parenthesizedContextManagerIllegal(), possibleParen);
|
1728
1733
|
}
|
1729
1734
|
}
|
@@ -1816,7 +1821,7 @@ class Parser {
|
|
1816
1821
|
const expression = this._parseTestExpression(/* allowAssignmentExpression */ true);
|
1817
1822
|
// Versions of Python prior to 3.9 support a limited set of
|
1818
1823
|
// expression forms.
|
1819
|
-
if (this._getLanguageVersion()
|
1824
|
+
if (pythonVersion_1.PythonVersion.isLessThan(this._getLanguageVersion(), pythonVersion_1.pythonVersion3_9)) {
|
1820
1825
|
let isSupportedExpressionForm = false;
|
1821
1826
|
if (this._isNameOrMemberAccessExpression(expression)) {
|
1822
1827
|
isSupportedExpressionForm = true;
|
@@ -1857,7 +1862,8 @@ class Parser {
|
|
1857
1862
|
const possibleOpenBracket = this._peekToken();
|
1858
1863
|
if (possibleOpenBracket.type === 15 /* TokenType.OpenBracket */) {
|
1859
1864
|
typeParameters = this._parseTypeParameterList();
|
1860
|
-
if (!this._parseOptions.isStubFile &&
|
1865
|
+
if (!this._parseOptions.isStubFile &&
|
1866
|
+
pythonVersion_1.PythonVersion.isLessThan(this._getLanguageVersion(), pythonVersion_1.pythonVersion3_12)) {
|
1861
1867
|
this._addSyntaxError(localize_1.LocMessage.classTypeParametersIllegal(), typeParameters);
|
1862
1868
|
}
|
1863
1869
|
}
|
@@ -2250,7 +2256,7 @@ class Parser {
|
|
2250
2256
|
const yieldToken = this._getKeywordToken(38 /* KeywordType.Yield */);
|
2251
2257
|
const nextToken = this._peekToken();
|
2252
2258
|
if (this._consumeTokenIfKeyword(18 /* KeywordType.From */)) {
|
2253
|
-
if (this._getLanguageVersion()
|
2259
|
+
if (pythonVersion_1.PythonVersion.isLessThan(this._getLanguageVersion(), pythonVersion_1.pythonVersion3_3)) {
|
2254
2260
|
this._addSyntaxError(localize_1.LocMessage.yieldFromIllegal(), nextToken);
|
2255
2261
|
}
|
2256
2262
|
return parseNodes_1.YieldFromNode.create(yieldToken, this._parseTestExpression(/* allowAssignmentExpression */ false));
|
@@ -2492,7 +2498,7 @@ class Parser {
|
|
2492
2498
|
if (!this._assignmentExpressionsAllowed || disallowAssignmentExpression) {
|
2493
2499
|
this._addSyntaxError(localize_1.LocMessage.walrusNotAllowed(), walrusToken);
|
2494
2500
|
}
|
2495
|
-
if (this._getLanguageVersion()
|
2501
|
+
if (pythonVersion_1.PythonVersion.isLessThan(this._getLanguageVersion(), pythonVersion_1.pythonVersion3_8)) {
|
2496
2502
|
this._addSyntaxError(localize_1.LocMessage.walrusIllegal(), walrusToken);
|
2497
2503
|
}
|
2498
2504
|
const rightExpr = this._parseTestExpression(/* allowAssignmentExpression */ false);
|
@@ -2740,7 +2746,7 @@ class Parser {
|
|
2740
2746
|
let awaitToken;
|
2741
2747
|
if (this._peekKeywordType() === 4 /* KeywordType.Await */) {
|
2742
2748
|
awaitToken = this._getKeywordToken(4 /* KeywordType.Await */);
|
2743
|
-
if (this._getLanguageVersion()
|
2749
|
+
if (pythonVersion_1.PythonVersion.isLessThan(this._getLanguageVersion(), pythonVersion_1.pythonVersion3_5)) {
|
2744
2750
|
this._addSyntaxError(localize_1.LocMessage.awaitIllegal(), awaitToken);
|
2745
2751
|
}
|
2746
2752
|
}
|
@@ -2894,7 +2900,8 @@ class Parser {
|
|
2894
2900
|
this._tokenIndex = startOfSubscriptIndex;
|
2895
2901
|
valueExpr = this._parseTestExpression(/* allowAssignmentExpression */ true);
|
2896
2902
|
// Python 3.10 and newer allow assignment expressions to be used inside of a subscript.
|
2897
|
-
if (!this._parseOptions.isStubFile &&
|
2903
|
+
if (!this._parseOptions.isStubFile &&
|
2904
|
+
pythonVersion_1.PythonVersion.isLessThan(this._getLanguageVersion(), pythonVersion_1.pythonVersion3_10)) {
|
2898
2905
|
this._addSyntaxError(localize_1.LocMessage.assignmentExprInSubscript(), valueExpr);
|
2899
2906
|
}
|
2900
2907
|
}
|
@@ -2917,7 +2924,7 @@ class Parser {
|
|
2917
2924
|
if (argType !== 0 /* ArgCategory.Simple */) {
|
2918
2925
|
const unpackListAllowed = this._parseOptions.isStubFile ||
|
2919
2926
|
this._isParsingQuotedText ||
|
2920
|
-
this._getLanguageVersion()
|
2927
|
+
pythonVersion_1.PythonVersion.isGreaterOrEqualTo(this._getLanguageVersion(), pythonVersion_1.pythonVersion3_11);
|
2921
2928
|
if (argType === 1 /* ArgCategory.UnpackedList */ && !unpackListAllowed) {
|
2922
2929
|
this._addSyntaxError(localize_1.LocMessage.unpackedSubscriptIllegal(), argNode);
|
2923
2930
|
}
|
@@ -2957,7 +2964,8 @@ class Parser {
|
|
2957
2964
|
}
|
2958
2965
|
if (nextTokenType !== 10 /* TokenType.Colon */) {
|
2959
2966
|
// Python 3.10 and newer allow assignment expressions to be used inside of a subscript.
|
2960
|
-
const allowAssignmentExpression = this._parseOptions.isStubFile ||
|
2967
|
+
const allowAssignmentExpression = this._parseOptions.isStubFile ||
|
2968
|
+
pythonVersion_1.PythonVersion.isGreaterOrEqualTo(this._getLanguageVersion(), pythonVersion_1.pythonVersion3_10);
|
2961
2969
|
sliceExpressions[sliceIndex] = this._parseTestExpression(allowAssignmentExpression);
|
2962
2970
|
}
|
2963
2971
|
sliceIndex++;
|
@@ -3046,7 +3054,7 @@ class Parser {
|
|
3046
3054
|
if (nameExpr.nodeType === 38 /* ParseNodeType.Name */ &&
|
3047
3055
|
(this._peekTokenType() === 12 /* TokenType.Comma */ || this._peekTokenType() === 14 /* TokenType.CloseParenthesis */)) {
|
3048
3056
|
nameNode = parseNodes_1.NameNode.create(nameExpr.d.token);
|
3049
|
-
if (this._getLanguageVersion()
|
3057
|
+
if (pythonVersion_1.PythonVersion.isLessThan(this._getLanguageVersion(), pythonVersion_1.pythonVersion3_14)) {
|
3050
3058
|
this._addSyntaxError(localize_1.LocMessage.keywordArgShortcutIllegal(), assignmentToken);
|
3051
3059
|
valueExpr = parseNodes_1.ErrorNode.create(assignmentToken, 14 /* ErrorExpressionCategory.MissingKeywordArgValue */);
|
3052
3060
|
}
|
@@ -3298,7 +3306,7 @@ class Parser {
|
|
3298
3306
|
keyExpression = this._parseTestOrStarExpression(/* allowAssignmentExpression */ true);
|
3299
3307
|
// Allow walrus operators in this context only for Python 3.10 and newer.
|
3300
3308
|
// Older versions of Python generated a syntax error in this context.
|
3301
|
-
let isWalrusAllowed = this._getLanguageVersion()
|
3309
|
+
let isWalrusAllowed = pythonVersion_1.PythonVersion.isGreaterOrEqualTo(this._getLanguageVersion(), pythonVersion_1.pythonVersion3_10);
|
3302
3310
|
if (this._consumeTokenIfType(10 /* TokenType.Colon */)) {
|
3303
3311
|
valueExpression = this._parseTestExpression(/* allowAssignmentExpression */ false);
|
3304
3312
|
isWalrusAllowed = false;
|
@@ -3465,7 +3473,8 @@ class Parser {
|
|
3465
3473
|
if (this._consumeTokenIfType(10 /* TokenType.Colon */)) {
|
3466
3474
|
annotationExpr = this._parseTypeAnnotation();
|
3467
3475
|
leftExpr = parseNodes_1.TypeAnnotationNode.create(leftExpr, annotationExpr);
|
3468
|
-
if (!this._parseOptions.isStubFile &&
|
3476
|
+
if (!this._parseOptions.isStubFile &&
|
3477
|
+
pythonVersion_1.PythonVersion.isLessThan(this._getLanguageVersion(), pythonVersion_1.pythonVersion3_6)) {
|
3469
3478
|
this._addSyntaxError(localize_1.LocMessage.varAnnotationIllegal(), annotationExpr);
|
3470
3479
|
}
|
3471
3480
|
if (!this._consumeTokenIfOperator(2 /* OperatorType.Assign */)) {
|
@@ -3599,7 +3608,7 @@ class Parser {
|
|
3599
3608
|
allowUnpack &&
|
3600
3609
|
!this._parseOptions.isStubFile &&
|
3601
3610
|
!this._isParsingQuotedText &&
|
3602
|
-
this._getLanguageVersion()
|
3611
|
+
pythonVersion_1.PythonVersion.isLessThan(this._getLanguageVersion(), pythonVersion_1.pythonVersion3_11)) {
|
3603
3612
|
this._addSyntaxError(localize_1.LocMessage.unpackedSubscriptIllegal(), startToken);
|
3604
3613
|
}
|
3605
3614
|
let result = this._parseTestExpression(/* allowAssignmentExpression */ false);
|
@@ -3617,7 +3626,7 @@ class Parser {
|
|
3617
3626
|
this._addSyntaxError(localize_1.LocMessage.stringNonAsciiBytes(), stringToken);
|
3618
3627
|
}
|
3619
3628
|
if (stringToken.flags & 64 /* StringTokenFlags.Format */) {
|
3620
|
-
if (this._getLanguageVersion()
|
3629
|
+
if (pythonVersion_1.PythonVersion.isLessThan(this._getLanguageVersion(), pythonVersion_1.pythonVersion3_6)) {
|
3621
3630
|
this._addSyntaxError(localize_1.LocMessage.formatStringIllegal(), stringToken);
|
3622
3631
|
}
|
3623
3632
|
if (stringToken.flags & 32 /* StringTokenFlags.Bytes */) {
|
@@ -3677,7 +3686,6 @@ class Parser {
|
|
3677
3686
|
if (!parseResults.parseTree) {
|
3678
3687
|
return undefined;
|
3679
3688
|
}
|
3680
|
-
(0, debug_1.assert)(parseResults.parseTree.nodeType !== 62 /* ParseNodeType.FunctionAnnotation */);
|
3681
3689
|
return parseResults.parseTree;
|
3682
3690
|
}
|
3683
3691
|
_parseFunctionTypeAnnotationComment(stringToken, functionNode) {
|
@@ -3689,7 +3697,7 @@ class Parser {
|
|
3689
3697
|
parseResults.diagnostics.forEach((diag) => {
|
3690
3698
|
this._addSyntaxError(diag.message, stringListNode);
|
3691
3699
|
});
|
3692
|
-
if (!parseResults.parseTree
|
3700
|
+
if (!parseResults.parseTree) {
|
3693
3701
|
return;
|
3694
3702
|
}
|
3695
3703
|
const functionAnnotation = parseResults.parseTree;
|
@@ -3715,7 +3723,7 @@ class Parser {
|
|
3715
3723
|
if (nextToken.type === 9 /* TokenType.Operator */ &&
|
3716
3724
|
nextToken.operatorType === 2 /* OperatorType.Assign */) {
|
3717
3725
|
// This feature requires Python 3.8 or newer.
|
3718
|
-
if (this._parseOptions.pythonVersion
|
3726
|
+
if (pythonVersion_1.PythonVersion.isLessThan(this._parseOptions.pythonVersion, pythonVersion_1.pythonVersion3_8)) {
|
3719
3727
|
this._addSyntaxError(localize_1.LocMessage.formatStringDebuggingIllegal(), nextToken);
|
3720
3728
|
}
|
3721
3729
|
this._getNextToken();
|
@@ -3896,7 +3904,6 @@ class Parser {
|
|
3896
3904
|
this._addSyntaxError(diag.message, stringNode);
|
3897
3905
|
});
|
3898
3906
|
if (parseResults.parseTree) {
|
3899
|
-
(0, debug_1.assert)(parseResults.parseTree.nodeType !== 62 /* ParseNodeType.FunctionAnnotation */);
|
3900
3907
|
stringNode.d.annotation = parseResults.parseTree;
|
3901
3908
|
stringNode.d.annotation.parent = stringNode;
|
3902
3909
|
}
|
@@ -3916,7 +3923,7 @@ class Parser {
|
|
3916
3923
|
if (possibleTupleExpr.d.hasParens) {
|
3917
3924
|
return;
|
3918
3925
|
}
|
3919
|
-
if (this._parseOptions.pythonVersion
|
3926
|
+
if (pythonVersion_1.PythonVersion.isGreaterOrEqualTo(this._parseOptions.pythonVersion, pythonVersion)) {
|
3920
3927
|
return;
|
3921
3928
|
}
|
3922
3929
|
for (const expr of possibleTupleExpr.d.items) {
|