Class PullTypeResolver

Index

Constructor methods

Properties

Methods

Constructor methods

constructor(compilationSettings: ImmutableCompilationSettings, semanticInfoChain: SemanticInfoChain): PullTypeResolver

Parameters

Returns

PullTypeResolver

Properties

private _cachedAnyTypeArgs: any

private _cachedArrayInterfaceType: any

private _cachedBooleanInterfaceType: any

private _cachedFunctionArgumentsSymbol: any

private _cachedFunctionInterfaceType: any

private _cachedIArgumentsInterfaceType: any

private _cachedNumberInterfaceType: any

private _cachedObjectInterfaceType: any

private _cachedRegExpInterfaceType: any

private _cachedStringInterfaceType: any

private assignableCache: any

private compilationSettings: any

public static globalTypeCheckPhase: number

private identicalCache: any

private inResolvingOtherDeclsWalker: any

private postTypeCheckWorkitems: any

public semanticInfoChain: SemanticInfoChain

private subtypeCache: any

private typeCheckCallBacks: any

Methods

public _addUnhiddenSignaturesFromBaseType(derivedTypeSignatures: PullSignatureSymbol[], baseTypeSignatures: PullSignatureSymbol[], signaturesBeingAggregated: PullSignatureSymbol[])

Parameters

public _getBothKindsOfIndexSignatures(enclosingType: PullTypeSymbol, context: PullTypeResolutionContext, includeAugmentedType: boolean): IndexSignatureInfo

Parameters

Returns

IndexSignatureInfo

public _getNamedPropertySymbolOfAugmentedType(symbolName: string, parent: PullTypeSymbol): PullSymbol

Parameters

Returns

PullSymbol

private addFilteredDecls(decls: any, declSearchKind: any, result: any): any

Parameters

  • decls: any
  • declSearchKind: any
  • result: any

Returns

any

private alterPotentialGenericFunctionTypeToInstantiatedFunctionTypeForTypeArgumentInference(expressionSymbol: any, context: any): any

Parameters

  • expressionSymbol: any
  • context: any

Returns

any

private baseListPrivacyErrorReporter(classOrInterface: any, declSymbol: any, baseAst: any, isExtendedType: any, symbol: any, context: any): any

Parameters

  • classOrInterface: any
  • declSymbol: any
  • baseAst: any
  • isExtendedType: any
  • symbol: any
  • context: any

Returns

any

private bestCommonTypeOfThreeTypes(type1: any, type2: any, type3: any, context: any): any

Parameters

  • type1: any
  • type2: any
  • type3: any
  • context: any

Returns

any

private bestCommonTypeOfTwoTypes(type1: any, type2: any, context: any): any

Parameters

  • type1: any
  • type2: any
  • context: any

Returns

any

private bindObjectLiteralMembers(objectLiteralDeclaration: any, objectLiteralTypeSymbol: any, objectLiteralMembers: any, isUsingExistingSymbol: any, pullTypeContext: any): any

Parameters

  • objectLiteralDeclaration: any
  • objectLiteralTypeSymbol: any
  • objectLiteralMembers: any
  • isUsingExistingSymbol: any
  • pullTypeContext: any

Returns

any

private cachedArrayInterfaceType(): any

Returns

any

private cachedBooleanInterfaceType(): any

Returns

any

private cachedFunctionArgumentsSymbol(): any

Returns

any

private cachedFunctionInterfaceType(): any

Returns

any

private cachedIArgumentsInterfaceType(): any

Returns

any

private cachedNumberInterfaceType(): any

Returns

any

private cachedObjectInterfaceType(): any

Returns

any

private cachedRegExpInterfaceType(): any

Returns

any

private cachedStringInterfaceType(): any

Returns

any

private canTypeCheckAST(ast: any, context: any): any

Parameters

  • ast: any
  • context: any

Returns

any

private checkArgumentsCollides(ast: any, context: any): any

Parameters

  • ast: any
  • context: any

Returns

any

private checkAssignability(ast: any, source: any, target: any, context: any): any

Parameters

  • ast: any
  • source: any
  • target: any
  • context: any

Returns

any

private checkExternalModuleRequireExportsCollides(ast: any, name: any, context: any): any

Parameters

  • ast: any
  • name: any
  • context: any

Returns

any

private checkForPrivateMemberAccess(name: any, expressionType: any, resolvedName: any, context: any): any

Parameters

  • name: any
  • expressionType: any
  • resolvedName: any
  • context: any

Returns

any

private checkForSuperMemberAccess(expression: any, name: any, resolvedName: any, context: any): any

Parameters

  • expression: any
  • name: any
  • resolvedName: any
  • context: any

Returns

any

private checkForThisCaptureInArrowFunction(expression: any): any

Parameters

  • expression: any

Returns

any

private checkFunctionTypePrivacy(funcDeclAST: any, isStatic: any, typeParameters: any, parameters: any, returnTypeAnnotation: any, block: any, context: any): any

Parameters

  • funcDeclAST: any
  • isStatic: any
  • typeParameters: any
  • parameters: any
  • returnTypeAnnotation: any
  • block: any
  • context: any

Returns

any

private checkIfGetterAndSetterTypeMatch(funcDeclAST: any, context: any): any

Parameters

  • funcDeclAST: any
  • context: any

Returns

any

private checkIndexOfRestArgumentInitializationCollides(ast: any, isDeclaration: any, context: any): any

Parameters

  • ast: any
  • isDeclaration: any
  • context: any

Returns

any

private checkIndexSignatureIdentityBetweenBases(interfaceName: any, interfaceSymbol: any, baseTypeSymbol: any, allInheritedSignatures: any, derivedTypeHasOwnNumberSignature: any, derivedTypeHasOwnStringSignature: any, context: any): any

Parameters

  • interfaceName: any
  • interfaceSymbol: any
  • baseTypeSymbol: any
  • allInheritedSignatures: any
  • derivedTypeHasOwnNumberSignature: any
  • derivedTypeHasOwnStringSignature: any
  • context: any

Returns

any

private checkInheritedMembersAgainstInheritedIndexSignatures(interfaceName: any, interfaceSymbol: any, inheritedIndexSignatures: any, inheritedMembers: any, context: any): any

Parameters

  • interfaceName: any
  • interfaceSymbol: any
  • inheritedIndexSignatures: any
  • inheritedMembers: any
  • context: any

Returns

any

private checkInitializersInEnumDeclarations(decl: any, context: any): any

Parameters

  • decl: any
  • context: any

Returns

any

private checkInterfaceDeclForIdenticalTypeParameters(interfaceDeclAST: any, context: any): any

Parameters

  • interfaceDeclAST: any
  • context: any

Returns

any

private checkNameAsPartOfInitializerExpressionForInstanceMemberVariable(nameAST: any, nameSymbol: any, context: any): any

Parameters

  • nameAST: any
  • nameSymbol: any
  • context: any

Returns

any

private checkNameForCompilerGeneratedDeclarationCollision(astWithName: any, isDeclaration: any, name: any, context: any): any

Parameters

  • astWithName: any
  • isDeclaration: any
  • name: any
  • context: any

Returns

any

private checkNamedPropertyIdentityBetweenBases(interfaceName: any, interfaceSymbol: any, baseTypeSymbol: any, inheritedMembersMap: any, context: any): any

Parameters

  • interfaceName: any
  • interfaceSymbol: any
  • baseTypeSymbol: any
  • inheritedMembersMap: any
  • context: any

Returns

any

private checkSuperCaptureVariableCollides(superAST: any, isDeclaration: any, context: any): any

Parameters

  • superAST: any
  • isDeclaration: any
  • context: any

Returns

any

private checkSymbolPrivacy(declSymbol: any, symbol: any, privacyErrorReporter: any): any

Parameters

  • declSymbol: any
  • symbol: any
  • privacyErrorReporter: any

Returns

any

private checkThatInheritedNumberSignatureIsSubtypeOfInheritedStringSignature(interfaceName: any, interfaceSymbol: any, inheritedIndexSignatures: any, context: any): any

Parameters

  • interfaceName: any
  • interfaceSymbol: any
  • inheritedIndexSignatures: any
  • context: any

Returns

any

private checkThatNonVoidFunctionHasReturnExpressionOrThrowStatement(functionDecl: any, returnTypeAnnotation: any, returnTypeSymbol: any, block: any, context: any): any

Parameters

  • functionDecl: any
  • returnTypeAnnotation: any
  • returnTypeSymbol: any
  • block: any
  • context: any

Returns

any

private checkThisCaptureVariableCollides(_thisAST: any, isDeclaration: any, context: any): any

Parameters

  • _thisAST: any
  • isDeclaration: any
  • context: any

Returns

any

private checkTypeCompatibilityBetweenBases(name: any, typeSymbol: any, context: any): any

Parameters

  • name: any
  • typeSymbol: any
  • context: any

Returns

any

private checkTypeForDuplicateIndexSignatures(enclosingTypeSymbol: any): any

Parameters

  • enclosingTypeSymbol: any

Returns

any

private checkTypePrivacyOfSignatures(declSymbol: any, signatures: any, privacyErrorReporter: any): any

Parameters

  • declSymbol: any
  • signatures: any
  • privacyErrorReporter: any

Returns

any

private checkUniquenessOfImportNames(decls: any, doesNameExistOutside?: any): any

Parameters

  • decls: any
  • doesNameExistOutside?: any optional

Returns

any

private computeArrayLiteralExpressionSymbol(arrayLit: any, isContextuallyTyped: any, context: any): any

Parameters

  • arrayLit: any
  • isContextuallyTyped: any
  • context: any

Returns

any

private computeDottedNameExpression(expression: any, name: any, context: any, checkSuperPrivateAndStaticAccess: any): any

