+
Skip to content
This repository was archived by the owner on Aug 31, 2023. It is now read-only.

feat(rome_js_semantic): Improvements to scope resolution #3084

Merged
merged 1 commit into from
Aug 23, 2022

Conversation

xunilrj
Copy link
Contributor

@xunilrj xunilrj commented Aug 18, 2022

Summary

This PR start to use the semantic model with our coverage test suites. See #3038.

This new "example" actually compares our scope resolution to other tools. Our compliance percentage is still quite low, especially because:

1 - Javascript tools use start/end as characters, we as bytes; when tests cases have Unicode it is very hard to compare values;
2 - Some tools treat trivia differently than us, so we need to sometimes use text_range, and sometimes use the trimmed range;
3 - Some tools create scopes that, as I understand, are not necessary.

Test Plan

> cargo test -p rome_js_semantic
> cargo run -p rome_js_semantic --example coverage_scope --release

@xunilrj xunilrj requested a review from a team August 18, 2022 21:30
@xunilrj xunilrj temporarily deployed to aws August 18, 2022 21:30 Inactive
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Aug 18, 2022

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: bca3277
Status: ✅  Deploy successful!
Preview URL: https://7ead17f1.tools-8rn.pages.dev
Branch Preview URL: https://feature-semantic-event-impro.tools-8rn.pages.dev

View logs

@github-actions
Copy link

github-actions bot commented Aug 18, 2022

@xunilrj xunilrj force-pushed the feature/semantic-event-improv-scoping branch from 2da478c to 67b370f Compare August 22, 2022 08:13
@xunilrj xunilrj temporarily deployed to aws August 22, 2022 08:13 Inactive
@xunilrj xunilrj temporarily deployed to aws August 22, 2022 08:16 Inactive
@github-actions
Copy link

github-actions bot commented Aug 22, 2022

Parser conformance results on ubuntu-latest

js/262

Test result main count This PR count Difference
Total 45879 45879 0
Passed 44939 44939 0
Failed 940 940 0
Panics 0 0 0
Coverage 97.95% 97.95% 0.00%

jsx/babel

Test result main count This PR count Difference
Total 39 39 0
Passed 36 36 0
Failed 3 3 0
Panics 0 0 0
Coverage 92.31% 92.31% 0.00%

symbols/microsoft

