| /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 | 2879 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 | 9719 …const contextualType = isBindingPattern(element.name) ? getTypeFromBindingPattern(element.name, /*… constant 21804 const contextualType = !contextualSignatureReturnType ? undefined : constant 21814 const contextualType = !contextualSignatureReturnType ? undefined : constant 22391 const contextualType = node.kind === SyntaxKind.MethodDeclaration ? constant 26115 …const contextualType = (isIdentifier(node) || isPropertyAccessExpression(node) || isElementAccessE… constant 27081 …const contextualType = getApparentTypeOfContextualType(containingLiteral, /*contextFlags*/ undefin… constant 27249 const contextualType = getContextualType(node, contextFlags); constant 27716 const contextualType = isObjectLiteralMethod(node) ? constant 28208 … const contextualType = getApparentTypeOfContextualType(node, /*contextFlags*/ undefined); constant 28389 … const contextualType = getApparentTypeOfContextualType(node, /*contextFlags*/ undefined); constant [all …]
|
| D | types.ts | 908 …/* @internal */ contextualType?: Type; // Used to temporarily assign a contextual t… property 4885 * True if `contextualType` should not be considered for completions because enumerator
|
| /third_party/typescript/lib/ |
| D | typingsInstaller.js | 61790 function isTypeInvalidDueToUnionDiscriminant(contextualType, obj) { argument 70706 function getWidenedLiteralLikeTypeForContextualType(type, contextualType) { argument 76246 function discriminateContextualTypeByObjectMembers(node, contextualType) { argument 76249 function discriminateContextualTypeByJSXAttributes(node, contextualType) { argument 76268 function instantiateContextualType(contextualType, node, contextFlags) { argument 83316 … function checkExpressionWithContextualType(node, contextualType, inferenceContext, checkMode) { argument 83369 function checkDeclarationInitializer(declaration, checkMode, contextualType) { argument 83409 function isLiteralOfContextualType(candidateType, contextualType) { argument 83443 function checkExpressionForMutableLocation(node, checkMode, contextualType, forceTuple) { argument
|
| D | tsc.js | 51416 function isTypeInvalidDueToUnionDiscriminant(contextualType, obj) { argument 59212 function getWidenedLiteralLikeTypeForContextualType(type, contextualType) { argument 63954 function discriminateContextualTypeByObjectMembers(node, contextualType) { argument 63957 function discriminateContextualTypeByJSXAttributes(node, contextualType) { argument 63972 function instantiateContextualType(contextualType, node, contextFlags) { argument 70151 … function checkExpressionWithContextualType(node, contextualType, inferenceContext, checkMode) { argument 70193 function checkDeclarationInitializer(declaration, checkMode, contextualType) { argument 70233 function isLiteralOfContextualType(candidateType, contextualType) { argument 70262 function checkExpressionForMutableLocation(node, checkMode, contextualType, forceTuple) { argument
|