Parameters

  • expression: any
  • name: any
  • context: any
  • checkSuperPrivateAndStaticAccess: any

Returns

any

private computeDottedNameExpressionFromLHS(lhs: any, expression: any, name: any, context: any, checkSuperPrivateAndStaticAccess: any): any

Parameters

  • lhs: any
  • expression: any
  • name: any
  • context: any
  • checkSuperPrivateAndStaticAccess: any

Returns

any

private computeElementAccessExpressionSymbolAndDiagnostic(callEx: any, context: any): any

Parameters

  • callEx: any
  • context: any

Returns

any

private computeInvocationExpressionSymbol(callEx: any, context: any, additionalResults: any): any

Parameters

  • callEx: any
  • context: any
  • additionalResults: any

Returns

any

private computeNameExpression(nameAST: any, context: any): any

Parameters

  • nameAST: any
  • context: any

Returns

any

private computeObjectCreationExpressionSymbol(callEx: any, context: any, additionalResults: any): any

Parameters

  • callEx: any
  • context: any
  • additionalResults: any

Returns

any

private computeObjectLiteralExpression(objectLitAST: any, isContextuallyTyped: any, context: any, additionalResults?: any): any

Parameters

  • objectLitAST: any
  • isContextuallyTyped: any
  • context: any
  • additionalResults?: any optional

Returns

any

private computeQualifiedName(dottedNameAST: any, context: any): any

Parameters

  • dottedNameAST: any
  • context: any

Returns

any

private computeTypeNameExpression(nameAST: any, context: any): any

Parameters

  • nameAST: any
  • context: any

Returns

any

private computeTypeOfConditionalExpression(leftType: any, rightType: any, isContextuallyTyped: any, context: any): any

Parameters

  • leftType: any
  • rightType: any
  • isContextuallyTyped: any
  • context: any

Returns

any

private computeTypeReferenceSymbol(term: any, context: any): any

Parameters

  • term: any
  • context: any

Returns

any

private computeValueSymbolFromAST(valueDeclAST: any, context: any): any

Parameters

  • valueDeclAST: any
  • context: any

Returns

any

private conditionExpressionTypesAreValid(leftType: any, rightType: any, expressionType: any, isContextuallyTyped: any, context: any): any

Parameters

  • leftType: any
  • rightType: any
  • expressionType: any
  • isContextuallyTyped: any
  • context: any

Returns

any

private constructorHasSuperCall(constructorDecl: any): any

Parameters

  • constructorDecl: any

Returns

any

private containsSingleThrowStatement(block: any): any

Parameters

  • block: any

Returns

any

public createInstantiatedType(type: PullTypeSymbol, typeArguments: PullTypeSymbol[]): PullTypeSymbol

Parameters

Returns

PullTypeSymbol

private determineRelevantIndexerForMember(member: any, numberIndexSignature: any, stringIndexSignature: any): any

Parameters

  • member: any
  • numberIndexSignature: any
  • stringIndexSignature: any

Returns

any

private enclosingClassIsDerived(classDecl: any): any

Parameters

  • classDecl: any

Returns

any

private ensureAllSymbolsAreBound(containerSymbol: any): any

Parameters

  • containerSymbol: any

Returns

any

private filterSymbol(symbol: any, kind: any, enclosingDecl: any, context: any): any

Parameters

  • symbol: any
  • kind: any
  • enclosingDecl: any
  • context: any

Returns

any

public findBestCommonType(collection: IPullTypeCollection, context: PullTypeResolutionContext, comparisonInfo?: TypeComparisonInfo): PullTypeSymbol

Parameters

Returns

PullTypeSymbol

private findConstructorDeclOfEnclosingType(decl: any): any

Parameters

  • decl: any

Returns

any

private functionArgumentTypePrivacyErrorReporter(declAST: any, isStatic: any, parameters: any, argIndex: any, paramSymbol: any, symbol: any, context: any): any

Parameters

  • declAST: any
  • isStatic: any
  • parameters: any
  • argIndex: any
  • paramSymbol: any
  • symbol: any
  • context: any

Returns

any

private functionReturnTypePrivacyErrorReporter(declAST: any, isStatic: any, returnTypeAnnotation: any, block: any, funcReturnType: any, symbol: any, context: any): any

Parameters

  • declAST: any
  • isStatic: any
  • returnTypeAnnotation: any
  • block: any
  • funcReturnType: any
  • symbol: any
  • context: any

Returns

any

private functionTypeArgumentArgumentTypePrivacyErrorReporter(declAST: any, isStatic: any, typeParameterAST: any, typeParameter: any, symbol: any, context: any): any

Parameters

  • declAST: any
  • isStatic: any
  • typeParameterAST: any
  • typeParameter: any
  • symbol: any
  • context: any

Returns

any

private genericTypeIsUsedWithoutRequiredTypeArguments(typeSymbol: any, term: any, context: any): any

Parameters

  • typeSymbol: any
  • term: any
  • context: any

Returns

any

public getASTForDecl(decl: PullDecl): AST

Parameters

Returns

AST

private getApparentType(type: any): any

Parameters

  • type: any

Returns

any

public getArrayNamedType(): PullTypeSymbol

Returns

PullTypeSymbol

private getArrayType(elementType: any): any

Parameters

  • elementType: any

Returns

any

private getBothKindsOfIndexSignaturesExcludingAugmentedType(enclosingType: any, context: any): any

Parameters

  • enclosingType: any
  • context: any

Returns

any

private getBothKindsOfIndexSignaturesIncludingAugmentedType(enclosingType: any, context: any): any

Parameters

  • enclosingType: any
  • context: any

Returns

any

private getCallTargetErrorSpanAST(callEx: any): any

Parameters

  • callEx: any

Returns

any

private getContextualClassSymbolForEnclosingDecl(ast: any, enclosingDecl: any): any

Parameters

  • ast: any
  • enclosingDecl: any

Returns

any

private getCurrentParameterIndexForFunction(parameter: any, funcDecl: any): any

Parameters

  • parameter: any
  • funcDecl: any

Returns

any

private getEnclosingClassDeclaration(ast: any): any

Parameters

  • ast: any

Returns

any

public getEnclosingDecl(decl: PullDecl): PullDecl

Parameters

Returns

PullDecl

private getEnclosingDeclForAST(ast: any): any

Parameters

  • ast: any

Returns

any

private getEnclosingFunctionDeclaration(ast: any): any

Parameters

  • ast: any

Returns

any

private getEnclosingLabels(ast: any, breakable: any, crossFunctions: any): any

Parameters

  • ast: any
  • breakable: any
  • crossFunctions: any

Returns

any

private getEnclosingSymbolForAST(ast: any): any

Parameters

  • ast: any

Returns

any

private getEnumTypeSymbol(enumElement: any, context: any): any

Parameters

  • enumElement: any
  • context: any

Returns

any

private getExportedMemberSymbol(symbol: any, parent: any): any

Parameters

  • symbol: any
  • parent: any

Returns

any

private getFirstStatementOfBlockOrNull(block: any): any

Parameters

  • block: any

Returns

any

private getInstanceTypeForAssignment(lhs: any, type: any, context: any): any

Parameters

  • lhs: any
  • type: any
  • context: any

Returns

any

private getMemberSymbolOfKind(symbolName: any, kind: any, pullTypeSymbol: any, enclosingDecl: any, context: any): any

Parameters

  • symbolName: any
  • kind: any
  • pullTypeSymbol: any
  • enclosingDecl: any
  • context: any

Returns

any

private getNamedPropertySymbol(symbolName: any, declSearchKind: any, parent: any): any

Parameters

  • symbolName: any
  • declSearchKind: any
  • parent: any

Returns

any

public getNewErrorTypeSymbol(name?: string): PullErrorTypeSymbol

Parameters

  • name?: string optional

Returns

PullErrorTypeSymbol

private getPropertyAssignmentName(propertyAssignment: any): any

Parameters

  • propertyAssignment: any

Returns

any

private getSomeInnermostFunctionScopeDecl(declPath: any): any

Parameters

  • declPath: any

Returns

any

private getSymbolForAST(ast: any, context: any): any

Parameters

  • ast: any
  • context: any

Returns

any

private getSymbolForRelationshipCheck(symbol: any): any

Parameters

  • symbol: any

Returns

any

private getSymbolFromDeclPath(symbolName: any, declPath: any, declSearchKind: any): any

Parameters

  • symbolName: any
  • declPath: any
  • declSearchKind: any

Returns

any

public getVisibleContextSymbols(enclosingDecl: PullDecl, context: PullTypeResolutionContext): PullSymbol[]

Parameters

Returns

PullSymbol[]

public getVisibleDecls(enclosingDecl: PullDecl): PullDecl[]

Parameters

Returns

PullDecl[]

private getVisibleDeclsFromDeclPath(declPath: any, declSearchKind: any): any

Parameters

  • declPath: any
  • declSearchKind: any

Returns

any

public getVisibleMembersFromExpression(expression: AST, enclosingDecl: PullDecl, context: PullTypeResolutionContext): PullSymbol[]

Parameters

Returns

PullSymbol[]

private hasClassTypeSymbolConflictAsValue(baseDeclAST: any, typeSymbol: any, enclosingDecl: any, context: any): any

Parameters

  • baseDeclAST: any
  • typeSymbol: any
  • enclosingDecl: any
  • context: any

Returns

any

private hasRestParameterCodeGen(someFunctionDecl: any): any

Parameters

  • someFunctionDecl: any

Returns

any

public static hasSetAccessorParameterTypeAnnotation(setAccessor: SetAccessor): boolean

Parameters

Returns

boolean

private inArgumentListOfSuperInvocation(ast: any): any

Parameters

  • ast: any

Returns

any

