/third_party/typescript/src/services/ |
D | signatureHelp.ts | 305 const { contextualType, argumentIndex, argumentCount, argumentsSpan } = info; constant 320 …interface ContextualSignatureLocationInfo { readonly contextualType: Type; readonly argumentIndex:… property 332 …const contextualType = isMethodDeclaration(parent) ? checker.getContextualTypeForObjectLiteralElem… constant 336 const contextualType = checker.getContextualType(highestBinary); constant
|
D | goToDefinition.ts | 181 const contextualType = element && typeChecker.getContextualType(element.parent); constant
|
D | stringCompletions.ts | 318 const contextualType = checker.getContextualType(objectLiteralExpression); constant
|
D | findAllReferences.ts | 2168 … const contextualType = checker.getContextualType(containingObjectLiteralElement.parent); constant
|
D | services.ts | 2875 const contextualType = checker.getContextualType(object.parent); constant
|
D | utilities.ts | 800 const contextualType = getContextualTypeFromParent(node, checker); constant
|
D | completions.ts | 2258 …const contextualType = previousToken && getContextualType(previousToken, position, sourceFile, typ… constant
|
/third_party/typescript/src/services/codefixes/ |
D | fixAddMissingConstraint.ts | 106 const contextualType = isExpression(node) ? checker.getContextualType(node) : undefined; constant
|
D | fixAddMissingMember.ts | 356 const contextualType = checker.getContextualType(token.parent as Expression); constant
|
/third_party/typescript/src/services/refactors/ |
D | extractSymbol.ts | 911 const contextualType = checker.getContextualType(node); constant 1693 const contextualType = checker.getContextualType(targetRange.range)!; // TODO: GH#18217 constant
|
D | convertParamsToDestructuredObject.ts | 223 …const contextualType = checker.getContextualTypeForObjectLiteralElement(element as ObjectLiteralEl… constant
|
/third_party/typescript/src/compiler/ |
D | checker.ts | 9678 …const contextualType = isBindingPattern(element.name) ? getTypeFromBindingPattern(element.name, /*… constant 21763 const contextualType = !contextualSignatureReturnType ? undefined : constant 21773 const contextualType = !contextualSignatureReturnType ? undefined : constant 22350 const contextualType = node.kind === SyntaxKind.MethodDeclaration ? constant 26074 …const contextualType = (isIdentifier(node) || isPropertyAccessExpression(node) || isElementAccessE… constant 27040 …const contextualType = getApparentTypeOfContextualType(containingLiteral, /*contextFlags*/ undefin… constant 27208 const contextualType = getContextualType(node, contextFlags); constant 27675 const contextualType = isObjectLiteralMethod(node) ? constant 28167 … const contextualType = getApparentTypeOfContextualType(node, /*contextFlags*/ undefined); constant 28348 … const contextualType = getApparentTypeOfContextualType(node, /*contextFlags*/ undefined); constant [all …]
|
D | types.ts | 904 …/* @internal */ contextualType?: Type; // Used to temporarily assign a contextual t… property 4864 * True if `contextualType` should not be considered for completions because enumerator
|
/third_party/typescript/lib/ |
D | typingsInstaller.js | 61595 function isTypeInvalidDueToUnionDiscriminant(contextualType, obj) { argument 70511 function getWidenedLiteralLikeTypeForContextualType(type, contextualType) { argument 76051 function discriminateContextualTypeByObjectMembers(node, contextualType) { argument 76054 function discriminateContextualTypeByJSXAttributes(node, contextualType) { argument 76073 function instantiateContextualType(contextualType, node, contextFlags) { argument 83101 … function checkExpressionWithContextualType(node, contextualType, inferenceContext, checkMode) { argument 83154 function checkDeclarationInitializer(declaration, checkMode, contextualType) { argument 83194 function isLiteralOfContextualType(candidateType, contextualType) { argument 83228 function checkExpressionForMutableLocation(node, checkMode, contextualType, forceTuple) { argument
|
D | tsc.js | 51237 function isTypeInvalidDueToUnionDiscriminant(contextualType, obj) { argument 59033 function getWidenedLiteralLikeTypeForContextualType(type, contextualType) { argument 63775 function discriminateContextualTypeByObjectMembers(node, contextualType) { argument 63778 function discriminateContextualTypeByJSXAttributes(node, contextualType) { argument 63793 function instantiateContextualType(contextualType, node, contextFlags) { argument 69952 … function checkExpressionWithContextualType(node, contextualType, inferenceContext, checkMode) { argument 69994 function checkDeclarationInitializer(declaration, checkMode, contextualType) { argument 70034 function isLiteralOfContextualType(candidateType, contextualType) { argument 70063 function checkExpressionForMutableLocation(node, checkMode, contextualType, forceTuple) { argument
|