/third_party/typescript/src/services/codefixes/ |
D | fixExtendsInterfaceBecomesImplements.ts | 11 const { extendsToken, heritageClauses } = nodes; constant 12 …tChanges.ChangeTracker.with(context, t => doChanges(t, sourceFile, extendsToken, heritageClauses)); 18 if (nodes) doChanges(changes, diag.file, nodes.extendsToken, nodes.heritageClauses); 24 const heritageClauses = getContainingClass(token)!.heritageClauses!; constant 25 const extendsToken = heritageClauses[0].getFirstToken()!; 26 …return extendsToken.kind === SyntaxKind.ExtendsKeyword ? { extendsToken, heritageClauses } : undef… 29 …xtChanges.ChangeTracker, sourceFile: SourceFile, extendsToken: Node, heritageClauses: readonly Her… 33 if (heritageClauses.length === 2 && 34 heritageClauses[0].token === SyntaxKind.ExtendsKeyword && 35 heritageClauses[1].token === SyntaxKind.ImplementsKeyword) { [all …]
|
D | convertToEs6Module.ts | 555 getSynthesizedDeepClones(cls.heritageClauses),
|
/third_party/jsframework/mock-generate/src/declaration-node/ |
D | interfaceDeclaration.ts | 43 const heritageClauses: Array<HeritageClauseEntity> = []; constant 51 if (interfaceNode.heritageClauses !== undefined) { 52 interfaceNode.heritageClauses.forEach(value => { 53 heritageClauses.push(getHeritageClauseDeclaration(value, sourceFile)); 70 heritageClauses.push(getHeritageClauseDeclaration(value, sourceFile)); 90 heritageClauses: heritageClauses, 103 heritageClauses: Array<HeritageClauseEntity>, property
|
D | classDeclaration.ts | 41 const heritageClauses: Array<HeritageClauseEntity> = []; constant 48 if (classNode.heritageClauses !== undefined) { 49 classNode.heritageClauses.forEach(value => { 50 heritageClauses.push(getHeritageClauseDeclaration(value, sourceFile)); 85 heritageClauses: heritageClauses, 97 heritageClauses: Array<HeritageClauseEntity>, property
|
/third_party/typescript/scripts/ |
D | buildProtocol.ts | 92 const heritageClauses = (<ts.InterfaceDeclaration>node.parent).heritageClauses; constant 93 if (heritageClauses) { 94 if (heritageClauses[0].token !== ts.SyntaxKind.ExtendsKeyword) { 95 … throw new Error(`Unexpected kind of heritage clause: ${ts.SyntaxKind[heritageClauses[0].kind]}`); 97 for (const type of heritageClauses[0].types) {
|
/third_party/jsframework/mock-generate/src/generate/ |
D | generateClassDeclaration.ts | 51 if (classEntity.heritageClauses.length > 0) { 52 classEntity.heritageClauses.forEach(value => {
|
D | generateInterfaceDeclaration.ts | 62 if (interfaceEntity.heritageClauses.length > 0) { 63 interfaceEntity.heritageClauses.forEach(value => {
|
D | generateMockJsFile.ts | 228 value.heritageClauses.forEach(val => { 235 value.heritageClauses.forEach(val => {
|
/third_party/typescript_eslint/packages/typescript-estree/tests/lib/__snapshots__/ |
D | convert.test.ts.snap | 286 "heritageClauses": undefined, 428 "heritageClauses": undefined,
|
/third_party/typescript/src/compiler/factory/ |
D | nodeFactory.ts | 689 heritageClauses: readonly HeritageClause[] | undefined 698 node.heritageClauses = asNodeArray(heritageClauses); 699 node.transformFlags |= propagateChildrenFlags(node.heritageClauses); 709 heritageClauses: readonly HeritageClause[] | undefined, 718 heritageClauses 2938 heritageClauses: readonly HeritageClause[] | undefined, 2947 heritageClauses, 2961 heritageClauses: readonly HeritageClause[] | undefined, 2968 || node.heritageClauses !== heritageClauses 2970 …e(createClassExpression(decorators, modifiers, name, typeParameters, heritageClauses, members), no… [all …]
|
/third_party/typescript/src/testRunner/unittests/ |
D | publicApi.ts | 102 …const propertyAccess = classDeclaration.heritageClauses![0].types[0].expression as ts.PropertyAcce…
|
/third_party/typescript/src/compiler/transformers/ |
D | declarations.ts | 1463 … const heritageClauses = factory.createNodeArray(map(input.heritageClauses, clause => { constant 1479 heritageClauses, 1484 const heritageClauses = transformHeritageClauses(input.heritageClauses); constant 1491 heritageClauses,
|
D | ts.ts | 612 || some(node.heritageClauses, hasTypeScriptClassSyntax) 737 visitNodes(node.heritageClauses, visitor, isHeritageClause), 852 const heritageClauses = visitNodes(node.heritageClauses, visitor, isHeritageClause); constant 854 … undefined, /*modifiers*/ undefined, name, /*typeParameters*/ undefined, heritageClauses, members); 887 visitNodes(node.heritageClauses, visitor, isHeritageClause),
|
D | classFields.ts | 479 visitNodes(node.heritageClauses, visitor, isHeritageClause), 526 visitNodes(node.heritageClauses, visitor, isHeritageClause),
|
/third_party/typescript/src/deprecatedCompat/ |
D | deprecations.ts | 1104 heritageClauses: readonly HeritageClause[] | undefined, 1107 …assExpression(/*decorators*/ undefined, modifiers, name, typeParameters, heritageClauses, members); 1116 heritageClauses: readonly HeritageClause[] | undefined, 1119 …ression(node, /*decorators*/ undefined, modifiers, name, typeParameters, heritageClauses, members);
|
/third_party/typescript/src/compiler/ |
D | visitorPublic.ts | 745 … nodesVisitor((<ClassExpression>node).heritageClauses, visitor, isHeritageClause), 891 … nodesVisitor((<ClassDeclaration>node).heritageClauses, visitor, isHeritageClause), 900 … nodesVisitor((<StructDeclaration>node).heritageClauses, visitor, isHeritageClause), 909 … nodesVisitor((<InterfaceDeclaration>node).heritageClauses, visitor, isHeritageClause),
|
D | types.ts | 2828 readonly heritageClauses?: NodeArray<HeritageClause>; 2869 readonly heritageClauses?: NodeArray<HeritageClause>; 7119 …ed, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly Her… 7120 …ed, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly Her… 7187 …ed, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly Her… 7188 …ed, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly Her… 7189 …ed, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly Her… 7190 …ed, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly Her… 7191 …er, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly Her… 7192 …er, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly Her…
|
D | parser.ts | 365 visitNodes(cbNode, cbNodes, (<ClassLikeDeclaration>node).heritageClauses) || 372 visitNodes(cbNode, cbNodes, (<ClassDeclaration>node).heritageClauses) || 7090 const heritageClauses = parseHeritageClauses(); 7104 …ctory.createClassDeclaration(decorators, modifiers, name, typeParameters, heritageClauses, members) 7105 …ctory.createClassExpression(decorators, modifiers, name, typeParameters, heritageClauses, members); 7119 let heritageClauses = parseHeritageClauses(); 7121 if (!heritageClauses && customComponent) { 7122 heritageClauses = createVirtualHeritageClauses(customComponent); 7135 …ory.createStructDeclaration(decorators, modifiers, name, typeParameters, heritageClauses, members); 7253 const heritageClauses = parseHeritageClauses(); [all …]
|
/third_party/typescript_eslint/packages/typescript-estree/src/ |
D | convert.ts | 1500 const heritageClauses = node.heritageClauses ?? []; constant 1506 const superClass = heritageClauses.find( 1510 const implementsClause = heritageClauses.find( 2481 const interfaceHeritageClauses = node.heritageClauses ?? [];
|
/third_party/typescript/tests/baselines/reference/api/ |
D | typescript.d.ts | 1539 readonly heritageClauses?: NodeArray<HeritageClause>; property 1569 readonly heritageClauses?: NodeArray<HeritageClause>; property 3456 …ed, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly Her… 3457 …ed, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly Her… 3514 …ed, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly Her… 3515 …ed, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly Her… 3516 …ed, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly Her… 3517 …ed, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly Her… 3518 …er, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly Her… 3519 …er, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly Her… [all …]
|
D | tsserverlibrary.d.ts | 1539 readonly heritageClauses?: NodeArray<HeritageClause>; property 1569 readonly heritageClauses?: NodeArray<HeritageClause>; property 3456 …ed, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly Her… 3457 …ed, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly Her… 3514 …ed, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly Her… 3515 …ed, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly Her… 3516 …ed, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly Her… 3517 …ed, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly Her… 3518 …er, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly Her… 3519 …er, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly Her… [all …]
|
/third_party/typescript/lib/ |
D | typescriptServices.d.ts | 1530 readonly heritageClauses?: NodeArray<HeritageClause>; property 1560 readonly heritageClauses?: NodeArray<HeritageClause>; property 3380 …ed, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly Her… 3381 …ed, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly Her… 3438 …ed, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly Her… 3439 …ed, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly Her… 3440 …ed, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly Her… 3441 …ed, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly Her… 3442 …er, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly Her… 3443 …er, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly Her… [all …]
|
D | typescript.d.ts | 1530 readonly heritageClauses?: NodeArray<HeritageClause>; property 1560 readonly heritageClauses?: NodeArray<HeritageClause>; property 3380 …ed, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly Her… 3381 …ed, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly Her… 3438 …ed, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly Her… 3439 …ed, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly Her… 3440 …ed, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly Her… 3441 …ed, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly Her… 3442 …er, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly Her… 3443 …er, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly Her… [all …]
|
D | tsserverlibrary.d.ts | 1530 readonly heritageClauses?: NodeArray<HeritageClause>; property 1560 readonly heritageClauses?: NodeArray<HeritageClause>; property 3380 …ed, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly Her… 3381 …ed, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly Her… 3438 …ed, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly Her… 3439 …ed, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly Her… 3440 …ed, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly Her… 3441 …ed, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly Her… 3442 …er, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly Her… 3443 …er, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly Her… [all …]
|
/third_party/typescript/src/services/refactors/ |
D | moveToNewFile.ts | 788 …assDeclaration(d, d.decorators, modifiers, d.name, d.typeParameters, d.heritageClauses, d.members); 798 …aceDeclaration(d, d.decorators, modifiers, d.name, d.typeParameters, d.heritageClauses, d.members);
|