private inClassExtendsHeritageClause(ast: any): any

Parameters

  • ast: any

Returns

any

private inConstructorParameterList(ast: any): any

Parameters

  • ast: any

Returns

any

private inIterationStatement(ast: any, crossFunctions: any): any

Parameters

  • ast: any
  • crossFunctions: any

Returns

any

private inStaticMemberVariableDeclaration(ast: any): any

Parameters

  • ast: any

Returns

any

private inSwitchStatement(ast: any): any

Parameters

  • ast: any

Returns

any

private inTypeArgumentList(ast: any): any

Parameters

  • ast: any

Returns

any

private inTypeQuery(ast: any): any

Parameters

  • ast: any

Returns

any

private inferArgumentTypesForSignature(argContext: any, comparisonInfo: any, context: any): any

Parameters

  • argContext: any
  • comparisonInfo: any
  • context: any

Returns

any

private infinitelyExpandingSourceTypeIsRelatableToTargetType(sourceType: any, targetType: any, assignableTo: any, comparisonCache: any, ast: any, context: any, comparisonInfo: any, isComparingInstantiatedSignatures: any): any

Parameters

  • sourceType: any
  • targetType: any
  • assignableTo: any
  • comparisonCache: any
  • ast: any
  • context: any
  • comparisonInfo: any
  • isComparingInstantiatedSignatures: any

Returns

any

private infinitelyExpandingTypesAreIdentical(sourceType: any, targetType: any, context: any): any

Parameters

  • sourceType: any
  • targetType: any
  • context: any

Returns

any

public instantiateSignature(signature: PullSignatureSymbol, typeParameterArgumentMap: TypeArgumentMap): PullSignatureSymbol

Parameters

Returns

PullSignatureSymbol

private instantiateSignatureInContext(signatureAToInstantiate: any, contextualSignatureB: any, context: any, shouldFixContextualSignatureParameterTypes: any): any

Parameters

  • signatureAToInstantiate: any
  • contextualSignatureB: any
  • context: any
  • shouldFixContextualSignatureParameterTypes: any

Returns

any

public instantiateSignatureToAny(signature: PullSignatureSymbol): PullSignatureSymbol

Parameters

Returns

PullSignatureSymbol

public instantiateType(type: PullTypeSymbol, typeParameterArgumentMap: TypeArgumentMap): PullTypeSymbol

Parameters

Returns

PullTypeSymbol

public instantiateTypeParameter(typeParameter: PullTypeParameterSymbol, typeParameterArgumentMap: TypeArgumentMap): PullTypeParameterSymbol

Parameters

Returns

PullTypeParameterSymbol

public instantiateTypeToAny(typeToSpecialize: PullTypeSymbol, context: PullTypeResolutionContext): PullTypeSymbol

Parameters

Returns

PullTypeSymbol

private isAnyFunctionExpressionOrDeclaration(ast: any): any

Parameters

  • ast: any

Returns

any

private isAnyOrEquivalent(type: any): any

Parameters

  • type: any

Returns

any

private isAnyOrNumberOrEnum(type: any): any

Parameters

  • type: any

Returns

any

private isForInVariableDeclarator(ast: any): any

Parameters

  • ast: any

Returns

any

private isFromFunctionScope(nameSymbol: any, functionScopeDecl: any): any

Parameters

  • nameSymbol: any
  • functionScopeDecl: any

Returns

any

private isFunctionAccessorOrNonArrowFunctionExpression(decl: any): any

Parameters

  • decl: any

Returns

any

private isFunctionOrNonArrowFunctionExpression(decl: any): any

Parameters

  • decl: any

Returns

any

private isFunctionTypeWithExactlyOneCallSignatureAndNoOtherMembers(type: any, callSignatureShouldBeGeneric: any): any

Parameters

  • type: any
  • callSignatureShouldBeGeneric: any

Returns

any

private isInEnumDecl(decl: any): any

Parameters

  • decl: any

Returns

any

private isInStaticMemberContext(decl: any): any

Parameters

  • decl: any

Returns

any

private isIterationStatement(ast: any): any

Parameters

  • ast: any

Returns

any

private isLastNameOfModuleNameModuleReference(ast: any): any

Parameters

  • ast: any

Returns

any

private isLeftSideOfQualifiedName(ast: any): any

Parameters

  • ast: any

Returns

any

private isReference(ast: any, astSymbol: any): any

Parameters

  • ast: any
  • astSymbol: any

Returns

any

private isSourceTypeParameterConstrainedToTargetTypeParameter(source: any, target: any): any

Parameters

  • source: any
  • target: any

Returns

any

private isSuperInvocationExpression(ast: any): any

Parameters

  • ast: any

Returns

any

private isSuperInvocationExpressionStatement(node: any): any

Parameters

  • node: any

Returns

any

private isTypeRefWithoutTypeArgs(term: any): any

Parameters

  • term: any

Returns

any

private labelIsOnContinuableConstruct(statement: any): any

Parameters

  • statement: any

Returns

any

private needsToWidenObjectLiteralType(type: any, ast: any, context: any): any

Parameters

  • type: any
  • ast: any
  • context: any

Returns

any

private overloadHasCorrectArity(signature: any, args: any): any

Parameters

  • signature: any
  • args: any

Returns

any

private overloadIsApplicable(signature: any, args: any, context: any, comparisonInfo: any): any

Parameters

  • signature: any
  • args: any
  • context: any
  • comparisonInfo: any

Returns

any

private overloadIsApplicableForAnyFunctionExpressionArgument(paramType: any, arg: any, typeParameters: any, parameters: any, returnTypeAnnotation: any, block: any, bodyExpression: any, argIndex: any, context: any, comparisonInfo: any): any

Parameters

  • paramType: any
  • arg: any
  • typeParameters: any
  • parameters: any
  • returnTypeAnnotation: any
  • block: any
  • bodyExpression: any
  • argIndex: any
  • context: any
  • comparisonInfo: any

Returns

any

private overloadIsApplicableForArgument(paramType: any, arg: any, argIndex: any, context: any, comparisonInfo: any): any

Parameters

  • paramType: any
  • arg: any
  • argIndex: any
  • context: any
  • comparisonInfo: any

Returns

any

private overloadIsApplicableForArgumentHelper(paramType: any, argSym: any, argumentIndex: any, comparisonInfo: any, arg: any, context: any): any

Parameters

  • paramType: any
  • argSym: any
  • argumentIndex: any
  • comparisonInfo: any
  • arg: any
  • context: any

Returns

any

private overloadIsApplicableForArrayLiteralArgument(paramType: any, arg: any, argIndex: any, context: any, comparisonInfo: any): any

Parameters

  • paramType: any
  • arg: any
  • argIndex: any
  • context: any
  • comparisonInfo: any

Returns

any

private overloadIsApplicableForObjectLiteralArgument(paramType: any, arg: any, argIndex: any, context: any, comparisonInfo: any): any

Parameters

  • paramType: any
  • arg: any
  • argIndex: any
  • context: any
  • comparisonInfo: any

Returns

any

private overloadIsApplicableForOtherArgument(paramType: any, arg: any, argIndex: any, context: any, comparisonInfo: any): any

Parameters

  • paramType: any
  • arg: any
  • argIndex: any
  • context: any
  • comparisonInfo: any

Returns

any

private postOverloadResolutionDiagnostics(diagnostic: any, additionalResults: any, context: any): any

Parameters

  • diagnostic: any
  • additionalResults: any
  • context: any

Returns

any

private postTypeCheck(ast: any, context: any): any

Parameters

  • ast: any
  • context: any

Returns

any

private postTypeCheckClassDeclaration(classDeclAST: any, context: any): any

Parameters

  • classDeclAST: any
  • context: any

Returns

any

private postTypeCheckEnumDeclaration(ast: any, context: any): any

Parameters

  • ast: any
  • context: any

Returns

any

private postTypeCheckFunctionDeclaration(funcDeclAST: any, context: any): any

Parameters

  • funcDeclAST: any
  • context: any

Returns

any

private postTypeCheckImportDeclaration(importStatementAST: any, context: any): any

Parameters

  • importStatementAST: any
  • context: any

Returns

any

private postTypeCheckModuleDeclaration(ast: any, context: any): any

Parameters

  • ast: any
  • context: any

Returns

any

private postTypeCheckNameExpression(nameAST: any, context: any): any

Parameters

  • nameAST: any
  • context: any

Returns

any

private postTypeCheckVariableDeclaratorOrParameter(varDeclOrParameter: any, context: any): any

Parameters

  • varDeclOrParameter: any
  • context: any

Returns

any

private processPostTypeCheckWorkItems(context: any): any

Parameters

  • context: any

Returns

any

private propertiesAreIdentical(propertySymbol1: any, propertySymbol2: any, context: any): any

Parameters

  • propertySymbol1: any
  • propertySymbol2: any
  • context: any

Returns

any

private propertiesAreIdenticalWithNewEnclosingTypes(type1: any, type2: any, property1: any, property2: any, context: any): any

Parameters

  • type1: any
  • type2: any
  • property1: any
  • property2: any
  • context: any

Returns

any

private relateFunctionSignatureToTypeParameters(expressionSignature: any, parameterSignature: any, argContext: any, context: any): any

Parameters

  • expressionSignature: any
  • parameterSignature: any
  • argContext: any
  • context: any

Returns

any

private relateInifinitelyExpandingTypeToTypeParameters(expressionType: any, parameterType: any, argContext: any, context: any): any

Parameters

  • expressionType: any
  • parameterType: any
  • argContext: any
  • context: any

Returns

any

private relateObjectTypeToTypeParameters(objectType: any, parameterType: any, argContext: any, context: any): any

Parameters

  • objectType: any
  • parameterType: any
  • argContext: any
  • context: any

