Searched refs:typeElements (Results 1 – 5 of 5) sorted by relevance
/third_party/typescript/src/services/refactors/ |
D | extractType.ts | 36 …[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);
|
D | extractSymbol.ts | 1026 const typeElements: TypeElement[] = []; constant 1041 typeElements.push(factory.createPropertySignature( 1050 …iteralNode | undefined = sawExplicitType ? factory.createTypeLiteralNode(typeElements) : undefined;
|
/third_party/typescript/src/compiler/ |
D | checker.ts | 5873 const typeElements: TypeElement[] = []; 5875 …typeElements.push(signatureToSignatureDeclarationHelper(signature, SyntaxKind.CallSignature, conte… 5879 …typeElements.push(signatureToSignatureDeclarationHelper(signature, SyntaxKind.ConstructSignature, … 5882 …typeElements.push(indexInfoToIndexSignatureDeclarationHelper(info, context, resolvedType.objectFla… 5887 return typeElements; 5902 …typeElements.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/ |
D | typingsInstaller.js | 55834 var typeElements = []; 55837 …typeElements.push(signatureToSignatureDeclarationHelper(signature, 177 /* SyntaxKind.CallSignature… 55843 …typeElements.push(signatureToSignatureDeclarationHelper(signature, 178 /* SyntaxKind.ConstructSign… 55847 …typeElements.push(indexInfoToIndexSignatureDeclarationHelper(info, context, resolvedType.objectFla… 55851 return typeElements; 55866 …typeElements.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 …]
|
D | tsc.js | 46263 var typeElements = []; 46266 … typeElements.push(signatureToSignatureDeclarationHelper(signature, 177, context)); 46272 … typeElements.push(signatureToSignatureDeclarationHelper(signature, 178, context)); 46276 …typeElements.push(indexInfoToIndexSignatureDeclarationHelper(info, context, resolvedType.objectFla… 46280 return typeElements; 46295 …typeElements.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 …]
|