Test result main count This PR count Difference
Total 5946 5946 0
Passed 377 1621 ✅ ⏫ +1244
Failed 5569 4325 ✅ ⏬ -1244
Panics 0 0 0
Coverage 6.34% 27.26% +20.92%
🎉 Fixed (1244):
ArrowFunction4.symbols
ES3For-ofTypeCheck2.symbols
ES3For-ofTypeCheck6.symbols
ES5For-of11.symbols
ES5For-of13.symbols
ES5For-of14.symbols
ES5For-of15.symbols
ES5For-of16.symbols
ES5For-of18.symbols
ES5For-of19.symbols
ES5For-of2.symbols
ES5For-of21.symbols
ES5For-of24.symbols
ES5For-of25.symbols
ES5For-of3.symbols
ES5For-of4.symbols
ES5For-of5.symbols
ES5For-of6.symbols
ES5For-ofTypeCheck1.symbols
ES5For-ofTypeCheck2.symbols
ES5For-ofTypeCheck3.symbols
ES5For-ofTypeCheck4.symbols
ES5For-ofTypeCheck5.symbols
ES5For-ofTypeCheck6.symbols
ES5SymbolProperty3.symbols
ES5for-of32.symbols
FunctionDeclaration9_es6.symbols
FunctionExpression1_es6.symbols
FunctionExpression2_es6.symbols
Protected3.symbols
Protected9.symbols
SystemModuleForStatementNoInitializer.symbols
VariableDeclaration12_es6.symbols
VariableDeclaration3_es6.symbols
VariableDeclaration8_es6.symbols
abstractClassInLocalScope.symbols
abstractIdentifierNameStrict.symbols
addMoreCallSignaturesToBaseSignature.symbols
addMoreCallSignaturesToBaseSignature2.symbols
aliasInaccessibleModule.symbols
aliasInaccessibleModule2.symbols
alwaysStrictAlreadyUseStrict.symbols
alwaysStrictModule3.symbols
alwaysStrictModule4.symbols
alwaysStrictModule5.symbols
alwaysStrictModule6.symbols
ambientClassDeclaredBeforeBase.symbols
ambientDeclarationsPatterns.symbols
ambientFundule.symbols
ambientInsideNonAmbient.symbols
ambientInsideNonAmbientExternalModule.symbols
ambientModuleWithClassDeclarationWithExtends.symbols
ambientNameRestrictions.symbols
ambientShorthand.symbols
ambientShorthand_duplicate.symbols
amdModuleBundleNoDuplicateDeclarationEmitComments.symbols
anonymousClassDeclarationDoesntPrintWithReadonly.symbols
anyAsFunctionCall.symbols
anyAsReturnTypeForNewOnCall.symbols
anyPlusAny1.symbols
anyPropertyAccess.symbols
arithmeticOperatorWithAnyAndNumber.symbols
arrayAssignmentPatternWithAny.symbols
arrayBindingPatternOmittedExpressions.symbols
arrayLiteral1.symbols
arrayLiteral2.symbols
arrayLiteralInNonVarArgParameter.symbols
arrayLiteralSpread.symbols
arrayLiteralSpreadES5iterable.symbols
arrayLiteralWidened.symbols
arrowFunctionInExpressionStatement2.symbols
arrowFunctionWithObjectLiteralBody1.symbols
arrowFunctionWithObjectLiteralBody2.symbols
arrowFunctionWithObjectLiteralBody3.symbols
arrowFunctionWithObjectLiteralBody4.symbols
arrowFunctionWithParameterNameAsync_es2017.symbols
arrowFunctionWithParameterNameAsync_es5.symbols
arrowFunctionWithParameterNameAsync_es6.symbols
asOpEmitParens.symbols
asOperator3.symbols
asOperatorASI.symbols
asiArith.symbols
asiPreventsParsingAsNamespace04.symbols
asiPreventsParsingAsTypeAlias01.symbols
asiPreventsParsingAsTypeAlias02.symbols
assignmentCompatOnNew.symbols
asyncFunctionTempVariableScoping.symbols
asyncFunctionWithForStatementNoInitializer.symbols
asyncWithVarShadowing_es6.symbols
bangInModuleName.symbols
blockScopedBindingCaptureThisInFunction.symbols
blockScopedBindingsInDownlevelGenerator.symbols
blockScopedBindingsReassignedInLoop1.symbols
blockScopedBindingsReassignedInLoop2.symbols
blockScopedBindingsReassignedInLoop3.symbols
blockScopedBindingsReassignedInLoop4.symbols
blockScopedBindingsReassignedInLoop5.symbols
blockScopedClassDeclarationAcrossFiles.symbols
blockScopedFunctionDeclarationES5.symbols
blockScopedFunctionDeclarationES6.symbols
cacheResolutions.symbols
callbackTag3.symbols
callbackTagNamespace.symbols
callbackTagVariadicType.symbols
capturedLetConstInLoop1.symbols
capturedLetConstInLoop11.symbols
capturedLetConstInLoop11_ES6.symbols
capturedLetConstInLoop1_ES6.symbols
capturedLetConstInLoop3.symbols
capturedLetConstInLoop3_ES6.symbols
capturedLetConstInLoop4.symbols
capturedLetConstInLoop4_ES6.symbols
checkJsFiles5.symbols
checkJsdocParamTag1.symbols
circularInferredTypeOfVariable.symbols
classAndInterfaceMerge.d.symbols
classDeclarationBlockScoping1.symbols
classDeclarationBlockScoping2.symbols
classDeclarationCheckUsedBeforeDefinitionInFunctionDeclaration.symbols
classDeclaredBeforeClassFactory.symbols
classDoesNotDependOnBaseTypes.symbols
classExpression1.symbols
classExpression2.symbols
classExpressionES61.symbols
classExpressionES62.symbols
classExtensionNameOutput.symbols
classImplementsClass1.symbols
classIndexer.symbols
classInsideBlock.symbols
classStaticBlock1(target=es2015).symbols
classStaticBlock1(target=es2022).symbols
classStaticBlock1(target=es5).symbols
classStaticBlock1(target=esnext).symbols
classStaticBlock10(target=es2015).symbols
classStaticBlock10(target=es2022).symbols
classStaticBlock10(target=es5).symbols
classStaticBlock10(target=esnext).symbols
classStaticBlock2(target=es2015).symbols
classStaticBlock2(target=es2022).symbols
classStaticBlock2(target=es5).symbols
classStaticBlock2(target=esnext).symbols
classStaticBlock21.symbols
classStaticBlock25(target=es2022).symbols
classStaticBlock25(target=esnext).symbols
classWithSemicolonClassElement1.symbols
classWithSemicolonClassElement2.symbols
classWithSemicolonClassElementES61.symbols
classWithSemicolonClassElementES62.symbols
collisionCodeGenModuleWithConstructorChildren.symbols
collisionCodeGenModuleWithFunctionChildren.symbols
collisionCodeGenModuleWithModuleChildren.symbols
collisionExportsRequireAndAmbientClass.symbols
collisionExportsRequireAndAmbientFunction.symbols
collisionExportsRequireAndAmbientFunctionInGlobalFile.symbols
collisionExportsRequireAndAmbientVar.symbols
collisionExportsRequireAndFunctionInGlobalFile.symbols
collisionRestParameterArrowFunctions.symbols
collisionRestParameterClassConstructor.symbols
collisionRestParameterFunction.symbols
collisionRestParameterFunctionExpressions.symbols
commentEmitAtEndOfFile1.symbols
commentOnAmbientClass1.symbols
commentOnAmbientVariable2.symbols
commentOnAmbientfunction.symbols
commentOnArrayElement1.symbols
commentOnArrayElement10.symbols
commentOnArrayElement11.symbols
commentOnArrayElement12.symbols
commentOnArrayElement13.symbols
commentOnArrayElement14.symbols
commentOnArrayElement15.symbols
commentOnArrayElement16.symbols
commentOnArrayElement2.symbols
commentOnArrayElement3.symbols
commentOnArrayElement4.symbols
commentOnArrayElement5.symbols
commentOnArrayElement6.symbols
commentOnArrayElement7.symbols
commentOnArrayElement8.symbols
commentOnArrayElement9.symbols
commentOnBinaryOperator1.symbols
commentOnBinaryOperator2.symbols
commentOnElidedModule1.symbols
commentOnInterface1.symbols
commentOnSimpleArrowFunctionBody1.symbols
commentWithUnreasonableIndentationLevel01.symbols
commentsArgumentsOfCallExpression1.symbols
commentsArgumentsOfCallExpression2.symbols
commentsCommentParsing.symbols
commentsFormatting.symbols
commentsVariableStatement1.symbols
commonSourceDirectory.symbols
commonSourceDirectory_dts.symbols
commonjsSafeImport.symbols
comparisonOperatorWithTwoOperandsAreAny.symbols
compilerOptionsDeclarationAndNoEmit.symbols
compilerOptionsOutAndNoEmit.symbols
compilerOptionsOutDirAndNoEmit.symbols
compilerOptionsOutFileAndNoEmit.symbols
compoundVarDecl1.symbols
computedPropertyNames18_ES5.symbols
computedPropertyNames18_ES6.symbols
computedPropertyNames1_ES5.symbols
computedPropertyNames1_ES6.symbols
computedPropertyNames46_ES5.symbols
computedPropertyNames46_ES6.symbols
computedPropertyNamesContextualType4_ES5.symbols
computedPropertyNamesContextualType4_ES6.symbols
computedPropertyNamesContextualType5_ES5.symbols
computedPropertyNamesContextualType5_ES6.symbols
computedPropertyNamesDeclarationEmit1_ES5.symbols
computedPropertyNamesDeclarationEmit1_ES6.symbols
computedPropertyNamesDeclarationEmit2_ES5.symbols
computedPropertyNamesDeclarationEmit2_ES6.symbols
computedPropertyNamesDeclarationEmit5_ES5.symbols
computedPropertyNamesDeclarationEmit5_ES6.symbols
computedPropertyNamesSourceMap1_ES5.symbols
computedPropertyNamesSourceMap1_ES6.symbols
computedPropertyNamesSourceMap2_ES5.symbols
computedPropertyNamesSourceMap2_ES6.symbols
conditionallyDuplicateOverloadsCausedByOverloadResolution.symbols
constDeclarationShadowedByVarDeclaration2.symbols
constDeclarations-ambient.symbols
constDeclarations-es5.symbols
constDeclarations-scopes2.symbols
constDeclarations.symbols
constDeclarations2.symbols
constEnum4.symbols
constructorTagOnClassConstructor.symbols
contextualTypeLogicalOr.symbols
contextualTyping22.symbols
contextualTyping23.symbols
contextualTyping38.symbols
contextualTyping40.symbols
contextualTypingFunctionReturningFunction2.symbols
contextualTypingOfLambdaWithMultipleSignatures2.symbols
contextuallyTypeCommaOperator01.symbols
contextuallyTypeLogicalAnd01.symbols
continueInLoopsWithCapturedBlockScopedBindings1.symbols
continueLabel.symbols
controlFlowBinaryAndExpression.symbols
controlFlowCommaExpressionAssertionWithinTernary.symbols
controlFlowCommaExpressionFunctionCall.symbols
controlFlowCommaOperator.symbols
controlFlowConditionalExpression.symbols
controlFlowForInStatement2.symbols
controlFlowInOperator.symbols
controlFlowJavascript.symbols
controlFlowManyCallExpressionStatementsPerf.symbols
debuggerEmit.symbols
declFileClassExtendsNull.symbols
declFileClassWithIndexSignature.symbols
declFileForVarList.symbols
declFileModuleWithPropertyOfTypeModule.symbols
declFileTypeofFunction.symbols
declFileTypeofModule.symbols
declarationEmitAmdModuleDefault.symbols
declarationEmitAmdModuleNameDirective.symbols
declarationEmitClassPrivateConstructor.symbols
declarationEmitClassPrivateConstructor2.symbols
declarationEmitCrossFileImportTypeOfAmbientModule.symbols
declarationEmitDefaultExport1.symbols
declarationEmitDefaultExport6.symbols
declarationEmitDefaultExport7.symbols
declarationEmitDestructuringArrayPattern1.symbols
declarationEmitDestructuringArrayPattern3.symbols
declarationEmitDestructuringPrivacyError.symbols
declarationEmitDetachedComment1.symbols
declarationEmitDetachedComment2.symbols
declarationEmitExportAssignment.symbols
declarationEmitExportDeclaration.symbols
declarationEmitForTypesWhichNeedImportTypes.symbols
declarationEmitIdentifierPredicates01.symbols
declarationEmitImportInExportAssignmentModule.symbols
declarationEmitInferredTypeAlias1.symbols
declarationEmitInferredTypeAlias2.symbols
declarationEmitInferredTypeAlias3.symbols
declarationEmitInferredTypeAlias5.symbols
declarationEmitInferredTypeAlias6.symbols
declarationEmitInferredTypeAlias7.symbols
declarationEmitInvalidReference.symbols
declarationEmitModuleWithScopeMarker.symbols
declarationEmitOfFuncspace.symbols
declarationEmitOutFileBundlePaths.symbols
declarationEmitParameterProperty.symbols
declarationEmitReadonly.symbols
declarationEmitSpreadStringlyKeyedEnum.symbols
declarationEmitWorkWithInlineComments.symbols
declarationFilesGeneratingTypeReferences.symbols
declarationFunctionTypeNonlocalShouldNotBeAnError.symbols
declarationsForFileShadowingGlobalNoError.symbols
declarationsForInferredTypeFromOtherFile.symbols
declareIdentifierAsBeginningOfStatementExpression01.symbols
declareModifierOnTypeAlias.symbols
deeplyDependentLargeArrayMutation2.symbols
defaultDeclarationEmitDefaultImport.symbols
defaultExportsGetExportedAmd.symbols
defaultExportsGetExportedCommonjs.symbols
defaultExportsGetExportedSystem.symbols
defaultExportsGetExportedUmd.symbols
defaultNamedExportWithType1.symbols
defaultNamedExportWithType2.symbols
defaultNamedExportWithType3.symbols
defaultNamedExportWithType4.symbols
defaultOfAnyInStrictNullChecks.symbols
defaultParameterTrailingComments.symbols
deferredTypeReferenceWithinArrayWithinTuple.symbols
defineVariables_useDefineForClassFields.symbols
derivedInterfaceDoesNotHideBaseSignatures.symbols
destructuringAssignmentWithStrictNullChecks.symbols
destructuringInVariableDeclarations1.symbols
destructuringInVariableDeclarations2.symbols
destructuringInVariableDeclarations3.symbols
destructuringInVariableDeclarations4.symbols
destructuringInVariableDeclarations5.symbols
destructuringInVariableDeclarations6.symbols
destructuringInVariableDeclarations7.symbols
destructuringInVariableDeclarations8.symbols
destructuringObjectBindingPatternAndAssignment5.symbols
destructuringTypeAssertionsES5_5.symbols
destructuringWithNumberLiteral.symbols
doNotEmitDetachedComments.symbols
doNotEmitDetachedCommentsAtStartOfConstructor.symbols
doNotEmitPinnedCommentNotOnTopOfFile.symbols
doNotEmitPinnedDetachedComments.symbols
doNotEmitTripleSlashCommentsOnNotEmittedNode.symbols
doNotemitTripleSlashComments.symbols
doWhileBreakStatements.symbols
doWhileContinueStatements.symbols
doWhileUnreachableCode.symbols
doubleUnderscoreEnumEmit.symbols
doubleUnderscoreLabels.symbols
downlevelLetConst17.symbols
downlevelLetConst3.symbols
downlevelLetConst8.symbols
duplicateAnonymousInners1.symbols
duplicateAnonymousModuleClasses.symbols
duplicateConstructSignature.symbols
duplicateConstructorOverloadSignature.symbols
duplicateVarAndImport.symbols
dynamicModuleTypecheckError.symbols
elidingImportNames.symbols
emitArrowFunction.symbols
emitArrowFunctionAsIs.symbols
emitArrowFunctionAsIsES6.symbols
emitArrowFunctionsAsIs.symbols
emitArrowFunctionsAsIsES6.symbols
emitBundleWithPrologueDirectives1.symbols
emitBundleWithShebang1.symbols
emitBundleWithShebang2.symbols
emitBundleWithShebangAndPrologueDirectives1.symbols
emitBundleWithShebangAndPrologueDirectives2.symbols
emitClassDeclarationOverloadInES6.symbols
emitCompoundExponentiationAssignmentWithIndexingOnLHS1.symbols
emitCompoundExponentiationOperator1.symbols
emitCompoundExponentiationOperator2.symbols
emitDefaultParametersFunction.symbols
emitDefaultParametersFunctionES6.symbols
emitDefaultParametersFunctionExpression.symbols
emitDefaultParametersFunctionExpressionES6.symbols
emitExponentiationOperator2.symbols
emitExponentiationOperator3.symbols
emitExponentiationOperatorInTempalteString4.symbols
emitExponentiationOperatorInTempalteString4ES6.symbols
emitExponentiationOperatorInTemplateString1.symbols
emitExponentiationOperatorInTemplateString1ES6.symbols
emitExponentiationOperatorInTemplateString2.symbols
emitExponentiationOperatorInTemplateString2ES6.symbols
emitExponentiationOperatorInTemplateString3.symbols
emitExponentiationOperatorInTemplateString3ES6.symbols
emitPinnedCommentsOnTopOfFile.symbols
emitPostComments.symbols
emitPreComments.symbols
emitRestParametersFunctionExpression.symbols
emitRestParametersFunctionExpressionES6.symbols
emitTopOfFileTripleSlashCommentOnNotEmittedNodeIfRemoveCommentsIsFalse.symbols
emitter.asyncGenerators.functionDeclarations.es2015.symbols
emitter.asyncGenerators.functionDeclarations.es2018.symbols
emitter.asyncGenerators.functionDeclarations.es5.symbols
emitter.asyncGenerators.functionExpressions.es2015.symbols
emitter.asyncGenerators.functionExpressions.es2018.symbols
emitter.asyncGenerators.functionExpressions.es5.symbols
emitter.forAwait(target=es2015).symbols
emitter.forAwait(target=es2017).symbols
emitter.forAwait(target=es2018).symbols
emitter.forAwait(target=es5).symbols
emptyArgumentsListComment.symbols
emptyAssignmentPatterns02_ES5.symbols
emptyAssignmentPatterns02_ES5iterable.symbols
emptyAssignmentPatterns02_ES6.symbols
emptyAssignmentPatterns04_ES5.symbols
emptyAssignmentPatterns04_ES5iterable.symbols
emptyAssignmentPatterns04_ES6.symbols
emptyEnum.symbols
emptyThenWithoutWarning.symbols
emptyVariableDeclarationBindingPatterns01_ES5.symbols
emptyVariableDeclarationBindingPatterns01_ES5iterable.symbols
emptyVariableDeclarationBindingPatterns01_ES6.symbols
enumTagUseBeforeDefCrash.symbols
enumWithNegativeInfinityProperty.symbols
enumWithQuotedElementName1.symbols
enumWithQuotedElementName2.symbols
enumWithUnicodeEscape1.symbols
es3-jsx-preserve.symbols
es3-jsx-react-native.symbols
es3-jsx-react.symbols
es5-asyncFunctionArrayLiterals.symbols
es5-asyncFunctionCallExpressions.symbols
es5-asyncFunctionConditionals.symbols
es5-asyncFunctionElementAccess.symbols
es5-asyncFunctionForInStatements.symbols
es5-asyncFunctionForOfStatements.symbols
es5-asyncFunctionForStatements.symbols
es5-asyncFunctionHoisting.symbols
es5-asyncFunctionPropertyAccess.symbols
es5-commonjs6.symbols
es5-commonjs8.symbols
es5-system2.symbols
es5ExportDefaultFunctionDeclaration3.symbols
es5ExportDefaultFunctionDeclaration4.symbols
es6ExportAssignment3.symbols
es6ExportAssignment4.symbols
es6ImportDefaultBinding.symbols
es6ImportDefaultBindingAmd.symbols
es6ImportDefaultBindingDts.symbols
es6ImportDefaultBindingFollowedWithNamespaceBinding1.symbols
es6ImportDefaultBindingFollowedWithNamespaceBinding1InEs5.symbols
es6ImportDefaultBindingFollowedWithNamespaceBindingDts1.symbols
es6ImportEqualsDeclaration2.symbols
es6ImportNameSpaceImportNoNamedExports.symbols
es6ImportNamedImportInExportAssignment.symbols
es6ImportNamedImportInIndirectExportAssignment.symbols
es6ImportWithoutFromClauseAmd.symbols
es6ModuleModuleDeclaration.symbols
es6UseOfTopLevelRequire.symbols
es6modulekindExportClassNameWithObject.symbols
es6modulekindWithES5Target4.symbols
es6modulekindWithES5Target6.symbols
es6modulekindWithES5Target7.symbols
es6modulekindWithES5Target8.symbols
esModuleInterop.symbols
esnextmodulekindWithES5Target4.symbols
esnextmodulekindWithES5Target6.symbols
esnextmodulekindWithES5Target7.symbols
esnextmodulekindWithES5Target8.symbols
exnextmodulekindExportClassNameWithObject.symbols
exponentiationOperatorWithAnyAndNumber.symbols
exportAmbientClassNameWithObject.symbols
exportAndImport-es3-amd.symbols
exportAndImport-es3.symbols
exportAndImport-es5-amd.symbols
exportAndImport-es5.symbols
exportArrayBindingPattern.symbols
exportAssignedNamespaceIsVisibleInDeclarationEmit.symbols
exportAssignmentError.symbols
exportAssignmentFunction.symbols
exportAssignmentVariable.symbols
exportDefaultForNonInstantiatedModule.symbols
exportDefaultInterfaceAndFunctionOverloads.symbols
exportDefaultMarksIdentifierAsUsed.symbols
exportDefaultParenthesizeES6.symbols
exportEqualCallable.symbols
exportEqualsOfModule.symbols
exportRedeclarationTypeAliases.symbols
exportToString.symbols
exportTwoInterfacesWithSameName.symbols
exportVisibility.symbols
exportsAndImportsWithUnderscores2.symbols
exportsAndImportsWithUnderscores3.symbols
exportsAndImportsWithUnderscores4.symbols
exportsInAmbientModules2.symbols
extendClassExpressionFromModule.symbols
extendConstructSignatureInInterface.symbols
extendsJavaScript.symbols
externFunc.symbols
externalModuleWithoutCompilerFlag1.symbols
fallFromLastCase1.symbols
fileReferencesWithNoExtensions.symbols
fileWithNextLine1.symbols
fileWithNextLine2.symbols
filesEmittingIntoSameOutputWithOutOption.symbols
for-of1.symbols
for-of24.symbols
for-of36.symbols
for-of4.symbols
for-of5.symbols
for-of53.symbols
for-of9.symbols
forBreakStatements.symbols
forContinueStatements.symbols
forInBreakStatements.symbols
forInContinueStatements.symbols
forInModule.symbols
forInStatement1.symbols
forInStatement5.symbols
forInStatement6.symbols
forLoopEndingMultilineComments.symbols
forwardRefInTypeDeclaration.symbols
functionAssignmentError.symbols
functionCall1.symbols
functionCall2.symbols
functionCall3.symbols
functionCall4.symbols
functionExpressionReturningItself.symbols
functionExpressionWithResolutionOfTypeOfSameName02.symbols
functionOverloads25.symbols
functionOverloads26.symbols
functionOverloads28.symbols
functionOverloads30.symbols
functionOverloads31.symbols
functionOverloads32.symbols
functionOverloads33.symbols
functionOverloads9.symbols
functionWithAnyReturnTypeAndNoReturnExpression.symbols
functionWithDefaultParameterWithNoStatements1.symbols
functionWithDefaultParameterWithNoStatements10.symbols
functionWithDefaultParameterWithNoStatements11.symbols
functionWithDefaultParameterWithNoStatements12.symbols
functionWithDefaultParameterWithNoStatements13.symbols
functionWithDefaultParameterWithNoStatements14.symbols
functionWithDefaultParameterWithNoStatements15.symbols
functionWithDefaultParameterWithNoStatements16.symbols
functionWithDefaultParameterWithNoStatements2.symbols
functionWithDefaultParameterWithNoStatements3.symbols
functionWithDefaultParameterWithNoStatements4.symbols
functionWithDefaultParameterWithNoStatements5.symbols
functionWithDefaultParameterWithNoStatements6.symbols
functionWithDefaultParameterWithNoStatements7.symbols
functionWithDefaultParameterWithNoStatements8.symbols
functionWithNoBestCommonType1.symbols
functionWithNoBestCommonType2.symbols
functionWithUseStrictAndSimpleParameterList.symbols
generatorES6_3.symbols
generatorInAmbientContext6.symbols
generatorTypeCheck40.symbols
generatorTypeCheck41.symbols
generatorTypeCheck42.symbols
generatorTypeCheck43.symbols
generatorTypeCheck44.symbols
generatorTypeCheck55.symbols
generatorTypeCheck56.symbols
generatorTypeCheck60.symbols
hidingCallSignatures.symbols
hidingConstructSignatures.symbols
hidingIndexSignatures.symbols
importCallExpressionDeclarationEmit1.symbols
importCallExpressionDeclarationEmit2.symbols
importCallExpressionInUMD5.symbols
importDefaultNamedType.symbols
importHelpersDeclarations.symbols
importHelpersWithImportStarAs(esmoduleinterop=false,module=amd).symbols
importHelpersWithImportStarAs(esmoduleinterop=false,module=commonjs).symbols
importHelpersWithImportStarAs(esmoduleinterop=false,module=es2015).symbols
importHelpersWithImportStarAs(esmoduleinterop=false,module=es2020).symbols
importHelpersWithImportStarAs(esmoduleinterop=false,module=system).symbols
importHelpersWithImportStarAs(esmoduleinterop=true,module=amd).symbols
importHelpersWithImportStarAs(esmoduleinterop=true,module=commonjs).symbols
importHelpersWithImportStarAs(esmoduleinterop=true,module=es2015).symbols
importHelpersWithImportStarAs(esmoduleinterop=true,module=es2020).symbols
importHelpersWithImportStarAs(esmoduleinterop=true,module=system).symbols
importShadowsGlobalName.symbols
importedModuleClassNameClash.symbols
importsInAmbientModules2.symbols
importsInAmbientModules3.symbols
inOperatorWithFunction.symbols
incrementalConfig.symbols
incrementalOut.symbols
incrementalTsBuildInfoFile.symbols
indexClassByNumber.symbols
indexIntoEnum.symbols
indexerAssignability.symbols
inferredIndexerOnNamespaceImport.symbols
inferredNonidentifierTypesGetQuotes.symbols
inferringClassMembersFromAssignments8.symbols
initializersWidened.symbols
innerFunc.symbols
innerOverloads.symbols
instanceMemberWithComputedPropertyName2.symbols
instanceofOperatorWithAny.symbols
instantiateTemplateTagTypeParameterOnVariableStatement.symbols
interfaceDeclaration2.symbols
interfaceInheritance2.symbols
interfaceWithCallAndConstructSignature.symbols
intersectionTypeOverloading.symbols
invalidTypeNames.symbols
isolatedModulesSourceMap.symbols
jsDeclarationsImportAliasExposedWithinNamespace.symbols
jsDeclarationsImportNamespacedType.symbols
jsDeclarationsModuleReferenceHasEmit.symbols
jsDeclarationsNonIdentifierInferredNames.symbols
jsDeclarationsOptionalTypeLiteralProps1.symbols
jsDeclarationsOptionalTypeLiteralProps2.symbols
jsDeclarationsReusesExistingNodesMappingJSDocTypes.symbols
jsFileCompilationConstModifier.symbols
jsFileCompilationDecoratorSyntax.symbols
jsFileCompilationDuplicateVariable.symbols
jsFileCompilationEmitDeclarations.symbols
jsFileCompilationEmitTrippleSlashReference.symbols
jsFileCompilationErrorOnDeclarationsWithJsFileReferenceWithOut.symbols
jsFileCompilationErrorOnDeclarationsWithJsFileReferenceWithOutDir.symbols
jsFileCompilationLetBeingRenamed.symbols
jsFileCompilationLetDeclarationOrder.symbols
jsFileCompilationNoErrorWithoutDeclarationsWithJsFileReferenceWithOut.symbols
jsFileCompilationShortHandProperty.symbols
jsFileCompilationWithEnabledCompositeOption.symbols
jsFileCompilationWithOut.symbols
jsFileFunctionParametersAsOptional.symbols
jsNegativeElementAccessNotBound.symbols
jsdocAugments_qualifiedName.symbols
jsdocBindingInUnreachableCode.symbols
jsdocImportTypeReferenceToStringLiteral.symbols
jsdocImportTypeResolution.symbols
jsdocInvalidTokens.symbols
jsdocLiteral.symbols
jsdocParseHigherOrderFunction.symbols
jsdocParseMatchingBackticks.symbols
jsdocRestParameter_es6.symbols
jsdocSignatureOnReturnedFunction.symbols
jsdocTwoLineTypedef.symbols
jsdocTypeReferenceUseBeforeDef.symbols
jsdocTypecastNoTypeNoCrash.symbols
jsdocTypedefNoCrash.symbols
jsdocUnexpectedCharacter.symbols
jsdocVariadicType.symbols
jsxHash.symbols
jsxPreserveWithJsInput.symbols
lambdaASIEmit.symbols
lambdaExpression.symbols
letConstMatchingParameterNames.symbols
letDeclarations-es5-1.symbols
letDeclarations-es5.symbols
letDeclarations.symbols
letDeclarations2.symbols
letKeepNamesOfTopLevelItems.symbols
linkTagEmit1.symbols
literalTypes1.symbols
literals1.symbols
localAliasExportAssignment.symbols
localRequireFunction.symbols
localVariablesReturnedFromCatchBlocks.symbols
logicalAssignment1(target=es2015).symbols
logicalAssignment1(target=es2020).symbols
logicalAssignment1(target=es2021).symbols
logicalAssignment1(target=esnext).symbols
logicalAssignment10(target=es2015).symbols
logicalAssignment10(target=es2020).symbols
logicalAssignment10(target=es2021).symbols
logicalAssignment10(target=esnext).symbols
manyConstExports.symbols
mergeClassInterfaceAndModule.symbols
mergedModuleDeclarationCodeGen.symbols
mergedModuleDeclarationWithSharedExportedVar.symbols
missingSemicolonInModuleSpecifier.symbols
mixedPropertyElementAccessAssignmentDeclaration.symbols
mixingFunctionAndAmbientModule1.symbols
modKeyword.symbols
moduleExportsUnaryExpression.symbols
moduleNoEmit.symbols
moduleNoneOutFile.symbols
modulePrologueAMD.symbols
modulePrologueCommonjs.symbols
modulePrologueES6.symbols
modulePrologueSystem.symbols
modulePrologueUmd.symbols
moduleRedifinitionErrors.symbols
moduleResolutionNoResolve.symbols
moduleResolutionWithExtensions_notSupported3.symbols
moduleResolutionWithExtensions_withAmbientPresent.symbols
moduleResolutionWithSuffixes_empty.symbols
moduleResolutionWithSuffixes_notSpecified.symbols
moduleResolutionWithSuffixes_one.symbols
moduleResolutionWithSuffixes_oneBlank.symbols
moduleResolutionWithSuffixes_one_dirModuleWithIndex.symbols
moduleResolutionWithSuffixes_one_externalTSModule.symbols
moduleResolutionWithSuffixes_threeLastIsBlank1.symbols
moduleResolutionWithSuffixes_threeLastIsBlank2.symbols
moduleResolutionWithSuffixes_threeLastIsBlank3.symbols
moduleResolution_automaticTypeDirectiveNames.symbols
moduleResolution_explicitNodeModulesImport_implicitAny.symbols
moduleResolution_packageJson_notAtPackageRoot.symbols
moduleResolution_packageJson_notAtPackageRoot_fakeScopedPackage.symbols
moduleResolution_packageJson_scopedPackage.symbols
moduleResolution_packageJson_yesAtPackageRoot.symbols
moduleResolution_packageJson_yesAtPackageRoot_fakeScopedPackage.symbols
moduleResolution_packageJson_yesAtPackageRoot_mainFieldInSubDirectory.symbols
moduleResolution_relativeImportJsFile.symbols
moduleScopingBug.symbols
moduleUnassignedVariable.symbols
moduleVariables.symbols
moduleWithTryStatement1.symbols
module_augmentUninstantiatedModule.symbols
multiCallOverloads.symbols
nameCollisionWithBlockScopedVariable1.symbols
namedFunctionExpressionInModule.symbols
namespacesDeclaration1.symbols
narrowUnknownByTypeofObject.symbols
negativeZero.symbols
nestedBlockScopedBindings1.symbols
nestedBlockScopedBindings10.symbols
nestedBlockScopedBindings12.symbols
nestedBlockScopedBindings13.symbols
nestedBlockScopedBindings14.symbols
nestedBlockScopedBindings15.symbols
nestedBlockScopedBindings16.symbols
nestedBlockScopedBindings2.symbols
nestedBlockScopedBindings3.symbols
nestedBlockScopedBindings4.symbols
nestedBlockScopedBindings5.symbols
nestedBlockScopedBindings6.symbols
nestedBlockScopedBindings7.symbols
nestedBlockScopedBindings8.symbols
nestedLoopWithOnlyInnerLetCaptured.symbols
nestedModulePrivateAccess.symbols
nestedRecursiveLambda.symbols
nestedRedeclarationInES6AMD.symbols
nestedThisContainer.symbols
newLexicalEnvironmentForConvertedLoop.symbols
newLineFlagWithCRLF.symbols
newLineFlagWithLF.symbols
noBundledEmitFromNodeModules.symbols
noCircularDefinitionOnExportOfPrivateInMergedNamespace.symbols
noCollisionThisExpressionAndClassInGlobal.symbols
noCollisionThisExpressionAndVarInGlobal.symbols
noEmitAndComposite.symbols
noEmitAndCompositeListFilesOnly.symbols
noEmitAndIncremental.symbols
noEmitAndIncrementalListFilesOnly.symbols
noEmitHelpers.symbols
noErrorUsingImportExportModuleAugmentationInDeclarationFile1.symbols
noImplicitReturnInConstructors.symbols
noImplicitReturnsWithProtectedBlocks1.symbols
noImplicitUseStrict_amd.symbols
noImplicitUseStrict_commonjs.symbols
noImplicitUseStrict_es6.symbols
noImplicitUseStrict_system.symbols
noImplicitUseStrict_umd.symbols
noSelfOnVars.symbols
noUsedBeforeDefinedErrorInAmbientContext1.symbols
nodeModulesAllowJsDynamicImport(module=node12).symbols
nodeModulesAllowJsDynamicImport(module=nodenext).symbols
nodeModulesCjsFormatFileAlwaysHasDefault(module=node12).symbols
nodeModulesCjsFormatFileAlwaysHasDefault(module=nodenext).symbols
nodeModulesDynamicImport(module=node12).symbols
nodeModulesDynamicImport(module=nodenext).symbols
nodeModulesImportAssignments(module=node12).symbols
nodeModulesImportAssignments(module=nodenext).symbols
nodeModulesImportResolutionIntoExport(module=node12).symbols
nodeModulesImportResolutionIntoExport(module=nodenext).symbols
nodeResolution1.symbols
nodeResolution2.symbols
nodeResolution3.symbols
nodeResolution4.symbols
nodeResolution5.symbols
nodeResolution6.symbols
nodeResolution7.symbols
nodeResolution8.symbols
nonIterableRestElement1.symbols
nonIterableRestElement2.symbols
nonPrimitiveIndexingWithForIn.symbols
nonPrimitiveIndexingWithForInSupressError.symbols
nonPrimitiveRhsSideOfInExpression.symbols
nonstrictTemplateWithNotOctalPrintsAsIs.symbols
nullOrUndefinedTypeGuardIsOrderIndependent.symbols
nullishCoalescingOperator10.symbols
nullishCoalescingOperator2.symbols
nullishCoalescingOperator3.symbols
nullishCoalescingOperator6.symbols
nullishCoalescingOperator7.symbols
nullishCoalescingOperator_es2020.symbols
nullishCoalescingOperator_not_strict.symbols
numberOnLeftSideOfInExpression.symbols
objectRestCatchES5.symbols
objectSpreadComputedProperty.symbols
objectTypeWithStringNamedPropertyOfIllegalCharacters.symbols
optionalParamReferencingOtherParams1.symbols
optionalParamterAndVariableDeclaration.symbols
optionsInlineSourceMapSourceRoot.symbols
optionsSourcemapInlineSources.symbols
optionsSourcemapInlineSourcesMapRoot.symbols
optionsSourcemapInlineSourcesSourceRoot.symbols
outFilerootDirModuleNamesAmd.symbols
outFilerootDirModuleNamesSystem.symbols
outModuleConcatAmd.symbols
outModuleConcatCommonjsDeclarationOnly.symbols
outModuleConcatSystem.symbols
overload2.symbols
overloadCallTest.symbols
overloadOnConstNoStringImplementation.symbols
overloadWithCallbacksWithDifferingOptionalityOnArgs.symbols
packageJsonMain.symbols
parameterPropertyInitializerInInitializers.symbols
parameterPropertyReferencingOtherParameter.symbols
parameterReferenceInInitializer2.symbols
parenthesizedArrowExpressionASI.symbols
parenthesizedAsyncArrowFunction.symbols
parser579071.symbols
parser596700.symbols
parser645086_3.symbols
parser645086_4.symbols
parserAmbiguityWithBinaryOperator1.symbols
parserAmbiguityWithBinaryOperator2.symbols
parserAmbiguityWithBinaryOperator3.symbols
parserArrayLiteralExpression1.symbols
parserArrayLiteralExpression10.symbols
parserArrayLiteralExpression11.symbols
parserArrayLiteralExpression12.symbols
parserArrayLiteralExpression13.symbols
parserArrayLiteralExpression14.symbols
parserArrayLiteralExpression15.symbols
parserArrayLiteralExpression2.symbols
parserArrayLiteralExpression3.symbols
parserArrayLiteralExpression4.symbols
parserArrayLiteralExpression5.symbols
parserArrayLiteralExpression6.symbols
parserArrayLiteralExpression7.symbols
parserArrayLiteralExpression8.symbols
parserArrayLiteralExpression9.symbols
parserClassDeclaration23.symbols
parserClassDeclaration7.d.symbols
parserClassDeclarationIndexSignature1.symbols
parserConstructorDeclaration1.symbols
parserConstructorDeclaration5.symbols
parserES5ForOfStatement18.symbols
parserES5ForOfStatement19.symbols
parserES5SymbolIndexer1.symbols
parserES5SymbolIndexer2.symbols
parserEmptyStatement1.symbols
parserEnum3.symbols
parserEnum6.symbols
parserEnumDeclaration2.d.symbols
parserForOfStatement18.symbols
parserForOfStatement19.symbols
parserForOfStatement23.symbols
parserForOfStatement24.symbols
parserFunctionDeclaration8.symbols
parserFunctionPropertyAssignment3.symbols
parserIndexMemberDeclaration1.symbols
parserIndexMemberDeclaration6.symbols
parserInterfaceDeclaration5.symbols
parserInterfaceDeclaration7.symbols
parserMemberAccessorDeclaration5.symbols
parserMethodSignature5.symbols
parserMethodSignature6.symbols
parserModuleDeclaration3.d.symbols
parserModuleDeclaration4.symbols
parserModuleDeclaration6.symbols
parserNotRegex2.symbols
parserParenthesizedVariableAndFunctionInTernary.symbols
parserParenthesizedVariableAndParenthesizedFunctionInTernary.symbols
parserPropertySignature5.symbols
parserPropertySignature6.symbols
parserPropertySignature7.symbols
parserPropertySignature8.symbols
parserRegularExpressionDivideAmbiguity6.symbols
parserSymbolIndexer1.symbols
parserSymbolIndexer2.symbols
parserSymbolIndexer3.symbols
parserUnicode2.symbols
parserUnicode3.symbols
parserVariableStatement1.symbols
parserVariableStatement3.symbols
parserVariableStatement4.symbols
parserX_ArrowFunction4.symbols
parser_continueLabel.symbols
parservoidInQualifiedName0.symbols
parsingDeepParenthensizedExpression.symbols
partiallyAmbientClodule.symbols
partiallyAmbientFundule.symbols
partiallyAnnotatedFunctionWitoutTypeParameter.symbols
pathMappingBasedModuleResolution8_classic.symbols
pathMappingBasedModuleResolution8_node.symbols
pathMappingBasedModuleResolution_rootImport_aliasWithRoot.symbols
pathMappingBasedModuleResolution_rootImport_aliasWithRoot_multipleAliases.symbols
pathMappingBasedModuleResolution_rootImport_aliasWithRoot_realRootFile.symbols
pathMappingBasedModuleResolution_rootImport_noAliasWithRoot.symbols
pathMappingBasedModuleResolution_rootImport_noAliasWithRoot_realRootFile.symbols
pathMappingBasedModuleResolution_withExtension.symbols
pathMappingBasedModuleResolution_withExtensionInName.symbols
pathMappingBasedModuleResolution_withExtension_MapedToNodeModules.symbols
pinnedComments1.symbols
prefixIncrementAsOperandOfPlusExpression.symbols
prefixUnaryOperatorsOnExportedVariables.symbols
preserveUnusedImports.symbols
primitiveTypeAsmoduleName.symbols
privacyCheckTypeOfFunction.symbols
privacyCheckTypeOfInvisibleModuleError.symbols
privacyCheckTypeOfInvisibleModuleNoError.symbols
privateIdentifierExpando.symbols
propertyAccess6.symbols
propertyAssignmentOnImportedSymbol.symbols
quotedFunctionName1.symbols
quotedFunctionName2.symbols
quotedPropertyName1.symbols
quotedPropertyName2.symbols
randomSemicolons1.symbols
reExportDefaultExport.symbols
reachabilityCheckWithEmptyDefault.symbols
rectype.symbols
recur1.symbols
recursiveExportAssignmentAndFindAliasedType7.symbols
recursiveIdenticalOverloadResolution.symbols
recursiveInference1.symbols
recursiveInheritance2.symbols
recursiveMods.symbols
recursiveReturns.symbols
referenceTypesPreferedToPathIfPossible.symbols
requireAsFunctionInExternalModule.symbols
requireOfJsonFileWithModuleEmitUndefined.symbols
requireOfJsonFileWithModuleNodeResolutionEmitAmd.symbols
requireOfJsonFileWithModuleNodeResolutionEmitAmdOutFile.symbols
requireOfJsonFileWithModuleNodeResolutionEmitEs2015.symbols
requireOfJsonFileWithModuleNodeResolutionEmitEsNext.symbols
requireOfJsonFileWithModuleNodeResolutionEmitUndefined.symbols
requireOfJsonFileWithoutEsModuleInterop.symbols
requireOfJsonFile_PathMapping.symbols
reservedNameOnModuleImport.symbols
resolveInterfaceNameWithSameLetDeclarationName1.symbols
resolveInterfaceNameWithSameLetDeclarationName2.symbols
resolveTypeAliasWithSameLetDeclarationName1.symbols
restElementWithAssignmentPattern1.symbols
restElementWithAssignmentPattern3.symbols
restElementWithAssignmentPattern5.symbols
restElementWithNumberPropertyName.symbols
restParameterInDownlevelGenerator.symbols
returnStatement1.symbols
reuseInnerModuleMember.symbols
scopedPackages.symbols
scopedPackagesClassic.symbols
seeTag2.symbols
separate1-2.symbols
shebang.symbols
shebangBeforeReferences.symbols
shorthandOfExportedEntity01_targetES2015_CommonJS.symbols
shorthandOfExportedEntity02_targetES5_CommonJS.symbols
singletonLabeledTuple.symbols
sourceMap-InterfacePrecedingVariableDeclaration1.symbols
sourceMap-LineBreaks.symbols
sourceMapForFunctionInInternalModuleWithCommentPrecedingStatement01.symbols
sourceMapForFunctionWithCommentPrecedingStatement01.symbols
sourceMapPercentEncoded.symbols
sourceMapValidationDestructuringVariableStatementArrayBindingPattern6.symbols
sourceMapValidationDestructuringVariableStatementArrayBindingPattern7.symbols
sourceMapValidationDo.symbols
sourceMapValidationFunctionExpressions.symbols
sourceMapValidationFunctions.symbols
sourceMapValidationIfElse.symbols
sourceMapValidationLabeled.symbols
sourceMapValidationLambdaSpanningMultipleLines.symbols
sourceMapValidationSwitch.symbols
sourceMapValidationVarInDownLevelGenerator.symbols
sourceMapValidationVariables.symbols
sourceMapValidationWhile.symbols
sourceMapWithCaseSensitiveFileNames.symbols
sourceMapWithCaseSensitiveFileNamesAndOutDir.symbols
sourceMapWithNonCaseSensitiveFileNames.symbols
sourceMapWithNonCaseSensitiveFileNamesAndOutDir.symbols
specializedSignatureInInterface.symbols
staticIndexSignatureAndNormalIndexSignature.symbols
stradac.symbols
stringLiteralCheckedInIf01.symbols
stringLiteralCheckedInIf02.symbols
stringLiteralMatchedInSwitch01.symbols
stringLiteralObjectLiteralDeclaration1.symbols
stringLiteralPropertyNameWithLineContinuation1.symbols
stringLiteralTypesAndParenthesizedExpressions01.symbols
stringLiteralTypesAndTuples01.symbols
stringLiteralTypesInUnionTypes01.symbols
stringLiteralTypesInUnionTypes02.symbols
stringLiteralTypesInUnionTypes03.symbols
stringLiteralTypesInUnionTypes04.symbols
stringLiteralTypesOverloadAssignability03.symbols
stringLiteralTypesOverloadAssignability04.symbols
stringLiteralTypesOverloadAssignability05.symbols
stringLiteralTypesOverloads01.symbols
stringLiteralTypesOverloads02.symbols
stringLiteralTypesOverloads04.symbols
stringLiteralTypesTypePredicates01.symbols
stringLiteralTypesWithVariousOperators01.symbols
stringLiteralsAssertionsInEqualityComparisons01.symbols
stringLiteralsWithTypeAssertions01.symbols
stringNamedPropertyAccess.symbols
structuralTypeInDeclareFileForModule.symbols
styleOptions.symbols
switchCaseNarrowsMatchingClausesEvenWhenNonMatchingClausesExist.symbols
switchFallThroughs.symbols
symbolLinkDeclarationEmitModuleNamesImportRef.symbols
symbolProperty1.symbols
symbolProperty48.symbols
symbolProperty49.symbols
symbolType19.symbols
systemDefaultExportCommentValidity.symbols
systemExportAssignment.symbols
systemExportAssignment3.symbols
systemModule1.symbols
systemModule4.symbols
systemModule6.symbols
systemModule7.symbols
systemModuleDeclarationMerging.symbols
systemModuleTrailingComments.symbols
systemObjectShorthandRename.symbols
taggedTemplateStringsHexadecimalEscapes.symbols
taggedTemplateStringsHexadecimalEscapesES6.symbols
taggedTemplateStringsPlainCharactersThatArePartsOfEscapes01.symbols
taggedTemplateStringsPlainCharactersThatArePartsOfEscapes01_ES6.symbols
taggedTemplateStringsPlainCharactersThatArePartsOfEscapes02_ES6.symbols
taggedTemplateStringsWithMultilineTemplate.symbols
taggedTemplateStringsWithMultilineTemplateES6.symbols
taggedTemplateStringsWithTagNamedDeclare.symbols
taggedTemplateStringsWithTagNamedDeclareES6.symbols
taggedTemplateStringsWithTagsTypedAsAny.symbols
taggedTemplateStringsWithTagsTypedAsAnyES6.symbols
taggedTemplateStringsWithUnicodeEscapes.symbols
taggedTemplateStringsWithUnicodeEscapesES6.symbols
taggedTemplateStringsWithWhitespaceEscapes.symbols
taggedTemplateStringsWithWhitespaceEscapesES6.symbols
targetTypeTest2.symbols
templateLiteralsSourceMap.symbols
templateStringBinaryOperations.symbols
templateStringBinaryOperationsES6.symbols
templateStringControlCharacterEscapes01.symbols
templateStringControlCharacterEscapes01_ES6.symbols
templateStringControlCharacterEscapes02.symbols
templateStringControlCharacterEscapes02_ES6.symbols
templateStringControlCharacterEscapes03.symbols
templateStringControlCharacterEscapes03_ES6.symbols
templateStringControlCharacterEscapes04.symbols
templateStringControlCharacterEscapes04_ES6.symbols
templateStringInArray.symbols
templateStringInArrowFunction.symbols
templateStringInArrowFunctionES6.symbols
templateStringInConditional.symbols
templateStringInConditionalES6.symbols
templateStringInEqualityChecks.symbols
templateStringInEqualityChecksES6.symbols
templateStringInFunctionExpression.symbols
templateStringInFunctionExpressionES6.symbols
templateStringInParentheses.symbols
templateStringInParenthesesES6.symbols
templateStringInTypeAssertion.symbols
templateStringInTypeAssertionES6.symbols
templateStringInTypeOf.symbols
templateStringInTypeOfES6.symbols
templateStringInUnaryPlus.symbols
templateStringInUnaryPlusES6.symbols
templateStringInYieldKeyword.symbols
templateStringWithBackslashEscapes01.symbols
templateStringWithBackslashEscapes01_ES6.symbols
templateStringWithEmbeddedAddition.symbols
templateStringWithEmbeddedAdditionES6.symbols
templateStringWithEmbeddedArray.symbols
templateStringWithEmbeddedArrayES6.symbols
templateStringWithEmbeddedArrowFunction.symbols
templateStringWithEmbeddedArrowFunctionES6.symbols
templateStringWithEmbeddedConditional.symbols
templateStringWithEmbeddedConditionalES6.symbols
templateStringWithEmbeddedDivision.symbols
templateStringWithEmbeddedDivisionES6.symbols
templateStringWithEmbeddedFunctionExpression.symbols
templateStringWithEmbeddedFunctionExpressionES6.symbols
templateStringWithEmbeddedModulo.symbols
templateStringWithEmbeddedModuloES6.symbols
templateStringWithEmbeddedMultiplication.symbols
templateStringWithEmbeddedMultiplicationES6.symbols
templateStringWithEmbeddedTemplateString.symbols
templateStringWithEmbeddedTemplateStringES6.symbols
templateStringWithEmbeddedTypeAssertionOnAddition.symbols
templateStringWithEmbeddedTypeAssertionOnAdditionES6.symbols
templateStringWithEmbeddedTypeOfOperator.symbols
templateStringWithEmbeddedTypeOfOperatorES6.symbols
templateStringWithEmbeddedYieldKeywordES6.symbols
templateStringWithEmptyLiteralPortions.symbols
templateStringWithEmptyLiteralPortionsES6.symbols
ternaryExpressionSourceMap.symbols
testContainerList.symbols
thisExpressionInIndexExpression.symbols
thisReferencedInFunctionInsideArrowFunction1.symbols
topLevelAwait.3(module=es2022).symbols
topLevelAwait.3(module=esnext).symbols
transformArrowInBlockScopedLoopVarInitializer.symbols
tripleSlashReferenceAbsoluteWindowsPath.symbols
ts-expect-error-nocheck-js.symbols
ts-expect-error-nocheck.symbols
tsxDynamicTagName1.symbols
tsxElementResolution19.symbols
tsxPreserveEmit2.symbols
tsxPreserveEmit3.symbols
tsxReactEmit3.symbols
typeAliasDeclareKeyword01.d.symbols
typeAliasExport.symbols
typeFromJSInitializer2.symbols
typeFromJSInitializer3.symbols
typeFromPropertyAssignment38.symbols
typeFromPropertyAssignment39.symbols
typeGuardEnums.symbols
typeGuardNarrowsIndexedAccessOfKnownProperty3.symbols
typeGuardNarrowsToLiteralType.symbols
typeGuardNarrowsToLiteralTypeUnion.symbols
typeGuardNesting.symbols
typeGuardOfFormNotExpr.symbols
typeGuardOfFormTypeOfIsOrderIndependent.symbols
typeGuardOnContainerTypeNoHang.symbols
typeGuardTautologicalConsistiency.symbols
typeGuardTypeOfUndefined.symbols
typeGuardsInDoStatement.symbols
typeGuardsInForStatement.symbols
typeGuardsInWhileStatement.symbols
typePredicatesInUnion2.symbols
typeQuery.symbols
typeRootsFromMultipleNodeModulesDirectories.symbols
typeRootsFromNodeModulesInParentDirectory.symbols
typeTagWithGenericSignature.symbols
typesVersions.ambientModules.symbols
typesVersions.emptyTypes.symbols
typesVersions.justIndex.symbols
typesVersions.multiFile.symbols
typesVersionsDeclarationEmit.ambient.symbols
typesVersionsDeclarationEmit.multiFile.symbols
typingsLookup4.symbols
typingsLookupAmd.symbols
umdNamedAmdMode.symbols
unexportedInstanceClassVariables.symbols
unicodeExtendedEscapesInRegularExpressions01_ES5.symbols
unicodeExtendedEscapesInRegularExpressions01_ES6.symbols
unicodeExtendedEscapesInRegularExpressions02_ES5.symbols
unicodeExtendedEscapesInRegularExpressions02_ES6.symbols
unicodeExtendedEscapesInRegularExpressions03_ES5.symbols
unicodeExtendedEscapesInRegularExpressions03_ES6.symbols
unicodeExtendedEscapesInRegularExpressions04_ES5.symbols
unicodeExtendedEscapesInRegularExpressions04_ES6.symbols
unicodeExtendedEscapesInRegularExpressions05_ES5.symbols
unicodeExtendedEscapesInRegularExpressions05_ES6.symbols
unicodeExtendedEscapesInRegularExpressions06_ES5.symbols
unicodeExtendedEscapesInRegularExpressions06_ES6.symbols
unicodeExtendedEscapesInRegularExpressions07_ES5.symbols
unicodeExtendedEscapesInRegularExpressions07_ES6.symbols
unicodeExtendedEscapesInRegularExpressions08_ES5.symbols
unicodeExtendedEscapesInRegularExpressions08_ES6.symbols
unicodeExtendedEscapesInRegularExpressions09_ES5.symbols
unicodeExtendedEscapesInRegularExpressions09_ES6.symbols
unicodeExtendedEscapesInRegularExpressions10_ES5.symbols
unicodeExtendedEscapesInRegularExpressions10_ES6.symbols
unicodeExtendedEscapesInRegularExpressions11_ES5.symbols
unicodeExtendedEscapesInRegularExpressions11_ES6.symbols
unicodeExtendedEscapesInRegularExpressions12_ES5.symbols
unicodeExtendedEscapesInRegularExpressions12_ES6.symbols
unicodeExtendedEscapesInRegularExpressions13_ES5.symbols
unicodeExtendedEscapesInRegularExpressions13_ES6.symbols
unicodeExtendedEscapesInRegularExpressions14_ES5.symbols
unicodeExtendedEscapesInRegularExpressions14_ES6.symbols
unicodeExtendedEscapesInRegularExpressions15_ES5.symbols
unicodeExtendedEscapesInRegularExpressions15_ES6.symbols
unicodeExtendedEscapesInRegularExpressions16_ES5.symbols
unicodeExtendedEscapesInRegularExpressions16_ES6.symbols
unicodeExtendedEscapesInRegularExpressions17_ES5.symbols
unicodeExtendedEscapesInRegularExpressions17_ES6.symbols
unicodeExtendedEscapesInRegularExpressions18_ES5.symbols
unicodeExtendedEscapesInRegularExpressions18_ES6.symbols
unicodeExtendedEscapesInRegularExpressions19_ES5.symbols
unicodeExtendedEscapesInRegularExpressions19_ES6.symbols
unicodeExtendedEscapesInStrings01_ES5.symbols
unicodeExtendedEscapesInStrings01_ES6.symbols
unicodeExtendedEscapesInStrings02_ES5.symbols
unicodeExtendedEscapesInStrings02_ES6.symbols
unicodeExtendedEscapesInStrings03_ES5.symbols
unicodeExtendedEscapesInStrings03_ES6.symbols
unicodeExtendedEscapesInStrings04_ES5.symbols
unicodeExtendedEscapesInStrings04_ES6.symbols
unicodeExtendedEscapesInStrings05_ES5.symbols
unicodeExtendedEscapesInStrings05_ES6.symbols
unicodeExtendedEscapesInStrings06_ES5.symbols
unicodeExtendedEscapesInStrings06_ES6.symbols
unicodeExtendedEscapesInStrings08_ES5.symbols
unicodeExtendedEscapesInStrings08_ES6.symbols
unicodeExtendedEscapesInStrings09_ES5.symbols
unicodeExtendedEscapesInStrings09_ES6.symbols
unicodeExtendedEscapesInStrings10_ES5.symbols
unicodeExtendedEscapesInStrings10_ES6.symbols
unicodeExtendedEscapesInStrings11_ES5.symbols
unicodeExtendedEscapesInStrings11_ES6.symbols
unicodeExtendedEscapesInStrings13_ES5.symbols
unicodeExtendedEscapesInStrings13_ES6.symbols
unicodeExtendedEscapesInStrings15_ES5.symbols
unicodeExtendedEscapesInStrings15_ES6.symbols
unicodeExtendedEscapesInStrings16_ES5.symbols
unicodeExtendedEscapesInStrings16_ES6.symbols
unicodeExtendedEscapesInStrings18_ES5.symbols
unicodeExtendedEscapesInStrings18_ES6.symbols
unicodeExtendedEscapesInStrings23_ES5.symbols
unicodeExtendedEscapesInStrings23_ES6.symbols
unicodeExtendedEscapesInTemplates01_ES5.symbols
unicodeExtendedEscapesInTemplates01_ES6.symbols
unicodeExtendedEscapesInTemplates02_ES5.symbols
unicodeExtendedEscapesInTemplates02_ES6.symbols
unicodeExtendedEscapesInTemplates03_ES5.symbols
unicodeExtendedEscapesInTemplates03_ES6.symbols
unicodeExtendedEscapesInTemplates04_ES5.symbols
unicodeExtendedEscapesInTemplates04_ES6.symbols
unicodeExtendedEscapesInTemplates05_ES5.symbols
unicodeExtendedEscapesInTemplates05_ES6.symbols
unicodeExtendedEscapesInTemplates06_ES5.symbols
unicodeExtendedEscapesInTemplates06_ES6.symbols
unicodeExtendedEscapesInTemplates08_ES5.symbols
unicodeExtendedEscapesInTemplates08_ES6.symbols
unicodeExtendedEscapesInTemplates09_ES5.symbols
unicodeExtendedEscapesInTemplates09_ES6.symbols
unicodeExtendedEscapesInTemplates10_ES5.symbols
unicodeExtendedEscapesInTemplates10_ES6.symbols
unicodeExtendedEscapesInTemplates11_ES5.symbols
unicodeExtendedEscapesInTemplates11_ES6.symbols
unicodeExtendedEscapesInTemplates13_ES5.symbols
unicodeExtendedEscapesInTemplates13_ES6.symbols
unicodeExtendedEscapesInTemplates15_ES5.symbols
unicodeExtendedEscapesInTemplates15_ES6.symbols
unicodeExtendedEscapesInTemplates16_ES5.symbols
unicodeExtendedEscapesInTemplates16_ES6.symbols
unicodeExtendedEscapesInTemplates18_ES5.symbols
unicodeExtendedEscapesInTemplates18_ES6.symbols
unicodeExtendedEscapesInTemplates20_ES5.symbols
unicodeExtendedEscapesInTemplates20_ES6.symbols
unicodeStringLiteral.symbols
unionTypeCallSignatures3.symbols
unionTypeReduction.symbols
unreachableFlowAfterFinally.symbols
untypedArgumentInLambdaExpression.symbols
untypedModuleImport.symbols
untypedModuleImport_vsAmbient.symbols
unusedClassesinNamespace3.symbols
unusedInterfaceinNamespace4.symbols
unusedInterfaceinNamespace5.symbols
unusedParameterUsedInTypeOf.symbols
unusedSemicolonInClass.symbols
validUndefinedValues.symbols
validVoidAssignments.symbols
validVoidValues.symbols
varArgParamTypeCheck.symbols
varInFunctionInVarInitializer.symbols
variableDeclarator1.symbols
visSyntax.symbols
voidFunctionAssignmentCompat.symbols
voidOperator1.symbols
whileBreakStatements.symbols
whileContinueStatements.symbols
wideningTuples2.symbols
wideningTuples6.symbols