Returns

any

private relateSignatureGroupToTypeParameters(argumentSignatures: any, parameterSignatures: any, signatureKind: any, argContext: any, context: any): any

Parameters

  • argumentSignatures: any
  • parameterSignatures: any
  • signatureKind: any
  • argContext: any
  • context: any

Returns

any

private relateTypeArgumentsOfTypeToTypeParameters(expressionType: any, parameterType: any, argContext: any, context: any): any

Parameters

  • expressionType: any
  • parameterType: any
  • argContext: any
  • context: any

Returns

any

public relateTypeToTypeParameters(expressionType: PullTypeSymbol, parameterType: PullTypeSymbol, argContext: TypeArgumentInferenceContext, context: PullTypeResolutionContext)

Parameters

private relateTypeToTypeParametersInEnclosingType(expressionType: any, parameterType: any, argContext: any, context: any): any

Parameters

  • expressionType: any
  • parameterType: any
  • argContext: any
  • context: any

Returns

any

public relateTypeToTypeParametersWithNewEnclosingTypes(expressionType: PullTypeSymbol, parameterType: PullTypeSymbol, argContext: TypeArgumentInferenceContext, context: PullTypeResolutionContext)

Parameters

private reportErrorThatMemberIsNotSubtypeOfIndexer(member: any, indexSignature: any, astForError: any, context: any, comparisonInfo: any): any

Parameters

  • member: any
  • indexSignature: any
  • astForError: any
  • context: any
  • comparisonInfo: any

Returns

any

public resolveAST(ast: AST, isContextuallyTyped: boolean, context: PullTypeResolutionContext): PullSymbol

Parameters

Returns

PullSymbol

private resolveAccessorDeclaration(funcDeclAst: any, context: any): any

Parameters

  • funcDeclAst: any
  • context: any

Returns

any

private resolveAndTypeCheckVariableDeclarationTypeExpr(varDeclOrParameter: any, name: any, typeExpr: any, context: any): any

Parameters

  • varDeclOrParameter: any
  • name: any
  • typeExpr: any
  • context: any

Returns

any

private resolveAndTypeCheckVariableDeclaratorOrParameterInitExpr(varDeclOrParameter: any, name: any, typeExpr: any, init: any, context: any, typeExprSymbol: any): any

Parameters

  • varDeclOrParameter: any
  • name: any
  • typeExpr: any
  • init: any
  • context: any
  • typeExprSymbol: any

Returns

any

private resolveAnyFunctionDeclaration(funcDecl: any, context: any): any

Parameters

  • funcDecl: any
  • context: any

Returns

any

private resolveAnyFunctionExpression(funcDeclAST: any, typeParameters: any, parameters: any, returnTypeAnnotation: any, block: any, bodyExpression: any, isContextuallyTyped: any, context: any): any

Parameters

  • funcDeclAST: any
  • typeParameters: any
  • parameters: any
  • returnTypeAnnotation: any
  • block: any
  • bodyExpression: any
  • isContextuallyTyped: any
  • context: any

Returns

any

private resolveAnyFunctionExpressionParameters(funcDeclAST: any, typeParameters: any, parameters: any, returnTypeAnnotation: any, isContextuallyTyped: any, context: any): any

Parameters

  • funcDeclAST: any
  • typeParameters: any
  • parameters: any
  • returnTypeAnnotation: any
  • isContextuallyTyped: any
  • context: any

Returns

any

private resolveAnyFunctionTypeSignature(funcDeclAST: any, typeParameters: any, parameterList: any, returnTypeAnnotation: any, context: any): any

Parameters

  • funcDeclAST: any
  • typeParameters: any
  • parameterList: any
  • returnTypeAnnotation: any
  • context: any

Returns

any

private resolveArrayLiteralExpression(arrayLit: any, isContextuallyTyped: any, context: any): any

Parameters

  • arrayLit: any
  • isContextuallyTyped: any
  • context: any

Returns

any

private resolveAssignmentExpression(binaryExpression: any, context: any): any

Parameters

  • binaryExpression: any
  • context: any

Returns

any

private resolveBinaryAdditionOperation(binaryExpression: any, context: any): any

Parameters

  • binaryExpression: any
  • context: any

Returns

any

private resolveBinaryArithmeticExpression(binaryExpression: any, context: any): any

Parameters

  • binaryExpression: any
  • context: any

Returns

any

private resolveBlock(ast: any, context: any): any

Parameters

  • ast: any
  • context: any

Returns

any

private resolveBreakStatement(ast: any, context: any): any

Parameters

  • ast: any
  • context: any

Returns

any

private resolveCallSignature(funcDecl: any, context: any): any

Parameters

  • funcDecl: any
  • context: any

Returns

any

private resolveCastExpression(assertionExpression: any, context: any): any

Parameters

  • assertionExpression: any
  • context: any

Returns

any

private resolveCatchClause(ast: any, context: any): any

Parameters

  • ast: any
  • context: any

Returns

any

private resolveClassDeclaration(classDeclAST: any, context: any): any

Parameters

  • classDeclAST: any
  • context: any

Returns

any

private resolveCommaExpression(commaExpression: any, context: any): any

Parameters

  • commaExpression: any
  • context: any

Returns

any

private resolveConditionalExpression(trinex: any, isContextuallyTyped: any, context: any): any

Parameters

  • trinex: any
  • isContextuallyTyped: any
  • context: any

Returns

any

private resolveConstraint(constraint: any, context: any): any

Parameters

  • constraint: any
  • context: any

Returns

any

private resolveConstructSignature(funcDecl: any, context: any): any

Parameters

  • funcDecl: any
  • context: any

Returns

any

private resolveConstructorDeclaration(funcDeclAST: any, context: any): any

Parameters

  • funcDeclAST: any
  • context: any

Returns

any

private resolveContinueStatement(ast: any, context: any): any

Parameters

  • ast: any
  • context: any

Returns

any

public resolveDeclaredSymbol(symbol: TSymbol, context?: PullTypeResolutionContext): TSymbol

Parameters

Returns

TSymbol

private resolveDeclaredSymbolWorker(symbol: any, context: any): any

Parameters

  • symbol: any
  • context: any

Returns

any

private resolveDeleteExpression(ast: any, context: any): any

Parameters

  • ast: any
  • context: any

Returns

any

private resolveDoStatement(ast: any, context: any): any

Parameters

  • ast: any
  • context: any

Returns

any

private resolveDottedNameExpression(dottedNameAST: any, expression: any, name: any, context: any): any

Parameters

  • dottedNameAST: any
  • expression: any
  • name: any
  • context: any

Returns

any

private resolveElementAccessExpression(callEx: any, context: any): any

Parameters

  • callEx: any
  • context: any

Returns

any

private resolveElseClause(ast: any, context: any): any

Parameters

  • ast: any
  • context: any

Returns

any

private resolveEnumDeclaration(ast: any, context: any): any

Parameters

  • ast: any
  • context: any

Returns

any

private resolveEnumElement(enumElement: any, context: any): any

Parameters

  • enumElement: any
  • context: any

Returns

any

private resolveEqualsValueClause(clause: any, isContextuallyTyped: any, context: any): any

Parameters

  • clause: any
  • isContextuallyTyped: any
  • context: any

Returns

any

private resolveExportAssignmentStatement(exportAssignmentAST: any, context: any): any

Parameters

  • exportAssignmentAST: any
  • context: any

Returns

any

private resolveExpressionAST(ast: any, isContextuallyOrInferentiallyTyped: any, context: any): any

Parameters

  • ast: any
  • isContextuallyOrInferentiallyTyped: any
  • context: any

Returns

any

private resolveExpressionStatement(ast: any, context: any): any

Parameters

  • ast: any
  • context: any

Returns

any

private resolveExpressionWorker(ast: any, isContextuallyTyped: any, context: any): any

Parameters

  • ast: any
  • isContextuallyTyped: any
  • context: any

Returns

any

private resolveExternalModuleReference(idText: any, currentFileName: any): any

Parameters

  • idText: any
  • currentFileName: any

Returns

any

private resolveFinallyClause(ast: any, context: any): any

Parameters

  • ast: any
  • context: any

Returns

any

private resolveFirstExportAssignmentStatement(moduleElements: any, context: any): any

Parameters

  • moduleElements: any
  • context: any

Returns

any

private resolveFirstTypeParameterDeclaration(typeParameterSymbol: any, context: any): any

Parameters

  • typeParameterSymbol: any
  • context: any

Returns

any

private resolveForInStatement(forInStatement: any, context: any): any

Parameters

  • forInStatement: any
  • context: any

Returns

any

private resolveForStatement(ast: any, context: any): any

Parameters

  • ast: any
  • context: any

Returns

any

private resolveFunctionBodyReturnTypes(funcDeclAST: any, block: any, bodyExpression: any, signature: any, useContextualType: any, enclosingDecl: any, context: any): any

Parameters

  • funcDeclAST: any
  • block: any
  • bodyExpression: any
  • signature: any
  • useContextualType: any
  • enclosingDecl: any
  • context: any

Returns

any

private resolveFunctionDeclaration(funcDeclAST: any, isStatic: any, name: any, typeParameters: any, parameterList: any, returnTypeAnnotation: any, block: any, context: any): any

Parameters

  • funcDeclAST: any
  • isStatic: any
  • name: any
  • typeParameters: any
  • parameterList: any
  • returnTypeAnnotation: any
  • block: any
  • context: any

Returns

any

private resolveFunctionExpression(funcDecl: any, isContextuallyTyped: any, context: any): any

Parameters

  • funcDecl: any
  • isContextuallyTyped: any
  • context: any

Returns

any

