Home
last modified time | relevance | path

Searched refs:typeElements (Results 1 – 5 of 5) sorted by relevance

/third_party/typescript/src/services/refactors/
DextractType.ts36 …[extractToTypeDefAction] : append([extractToTypeAliasAction], info.typeElements && extractToInterf…
69 … Debug.assert(!info.isJS && !!info.typeElements, "Invalid actionName/JS combo");
83 …ment: Statement; typeParameters: readonly TypeParameterDeclaration[]; typeElements?: readonly Type… property
87 …ment: Statement; typeParameters: readonly TypeParameterDeclaration[]; typeElements: readonly TypeE… property
108 const typeElements = flattenTypeLiteralNodeReference(checker, selection); constant
109 return { isJS, selection, firstStatement, typeParameters, typeElements };
213 const { firstStatement, selection, typeParameters, typeElements } = info; constant
220 typeElements
222 setTextRange(newTypeNode, typeElements[0]?.parent);
DextractSymbol.ts1026 const typeElements: TypeElement[] = []; constant
1041 typeElements.push(factory.createPropertySignature(
1050 …iteralNode | undefined = sawExplicitType ? factory.createTypeLiteralNode(typeElements) : undefined;
/third_party/typescript/src/compiler/
Dchecker.ts5873 const typeElements: TypeElement[] = [];
5875typeElements.push(signatureToSignatureDeclarationHelper(signature, SyntaxKind.CallSignature, conte…
5879typeElements.push(signatureToSignatureDeclarationHelper(signature, SyntaxKind.ConstructSignature, …
5882typeElements.push(indexInfoToIndexSignatureDeclarationHelper(info, context, resolvedType.objectFla…
5887 return typeElements;
5902typeElements.push(factory.createPropertySignature(/*modifiers*/ undefined, `... ${properties.lengt…
5903 … addPropertyToElementList(properties[properties.length - 1], context, typeElements);
5906 addPropertyToElementList(propertySymbol, context, typeElements);
5909 return typeElements.length ? typeElements : undefined;
5938 …rtyToElementList(propertySymbol: Symbol, context: NodeBuilderContext, typeElements: TypeElement[])…
[all …]
/third_party/typescript/lib/
DtypingsInstaller.js55834 var typeElements = [];
55837typeElements.push(signatureToSignatureDeclarationHelper(signature, 177 /* SyntaxKind.CallSignature…
55843typeElements.push(signatureToSignatureDeclarationHelper(signature, 178 /* SyntaxKind.ConstructSign…
55847typeElements.push(indexInfoToIndexSignatureDeclarationHelper(info, context, resolvedType.objectFla…
55851 return typeElements;
55866typeElements.push(ts.factory.createPropertySignature(/*modifiers*/ undefined, "... ".concat(proper…
55867 … addPropertyToElementList(properties[properties.length - 1], context, typeElements);
55870 addPropertyToElementList(propertySymbol, context, typeElements);
55872 return typeElements.length ? typeElements : undefined;
55895 function addPropertyToElementList(propertySymbol, context, typeElements) { argument
[all …]
Dtsc.js46263 var typeElements = [];
46266typeElements.push(signatureToSignatureDeclarationHelper(signature, 177, context));
46272typeElements.push(signatureToSignatureDeclarationHelper(signature, 178, context));
46276typeElements.push(indexInfoToIndexSignatureDeclarationHelper(info, context, resolvedType.objectFla…
46280 return typeElements;
46295typeElements.push(ts.factory.createPropertySignature(undefined, "... ".concat(properties.length - …
46296 … addPropertyToElementList(properties[properties.length - 1], context, typeElements);
46299 addPropertyToElementList(propertySymbol, context, typeElements);
46301 return typeElements.length ? typeElements : undefined;
46318 function addPropertyToElementList(propertySymbol, context, typeElements) { argument
[all …]