ts/babel

Test result main count This PR count Difference
Total 588 588 0
Passed 519 519 0
Failed 69 69 0
Panics 0 0 0
Coverage 88.27% 88.27% 0.00%

ts/microsoft

Test result main count This PR count Difference
Total 16257 16257 0
Passed 12397 12397 0
Failed 3860 3860 0
Panics 0 0 0
Coverage 76.26% 76.26% 0.00%

@xunilrj xunilrj temporarily deployed to aws August 22, 2022 08:23 Inactive
@xunilrj xunilrj changed the title draft: improvements to scope resolution feat(rome_js_semantic): Improvements to scope resolution Aug 22, 2022
@xunilrj xunilrj requested a review from leops as a code owner August 22, 2022 10:13
@xunilrj xunilrj temporarily deployed to aws August 22, 2022 10:13 Inactive
@xunilrj xunilrj force-pushed the feature/semantic-event-improv-scoping branch from 49271e1 to b78e1bd Compare August 22, 2022 12:34
@xunilrj xunilrj temporarily deployed to aws August 22, 2022 12:34 Inactive
@xunilrj xunilrj temporarily deployed to aws August 22, 2022 12:35 Inactive
@xunilrj xunilrj force-pushed the feature/semantic-event-improv-scoping branch from b7677fb to 5305bcf Compare August 22, 2022 12:37
@xunilrj xunilrj temporarily deployed to aws August 22, 2022 12:37 Inactive
@xunilrj xunilrj force-pushed the feature/semantic-event-improv-scoping branch from 5305bcf to a768331 Compare August 22, 2022 18:45
@xunilrj xunilrj temporarily deployed to aws August 22, 2022 18:45 Inactive
@ematipico
Copy link
Contributor