private resolveFunctionExpressionParameter(argDeclAST: any, id: any, typeExpr: any, equalsValueClause: any, contextParam: any, enclosingDecl: any, context: any): any

Parameters

  • argDeclAST: any
  • id: any
  • typeExpr: any
  • equalsValueClause: any
  • contextParam: any
  • enclosingDecl: any
  • context: any

Returns

any

private resolveFunctionPropertyAssignment(funcProp: any, isContextuallyTyped: any, context: any): any

Parameters

  • funcProp: any
  • isContextuallyTyped: any
  • context: any

Returns

any

private resolveFunctionTypeSignatureParameter(argDeclAST: any, signature: any, enclosingDecl: any, context: any): any

Parameters

  • argDeclAST: any
  • signature: any
  • enclosingDecl: any
  • context: any

Returns

any

private resolveGenericTypeReference(genericTypeAST: any, context: any): any

Parameters

  • genericTypeAST: any
  • context: any

Returns

any

private resolveGetAccessorDeclaration(funcDeclAST: any, parameters: any, returnTypeAnnotation: any, block: any, setterAnnotatedType: any, context: any): any

Parameters

  • funcDeclAST: any
  • parameters: any
  • returnTypeAnnotation: any
  • block: any
  • setterAnnotatedType: any
  • context: any

Returns

any

private resolveGetterReturnTypeAnnotation(getterFunctionDeclarationAst: any, enclosingDecl: any, context: any): any

Parameters

  • getterFunctionDeclarationAst: any
  • enclosingDecl: any
  • context: any

Returns

any

private resolveIdentifierOfInternalModuleReference(importDecl: any, identifier: any, moduleSymbol: any, enclosingDecl: any, context: any): any

Parameters

  • importDecl: any
  • identifier: any
  • moduleSymbol: any
  • enclosingDecl: any
  • context: any

Returns

any

private resolveIfStatement(ast: any, context: any): any

Parameters

  • ast: any
  • context: any

Returns

any

private resolveImportDeclaration(importStatementAST: any, context: any): any

Parameters

  • importStatementAST: any
  • context: any

Returns

any

private resolveInExpression(ast: any, context: any): any

Parameters

  • ast: any
  • context: any

Returns

any

private resolveIndexMemberDeclaration(ast: any, context: any): any

Parameters

  • ast: any
  • context: any

Returns

any

private resolveIndexSignature(funcDeclAST: any, context: any): any

Parameters

  • funcDeclAST: any
  • context: any

Returns

any

private resolveInstanceOfExpression(ast: any, context: any): any

Parameters

  • ast: any
  • context: any

Returns

any

private resolveInterfaceDeclaration(interfaceDeclAST: any, context: any): any

Parameters

  • interfaceDeclAST: any
  • context: any

Returns

any

private resolveInternalModuleReference(importStatementAST: any, context: any): any

Parameters

  • importStatementAST: any
  • context: any

Returns

any

public resolveInvocationExpression(callEx: InvocationExpression, context: PullTypeResolutionContext, additionalResults?: PullAdditionalCallResolutionData): PullSymbol

Parameters

Returns

PullSymbol

private resolveLabeledStatement(ast: any, context: any): any

Parameters

  • ast: any
  • context: any

Returns

any

private resolveList(list: any, context: any): any

Parameters

  • list: any
  • context: any

Returns

any

private resolveLogicalAndExpression(binex: any, context: any): any

Parameters

  • binex: any
  • context: any

Returns

any

private resolveLogicalNotExpression(ast: any, context: any): any

Parameters

  • ast: any
  • context: any

Returns

any

private resolveLogicalOperation(ast: any, context: any): any

Parameters

  • ast: any
  • context: any

Returns

any

private resolveLogicalOrExpression(binex: any, isContextuallyTyped: any, context: any): any

Parameters

  • binex: any
  • isContextuallyTyped: any
  • context: any

Returns

any

private resolveMemberAccessExpression(dottedNameAST: any, context: any): any

Parameters

  • dottedNameAST: any
  • context: any

Returns

any

private resolveMemberFunctionDeclaration(funcDecl: any, context: any): any

Parameters

  • funcDecl: any
  • context: any

Returns

any

private resolveMemberVariableDeclaration(varDecl: any, context: any): any

Parameters

  • varDecl: any
  • context: any

Returns

any

private resolveMethodSignature(funcDecl: any, context: any): any

Parameters

  • funcDecl: any
  • context: any

Returns

any

private resolveModuleDeclaration(ast: any, context: any): any

Parameters

  • ast: any
  • context: any

Returns

any

private resolveModuleReference(importDecl: any, moduleNameExpr: any, enclosingDecl: any, context: any, declPath: any): any

Parameters

  • importDecl: any
  • moduleNameExpr: any
  • enclosingDecl: any
  • context: any
  • declPath: any

Returns

any

private resolveModuleSymbol(containerSymbol: any, context: any, moduleDeclAST: any, moduleDeclNameAST: any, sourceUnitAST: any): any

Parameters

  • containerSymbol: any
  • context: any
  • moduleDeclAST: any
  • moduleDeclNameAST: any
  • sourceUnitAST: any

Returns

any

private resolveNameExpression(nameAST: any, context: any): any

Parameters

  • nameAST: any
  • context: any

Returns

any

public resolveObjectCreationExpression(callEx: ObjectCreationExpression, context: PullTypeResolutionContext, additionalResults?: PullAdditionalCallResolutionData): PullSymbol

Parameters

Returns

PullSymbol

public resolveObjectLiteralExpression(expressionAST: ObjectLiteralExpression, isContextuallyTyped: boolean, context: PullTypeResolutionContext, additionalResults?: PullAdditionalObjectLiteralResolutionData): PullSymbol

Parameters

Returns

PullSymbol

private resolveObjectLiteralMembers(objectLiteralDeclaration: any, objectLiteralTypeSymbol: any, objectLiteralContextualType: any, objectLiteralMembers: any, stringIndexerSignature: any, numericIndexerSignature: any, allMemberTypes: any, allNumericMemberTypes: any, boundMemberSymbols: any, isUsingExistingSymbol: any, pullTypeContext: any, additionalResults?: any): any

Parameters

  • objectLiteralDeclaration: any
  • objectLiteralTypeSymbol: any
  • objectLiteralContextualType: any
  • objectLiteralMembers: any
  • stringIndexerSignature: any
  • numericIndexerSignature: any
  • allMemberTypes: any
  • allNumericMemberTypes: any
  • boundMemberSymbols: any
  • isUsingExistingSymbol: any
  • pullTypeContext: any
  • additionalResults?: any optional

Returns

any

private resolveObjectTypeTypeReference(objectType: any, context: any): any

Parameters

  • objectType: any
  • context: any

Returns

any

private resolveOtherDecl(otherDecl: any, context: any): any

Parameters

  • otherDecl: any
  • context: any

Returns

any

private resolveOtherDeclarations(astName: any, context: any): any

Parameters

  • astName: any
  • context: any

Returns

any

private resolveOverloads(application: any, group: any, haveTypeArgumentsAtCallSite: any, context: any, diagnostics: any): any

Parameters

  • application: any
  • group: any
  • haveTypeArgumentsAtCallSite: any
  • context: any
  • diagnostics: any

Returns

any

private resolveParameter(parameter: any, context: any): any

Parameters

  • parameter: any
  • context: any

Returns

any

private resolveParameterList(list: any, context: any): any

Parameters

  • list: any
  • context: any

Returns

any

private resolveParenthesizedArrowFunctionExpression(funcDecl: any, isContextuallyTyped: any, context: any): any

Parameters

  • funcDecl: any
  • isContextuallyTyped: any
  • context: any

Returns

any

private resolveParenthesizedExpression(ast: any, context: any): any

Parameters

  • ast: any
  • context: any

Returns

any

private resolvePostfixUnaryExpression(ast: any, context: any): any

Parameters

  • ast: any
  • context: any

Returns

any

private resolvePropertySignature(varDecl: any, context: any): any

Parameters

  • varDecl: any
  • context: any

Returns

any

private resolveQualifiedName(dottedNameAST: any, context: any): any

Parameters

  • dottedNameAST: any
  • context: any

Returns

any

private resolveReferenceTypeDeclaration(classOrInterface: any, name: any, heritageClauses: any, context: any): any

Parameters

  • classOrInterface: any
  • name: any
  • heritageClauses: any
  • context: any

Returns

any

private resolveRegularExpressionLiteral(): any

Returns

any

private resolveReturnExpression(expression: any, enclosingFunction: any, context: any): any

Parameters

  • expression: any
  • enclosingFunction: any
  • context: any

Returns

any

private resolveReturnStatement(returnAST: any, context: any): any

Parameters

  • returnAST: any
  • context: any

Returns

any

private resolveReturnTypeAnnotationOfFunctionDeclaration(funcDeclAST: any, returnTypeAnnotation: any, context: any): any

Parameters

  • funcDeclAST: any
  • returnTypeAnnotation: any
  • context: any

Returns

any

private resolveSeparatedList(list: any, context: any): any

Parameters

  • list: any
  • context: any

Returns

any

private resolveSetAccessorDeclaration(funcDeclAST: any, parameterList: any, context: any): any

Parameters

  • funcDeclAST: any
  • parameterList: any
  • context: any

Returns

any

private resolveSetterArgumentTypeAnnotation(setterFunctionDeclarationAst: any, enclosingDecl: any, context: any): any

Parameters

  • setterFunctionDeclarationAst: any
  • enclosingDecl: any
  • context: any

Returns

any

private resolveSimpleArrowFunctionExpression(funcDecl: any, isContextuallyTyped: any, context: any): any

Parameters

  • funcDecl: any
  • isContextuallyTyped: any
  • context: any

Returns

any

private resolveSimplePropertyAssignment(propertyAssignment: any, isContextuallyTyped: any, context: any): any

Parameters

  • propertyAssignment: any
  • isContextuallyTyped: any
  • context: any

Returns

any

private resolveSingleModuleDeclaration(ast: any, astName: any, context: any): any

Parameters

  • ast: any
  • astName: any
  • context: any

Returns

any

private resolveSourceUnit(sourceUnit: any, context: any): any

Parameters

  • sourceUnit: any
  • context: any

Returns

any

private resolveSuperExpression(ast: any, context: any): any

Parameters

  • ast: any
  • context: any

Returns

any

private resolveSwitchStatement(ast: any, context: any): any

Parameters

  • ast: any
  • context: any

Returns

any

private resolveThisExpression(thisExpression: any, context: any): any

Parameters

  • thisExpression: any
  • context: any

Returns

any

private resolveThrowStatement(ast: any, context: any): any

Parameters

  • ast: any
  • context: any

Returns

any

private resolveTryStatement(ast: any, context: any): any

Parameters

  • ast: any
  • context: any

Returns

any

private resolveTypeAnnotation(typeAnnotation: any, context: any): any

Parameters

  • typeAnnotation: any
  • context: any

Returns

any

private resolveTypeNameExpression(nameAST: any, context: any): any

Parameters

  • nameAST: any
  • context: any

Returns

any

private resolveTypeOfExpression(ast: any, context: any): any

Parameters

  • ast: any
  • context: any

Returns

any

private resolveTypeParameterDeclaration(typeParameterAST: any, context: any): any

Parameters

  • typeParameterAST: any
  • context: any

Returns

any

public resolveTypeReference(typeRef: AST, context: PullTypeResolutionContext): PullTypeSymbol

Parameters

Returns

PullTypeSymbol

private resolveTypeSymbolSignatures(typeSymbol: any, context: any): any

Parameters

  • typeSymbol: any
  • context: any

Returns

any

private resolveUnaryArithmeticOperation(ast: any, context: any): any

Parameters

  • ast: any
  • context: any

Returns

any

private resolveVariableDeclarationList(ast: any, context: any): any

Parameters

  • ast: any
  • context: any

Returns

any

private resolveVariableDeclarator(varDecl: any, context: any): any

Parameters

  • varDecl: any
  • context: any

Returns

any

private resolveVariableDeclaratorOrParameterOrEnumElement(varDeclOrParameter: any, modifiers: any, name: any, typeExpr: any, init: any, context: any): any

Parameters

  • varDeclOrParameter: any
  • modifiers: any
  • name: any
  • typeExpr: any
  • init: any
  • context: any

Returns

any

private resolveVariableStatement(ast: any, context: any): any

Parameters

  • ast: any
  • context: any

Returns

any

private resolveVoidExpression(ast: any, context: any): any

Parameters

  • ast: any
  • context: any

Returns

any

private resolveWhileStatement(ast: any, context: any): any

Parameters

  • ast: any
  • context: any

Returns

any

private resolveWithStatement(ast: any, context: any): any

Parameters

  • ast: any
  • context: any

Returns

any

private scanVariableDeclarationGroups(enclosingDecl: any, firstDeclHandler: any, subsequentDeclHandler?: any): any

Parameters

  • enclosingDecl: any
  • firstDeclHandler: any
  • subsequentDeclHandler?: any optional

Returns

any

private setSymbolForAST(ast: any, symbol: any, context: any): any

Parameters

  • ast: any
  • symbol: any
  • context: any

Returns

any

private setTypeChecked(ast: any, context: any): any

Parameters

  • ast: any
  • context: any

Returns

any

private setTypeParameterIdentity(tp1: any, tp2: any, val: any): any

Parameters

  • tp1: any
  • tp2: any
  • val: any

Returns

any

private shouldContextuallyTypeAnyFunctionExpression(functionExpressionAST: any, typeParameters: any, parameters: any, returnTypeAnnotation: any, context: any): any

Parameters

  • functionExpressionAST: any
  • typeParameters: any
  • parameters: any
  • returnTypeAnnotation: any
  • context: any

Returns

any

private signatureGroupIsRelatableToTarget(source: any, target: any, sourceSG: any, targetSG: any, assignableTo: any, comparisonCache: any, ast: any, context: any, comparisonInfo: any, isComparingInstantiatedSignatures: any): any

Parameters

  • source: any
  • target: any
  • sourceSG: any
  • targetSG: any
  • assignableTo: any
  • comparisonCache: any
  • ast: any
  • context: any
  • comparisonInfo: any
  • isComparingInstantiatedSignatures: any

Returns

any

private signatureGroupsAreIdentical(sg1: any, sg2: any, context: any): any

Parameters

  • sg1: any
  • sg2: any
  • context: any

Returns

any

private signatureIsAssignableToTarget(s1: any, s2: any, ast: any, context: any, comparisonInfo?: any, isComparingInstantiatedSignatures?: any): any

Parameters

  • s1: any
  • s2: any
  • ast: any
  • context: any
  • comparisonInfo?: any optional
  • isComparingInstantiatedSignatures?: any optional

Returns

any

private signatureIsRelatableToTarget(sourceSig: any, targetSig: any, assignableTo: any, comparisonCache: any, ast: any, context: any, comparisonInfo: any, isComparingInstantiatedSignatures: any): any

Parameters

  • sourceSig: any
  • targetSig: any
  • assignableTo: any
  • comparisonCache: any
  • ast: any
  • context: any
  • comparisonInfo: any
  • isComparingInstantiatedSignatures: any

Returns

any

private signatureIsRelatableToTargetWorker(sourceSig: any, targetSig: any, assignableTo: any, comparisonCache: any, ast: any, context: any, comparisonInfo: any, isComparingInstantiatedSignatures: any): any

Parameters

  • sourceSig: any
  • targetSig: any
  • assignableTo: any
  • comparisonCache: any
  • ast: any
  • context: any
  • comparisonInfo: any
  • isComparingInstantiatedSignatures: any

Returns

any

public signatureReturnTypesAreIdentical(s1: PullSignatureSymbol, s2: PullSignatureSymbol, context: PullTypeResolutionContext): boolean

Parameters

Returns

boolean

private signatureTypeParametersParametersAndReturnTypesAreIdentical(s1: any, s2: any, context: any, includingReturnType?: any): any

Parameters

  • s1: any
  • s2: any
  • context: any
  • includingReturnType?: any optional

Returns

any

private signaturesAreIdentical(s1: any, s2: any, context: any, includingReturnType?: any): any

Parameters

  • s1: any
  • s2: any
  • context: any
  • includingReturnType?: any optional

Returns

any

public signaturesAreIdenticalWithNewEnclosingTypes(s1: PullSignatureSymbol, s2: PullSignatureSymbol, context: PullTypeResolutionContext, includingReturnType?: boolean): boolean

Parameters

Returns

boolean

public signaturesAreIdenticalWorker(s1: PullSignatureSymbol, s2: PullSignatureSymbol, context: PullTypeResolutionContext, includingReturnType?: boolean): boolean

Parameters

Returns

boolean

private sourceCallSignaturesAreAssignableToTargetCallSignatures(source: any, target: any, ast: any, context: any, comparisonInfo: any, isComparingInstantiatedSignatures?: any): any

Parameters

  • source: any
  • target: any
  • ast: any
  • context: any
  • comparisonInfo: any
  • isComparingInstantiatedSignatures?: any optional

Returns

any

private sourceCallSignaturesAreRelatableToTargetCallSignatures(source: any, target: any, assignableTo: any, comparisonCache: any, ast: any, context: any, comparisonInfo: any, isComparingInstantiatedSignatures: any): any

Parameters

  • source: any
  • target: any
  • assignableTo: any
  • comparisonCache: any
  • ast: any
  • context: any
  • comparisonInfo: any
  • isComparingInstantiatedSignatures: any

Returns

any

private sourceConstructSignaturesAreAssignableToTargetConstructSignatures(source: any, target: any, ast: any, context: any, comparisonInfo: any, isComparingInstantiatedSignatures?: any): any

Parameters

  • source: any
  • target: any
  • ast: any
  • context: any
  • comparisonInfo: any
  • isComparingInstantiatedSignatures?: any optional

Returns

any

private sourceConstructSignaturesAreRelatableToTargetConstructSignatures(source: any, target: any, assignableTo: any, comparisonCache: any, ast: any, context: any, comparisonInfo: any, isComparingInstantiatedSignatures: any): any

Parameters

  • source: any
  • target: any
  • assignableTo: any
  • comparisonCache: any
  • ast: any
  • context: any
  • comparisonInfo: any
  • isComparingInstantiatedSignatures: any

Returns

any

private sourceIndexSignaturesAreAssignableToTargetIndexSignatures(source: any, target: any, ast: any, context: any, comparisonInfo: any, isComparingInstantiatedSignatures?: any): any

Parameters

  • source: any
  • target: any
  • ast: any
  • context: any
  • comparisonInfo: any
  • isComparingInstantiatedSignatures?: any optional

Returns

any

private sourceIndexSignaturesAreRelatableToTargetIndexSignatures(source: any, target: any, assignableTo: any, comparisonCache: any, ast: any, context: any, comparisonInfo: any, isComparingInstantiatedSignatures: any): any

Parameters

  • source: any
  • target: any
  • assignableTo: any
  • comparisonCache: any
  • ast: any
  • context: any
  • comparisonInfo: any
  • isComparingInstantiatedSignatures: any

Returns

any

private sourceIsAssignableToTarget(source: any, target: any, ast: any, context: any, comparisonInfo?: any, isComparingInstantiatedSignatures?: any): any