3 - Some tools create scopes that, as I understand, are not necessary.

Out of curiosity, can you share some example?

Copy link
Contributor

@ematipico ematipico left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • there's a a.txt file to remove.
  • there's a scopes.txt file to remove
  • we should use pnpm as package manager, unless there are exceptions (I suppose here we can safely use pnpm)

Comment on lines +270 to +272
| TS_INTERFACE_DECLARATION
| TS_ENUM_DECLARATION
| TS_TYPE_ALIAS_DECLARATION => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we really create scopes for TS only syntax?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. Any reason you think we should not?

@@ -0,0 +1,40 @@
const parser = require("@babel/parser");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this package be part of the PR? If so, could you please update the description of the PR and explain what's this used for?

Copy link
Contributor Author

@xunilrj xunilrj Aug 23, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this package be part of the PR?

No. I will move these to another place. And push them in another PR.

@xunilrj xunilrj force-pushed the feature/semantic-event-improv-scoping branch from a768331 to bca3277 Compare August 23, 2022 11:42
@xunilrj xunilrj temporarily deployed to aws August 23, 2022 11:42 Inactive
@xunilrj
Copy link
Contributor Author

xunilrj commented Aug 23, 2022

  • there's a a.txt file to remove.
  • there's a scopes.txt file to remove

Argh.. Sorry, I thought I had removed these.

@xunilrj xunilrj merged commit a997be9 into main Aug 23, 2022
@xunilrj xunilrj deleted the feature/semantic-event-improv-scoping branch August 23, 2022 12:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载