Parameters

  • source: any
  • target: any
  • ast: any
  • context: any
  • comparisonInfo?: any optional
  • isComparingInstantiatedSignatures?: any optional

Returns

any

private sourceIsAssignableToTargetWithNewEnclosingTypes(source: any, target: any, ast: any, context: any, comparisonInfo?: any, isComparingInstantiatedSignatures?: any): any

Parameters

  • source: any
  • target: any
  • ast: any
  • context: any
  • comparisonInfo?: any optional
  • isComparingInstantiatedSignatures?: any optional

Returns

any

private sourceIsRelatableToTarget(source: any, target: any, assignableTo: any, comparisonCache: any, ast: any, context: any, comparisonInfo: any, isComparingInstantiatedSignatures: any): any

Parameters

  • source: any
  • target: any
  • assignableTo: any
  • comparisonCache: any
  • ast: any
  • context: any
  • comparisonInfo: any
  • isComparingInstantiatedSignatures: any

Returns

any

private sourceIsRelatableToTargetInCache(source: any, target: any, comparisonCache: any, comparisonInfo: any): any

Parameters

  • source: any
  • target: any
  • comparisonCache: any
  • comparisonInfo: any

Returns

any

private sourceIsRelatableToTargetInEnclosingTypes(source: any, target: any, assignableTo: any, comparisonCache: any, ast: any, context: any, comparisonInfo: any, isComparingInstantiatedSignatures: any): any

Parameters

  • source: any
  • target: any
  • assignableTo: any
  • comparisonCache: any
  • ast: any
  • context: any
  • comparisonInfo: any
  • isComparingInstantiatedSignatures: any

Returns

any

private sourceIsRelatableToTargetWithNewEnclosingTypes(source: any, target: any, assignableTo: any, comparisonCache: any, ast: any, context: any, comparisonInfo: any, isComparingInstantiatedSignatures: any): any

Parameters

  • source: any
  • target: any
  • assignableTo: any
  • comparisonCache: any
  • ast: any
  • context: any
  • comparisonInfo: any
  • isComparingInstantiatedSignatures: any

Returns

any

private sourceIsRelatableToTargetWorker(source: any, target: any, assignableTo: any, comparisonCache: any, ast: any, context: any, comparisonInfo: any, isComparingInstantiatedSignatures: any): any

Parameters

  • source: any
  • target: any
  • assignableTo: any
  • comparisonCache: any
  • ast: any
  • context: any
  • comparisonInfo: any
  • isComparingInstantiatedSignatures: any

Returns

any

private sourceIsSubtypeOfTarget(source: any, target: any, ast: any, context: any, comparisonInfo?: any, isComparingInstantiatedSignatures?: any): any

Parameters

  • source: any
  • target: any
  • ast: any
  • context: any
  • comparisonInfo?: any optional
  • isComparingInstantiatedSignatures?: any optional

Returns

any

private sourceMembersAreAssignableToTargetMembers(source: any, target: any, ast: any, context: any, comparisonInfo: any, isComparingInstantiatedSignatures?: any): any

Parameters

  • source: any
  • target: any
  • ast: any
  • context: any
  • comparisonInfo: any
  • isComparingInstantiatedSignatures?: any optional

Returns

any

private sourceMembersAreRelatableToTargetMembers(source: any, target: any, assignableTo: any, comparisonCache: any, ast: any, context: any, comparisonInfo: any, isComparingInstantiatedSignatures: any): any

Parameters

  • source: any
  • target: any
  • assignableTo: any
  • comparisonCache: any
  • ast: any
  • context: any
  • comparisonInfo: any
  • isComparingInstantiatedSignatures: any

Returns

any

private sourcePropertyIsAssignableToTargetProperty(source: any, target: any, sourceProp: any, targetProp: any, ast: any, context: any, comparisonInfo: any, isComparingInstantiatedSignatures?: any): any

Parameters

  • source: any
  • target: any
  • sourceProp: any
  • targetProp: any
  • ast: any
  • context: any
  • comparisonInfo: any
  • isComparingInstantiatedSignatures?: any optional

Returns

any

private sourcePropertyIsRelatableToTargetProperty(source: any, target: any, sourceProp: any, targetProp: any, assignableTo: any, comparisonCache: any, ast: any, context: any, comparisonInfo: any, isComparingInstantiatedSignatures: any): any

Parameters

  • source: any
  • target: any
  • sourceProp: any
  • targetProp: any
  • assignableTo: any
  • comparisonCache: any
  • ast: any
  • context: any
  • comparisonInfo: any
  • isComparingInstantiatedSignatures: any

Returns

any

private stampObjectLiteralWithIndexSignature(objectLiteralSymbol: any, indexerTypeCandidates: any, contextualIndexSignature: any, context: any): any

Parameters

  • objectLiteralSymbol: any
  • indexerTypeCandidates: any
  • contextualIndexSignature: any
  • context: any

Returns

any

private superCallMustBeFirstStatementInConstructor(constructorDecl: any): any

Parameters

  • constructorDecl: any

Returns

any

private symbolsShareDeclaration(symbol1: any, symbol2: any): any

Parameters

  • symbol1: any
  • symbol2: any

Returns

any

public static typeCheck(compilationSettings: ImmutableCompilationSettings, semanticInfoChain: SemanticInfoChain, document: Document)

Parameters

private typeCheckAST(ast: any, isContextuallyTyped: any, context: any): any

Parameters

  • ast: any
  • isContextuallyTyped: any
  • context: any

Returns

any

private typeCheckAccessorDeclaration(funcDeclAst: any, context: any): any

Parameters

  • funcDeclAst: any
  • context: any

Returns

any

private typeCheckAnyFunctionDeclaration(funcDeclAST: any, isStatic: any, name: any, typeParameters: any, parameters: any, returnTypeAnnotation: any, block: any, context: any): any

Parameters

  • funcDeclAST: any
  • isStatic: any
  • name: any
  • typeParameters: any
  • parameters: any
  • returnTypeAnnotation: any
  • block: any
  • context: any

Returns

any

private typeCheckAnyFunctionExpression(funcDeclAST: any, typeParameters: any, parameters: any, returnTypeAnnotation: any, block: any, bodyExpression: any, isContextuallyTyped: any, context: any): any

Parameters

  • funcDeclAST: any
  • typeParameters: any
  • parameters: any
  • returnTypeAnnotation: any
  • block: any
  • bodyExpression: any
  • isContextuallyTyped: any
  • context: any

Returns

any

private typeCheckBase(classOrInterface: any, name: any, typeSymbol: any, baseDeclAST: any, isExtendedType: any, enclosingDecl: any, context: any): any

Parameters

  • classOrInterface: any
  • name: any
  • typeSymbol: any
  • baseDeclAST: any
  • isExtendedType: any
  • enclosingDecl: any
  • context: any

Returns

any

private typeCheckBases(classOrInterface: any, name: any, heritageClauses: any, typeSymbol: any, enclosingDecl: any, context: any): any

Parameters

  • classOrInterface: any
  • name: any
  • heritageClauses: any
  • typeSymbol: any
  • enclosingDecl: any
  • context: any

Returns

any

private typeCheckBinaryArithmeticExpression(binaryExpression: any, context: any): any

Parameters

  • binaryExpression: any
  • context: any

Returns

any

private typeCheckBreakStatement(ast: any, context: any): any

Parameters

  • ast: any
  • context: any

Returns

any

private typeCheckCallSignature(funcDecl: any, context: any): any

Parameters

  • funcDecl: any
  • context: any

Returns

any

private typeCheckCastExpression(assertionExpression: any, context: any, typeAssertionType: any): any

Parameters

  • assertionExpression: any
  • context: any
  • typeAssertionType: any

Returns

any

private typeCheckCatchClause(ast: any, context: any): any

Parameters

  • ast: any
  • context: any

Returns

any

private typeCheckClassDeclaration(classDeclAST: any, context: any): any

Parameters

  • classDeclAST: any
  • context: any

Returns

any

private typeCheckConstructSignature(funcDecl: any, context: any): any

Parameters

  • funcDecl: any
  • context: any

Returns

any

private typeCheckConstructorDeclaration(funcDeclAST: any, context: any): any

Parameters

  • funcDeclAST: any
  • context: any

Returns

any

private typeCheckContinueStatement(ast: any, context: any): any

Parameters

  • ast: any
  • context: any

Returns

any

private typeCheckDoStatement(ast: any, context: any): any

Parameters

  • ast: any
  • context: any

Returns

any

private typeCheckElementAccessExpression(callEx: any, context: any, symbolAndDiagnostic: any): any

Parameters

  • callEx: any
  • context: any
  • symbolAndDiagnostic: any

Returns

any

private typeCheckElseClause(ast: any, context: any): any

Parameters

  • ast: any
  • context: any

Returns

any

private typeCheckEnumDeclaration(ast: any, context: any): any

Parameters

  • ast: any
  • context: any

Returns

any

private typeCheckEnumElement(enumElement: any, context: any): any

Parameters

  • enumElement: any
  • context: any

Returns

any

private typeCheckFinallyClause(ast: any, context: any): any

Parameters

  • ast: any
  • context: any

Returns

any

private typeCheckForInStatement(forInStatement: any, context: any): any

Parameters

  • forInStatement: any
  • context: any

Returns

any

private typeCheckFunctionExpression(funcDecl: any, isContextuallyTyped: any, context: any): any

Parameters

  • funcDecl: any
  • isContextuallyTyped: any
  • context: any

Returns

any

private typeCheckFunctionOverloads(funcDecl: any, context: any, signature?: any, allSignatures?: any): any

Parameters

  • funcDecl: any
  • context: any
  • signature?: any optional
  • allSignatures?: any optional

Returns

any

private typeCheckFunctionPropertyAssignment(funcProp: any, isContextuallyTyped: any, context: any): any

Parameters

  • funcProp: any
  • isContextuallyTyped: any
  • context: any

Returns

any

private typeCheckGetAccessorDeclaration(funcDeclAST: any, context: any): any

Parameters

  • funcDeclAST: any
  • context: any

Returns

any

private typeCheckIfClassImplementsType(classDecl: any, classSymbol: any, implementedType: any, enclosingDecl: any, context: any): any

Parameters

  • classDecl: any
  • classSymbol: any
  • implementedType: any
  • enclosingDecl: any
  • context: any

Returns

any

private typeCheckIfStatement(ast: any, context: any): any

Parameters

  • ast: any
  • context: any

Returns

any

private typeCheckIfTypeExtendsType(classOrInterface: any, name: any, typeSymbol: any, extendedType: any, enclosingDecl: any, context: any): any

Parameters

  • classOrInterface: any
  • name: any
  • typeSymbol: any
  • extendedType: any
  • enclosingDecl: any
  • context: any

Returns

any

private typeCheckIfTypeMemberPropertyOkToOverride(typeSymbol: any, extendedType: any, typeMember: any, extendedTypeMember: any, enclosingDecl: any, comparisonInfo: any): any

Parameters

  • typeSymbol: any
  • extendedType: any
  • typeMember: any
  • extendedTypeMember: any
  • enclosingDecl: any
  • comparisonInfo: any

Returns

any

private typeCheckImportDeclaration(importStatementAST: any, context: any): any

Parameters

  • importStatementAST: any
  • context: any

Returns

any

private typeCheckInExpression(binaryExpression: any, context: any): any

Parameters

  • binaryExpression: any
  • context: any

Returns

any

private typeCheckIndexSignature(funcDeclAST: any, context: any): any

Parameters

  • funcDeclAST: any
  • context: any

Returns

any

private typeCheckInstanceOfExpression(binaryExpression: any, context: any): any

Parameters

  • binaryExpression: any
  • context: any

Returns

any

private typeCheckInterfaceDeclaration(interfaceDeclAST: any, context: any): any

Parameters

  • interfaceDeclAST: any
  • context: any

Returns

any

private typeCheckInvocationExpression(callEx: any, context: any): any

Parameters

  • callEx: any
  • context: any

Returns

any

private typeCheckLabeledStatement(ast: any, context: any): any

Parameters

  • ast: any
  • context: any

Returns

any

private typeCheckLogicalOperation(binex: any, context: any): any

Parameters

  • binex: any
  • context: any

Returns

any

private typeCheckMemberFunctionDeclaration(funcDecl: any, context: any): any

Parameters

  • funcDecl: any
  • context: any

Returns

any

private typeCheckMemberVariableDeclaration(varDecl: any, context: any): any

Parameters

  • varDecl: any
  • context: any

Returns

any

private typeCheckMembersAgainstIndexer(containerType: any, containerTypeDecl: any, context: any): any

Parameters

  • containerType: any
  • containerTypeDecl: any
  • context: any

Returns

any

private typeCheckMethodSignature(funcDecl: any, context: any): any

Parameters

  • funcDecl: any
  • context: any

Returns

any

private typeCheckModuleDeclaration(ast: any, context: any): any

Parameters

  • ast: any
  • context: any

Returns

any

private typeCheckNameExpression(nameAST: any, context: any): any

Parameters

  • nameAST: any
  • context: any

Returns

any

private typeCheckObjectCreationExpression(callEx: any, context: any): any

Parameters

  • callEx: any
  • context: any

Returns

any

private typeCheckObjectTypeTypeReference(objectType: any, context: any): any

Parameters

  • objectType: any
  • context: any

Returns

any

private typeCheckParameter(parameter: any, context: any): any

Parameters

  • parameter: any
  • context: any

Returns

any

private typeCheckParenthesizedArrowFunctionExpression(arrowFunction: any, isContextuallyTyped: any, context: any): any

Parameters

  • arrowFunction: any
  • isContextuallyTyped: any
  • context: any

Returns

any

private typeCheckPostfixUnaryExpression(unaryExpression: any, context: any): any

Parameters

  • unaryExpression: any
  • context: any

Returns

any

private typeCheckPropertySignature(varDecl: any, context: any): any

Parameters

  • varDecl: any
  • context: any

Returns

any

private typeCheckReturnExpression(expression: any, expressionType: any, enclosingFunction: any, context: any): any

Parameters

  • expression: any
  • expressionType: any
  • enclosingFunction: any
  • context: any

Returns

any

private typeCheckSetAccessorDeclaration(funcDeclAST: any, context: any): any

Parameters

  • funcDeclAST: any
  • context: any

Returns

any

private typeCheckSimpleArrowFunctionExpression(arrowFunction: any, isContextuallyTyped: any, context: any): any

Parameters

  • arrowFunction: any
  • isContextuallyTyped: any
  • context: any

Returns

any

private typeCheckSingleModuleDeclaration(ast: any, astName: any, context: any): any

Parameters

  • ast: any
  • astName: any
  • context: any

Returns

any

private typeCheckSourceUnit(sourceUnit: any, context: any): any

Parameters

  • sourceUnit: any
  • context: any

Returns

any

private typeCheckSuperExpression(ast: any, context: any, enclosingDecl: any): any

Parameters

  • ast: any
  • context: any
  • enclosingDecl: any

Returns

any

private typeCheckSwitchStatement(ast: any, context: any): any

Parameters

  • ast: any
  • context: any

Returns

any

private typeCheckThisExpression(thisExpression: any, context: any, enclosingDecl: any): any

Parameters

  • thisExpression: any
  • context: any
  • enclosingDecl: any

Returns

any

private typeCheckTryStatement(ast: any, context: any): any

Parameters

  • ast: any
  • context: any

Returns

any

private typeCheckTypeParameterDeclaration(typeParameterAST: any, context: any): any

Parameters

  • typeParameterAST: any
  • context: any

Returns

any

private typeCheckTypeParametersOfTypeDeclaration(classOrInterface: any, context: any): any

Parameters

  • classOrInterface: any
  • context: any

Returns

any

private typeCheckUnaryArithmeticOperation(unaryExpression: any, context: any): any

Parameters

  • unaryExpression: any
  • context: any

Returns

any

private typeCheckVariableDeclarator(varDecl: any, context: any): any

Parameters

  • varDecl: any
  • context: any

Returns

any

private typeCheckVariableDeclaratorOrParameterOrEnumElement(varDeclOrParameter: any, modifiers: any, name: any, typeExpr: any, init: any, context: any): any

Parameters

  • varDeclOrParameter: any
  • modifiers: any
  • name: any
  • typeExpr: any
  • init: any
  • context: any

Returns

any

private typeCheckWhileStatement(ast: any, context: any): any

Parameters

  • ast: any
  • context: any

Returns

any

private typeCheckWithStatement(ast: any, context: any): any

Parameters

  • ast: any
  • context: any

Returns

any

private typeIsAssignableToFunction(source: any, ast: any, context: any): any

Parameters

  • source: any
  • ast: any
  • context: any

Returns

any

private typeIsBestCommonTypeCandidate(candidateType: any, collection: any, context: any): any

Parameters

  • candidateType: any
  • collection: any
  • context: any

Returns

any

private typeParameterOfTypeDeclarationPrivacyErrorReporter(classOrInterface: any, typeParameterAST: any, typeParameter: any, symbol: any, context: any): any

Parameters

  • classOrInterface: any
  • typeParameterAST: any
  • typeParameter: any
  • symbol: any
  • context: any

Returns

any

private typeParametersAreIdentical(tp1: any, tp2: any, context: any): any

Parameters

  • tp1: any
  • tp2: any
  • context: any

Returns

any

private typeParametersAreIdenticalWorker(tp1: any, tp2: any, context: any): any

Parameters

  • tp1: any
  • tp2: any
  • context: any

Returns

any

private typeParametersAreInScopeAtArgumentList(typeParameters: any, args: any): any

Parameters

  • typeParameters: any
  • args: any

Returns

any

public typesAreIdentical(t1: PullTypeSymbol, t2: PullTypeSymbol, context: PullTypeResolutionContext): boolean

Parameters

Returns

boolean

private typesAreIdenticalInEnclosingTypes(t1: any, t2: any, context: any): any

Parameters

  • t1: any
  • t2: any
  • context: any

Returns

any

private typesAreIdenticalWithNewEnclosingTypes(t1: any, t2: any, context: any): any

Parameters

  • t1: any
  • t2: any
  • context: any

Returns

any

private typesAreIdenticalWorker(t1: any, t2: any, context: any): any

Parameters

  • t1: any
  • t2: any
  • context: any

Returns

any

private validateVariableDeclarationGroups(enclosingDecl: any, context: any): any

Parameters

  • enclosingDecl: any
  • context: any

Returns

any

private variablePrivacyErrorReporter(declAST: any, declSymbol: any, symbol: any, context: any): any

Parameters

  • declAST: any
  • declSymbol: any
  • symbol: any
  • context: any

Returns

any

private verifyUniquenessOfImportNamesInModule(decl: any): any

Parameters

  • decl: any

Returns

any

private verifyUniquenessOfImportNamesInSourceUnit(sourceUnit: any): any

Parameters

  • sourceUnit: any

Returns

any

private widenArrayType(type: any, ast: any, context: any): any

Parameters

  • type: any
  • ast: any
  • context: any

Returns

any

private widenObjectLiteralType(type: any, ast: any, context: any): any

Parameters

  • type: any
  • ast: any
  • context: any

Returns

any

public widenType(type: PullTypeSymbol, ast: AST, context: PullTypeResolutionContext): PullTypeSymbol

Parameters

Returns

PullTypeSymbol