Home
last modified time | relevance | path

Searched refs:heritageClauses (Results 1 – 25 of 36) sorted by relevance

12

/third_party/typescript/src/services/codefixes/
DfixExtendsInterfaceBecomesImplements.ts11 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 …]
DconvertToEs6Module.ts555 getSynthesizedDeepClones(cls.heritageClauses),
/third_party/jsframework/mock-generate/src/declaration-node/
DinterfaceDeclaration.ts43 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
DclassDeclaration.ts41 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/
DbuildProtocol.ts92 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/
DgenerateClassDeclaration.ts51 if (classEntity.heritageClauses.length > 0) {
52 classEntity.heritageClauses.forEach(value => {
DgenerateInterfaceDeclaration.ts62 if (interfaceEntity.heritageClauses.length > 0) {
63 interfaceEntity.heritageClauses.forEach(value => {
DgenerateMockJsFile.ts228 value.heritageClauses.forEach(val => {
235 value.heritageClauses.forEach(val => {
/third_party/typescript_eslint/packages/typescript-estree/tests/lib/__snapshots__/
Dconvert.test.ts.snap286 "heritageClauses": undefined,
428 "heritageClauses": undefined,
/third_party/typescript/src/compiler/factory/
DnodeFactory.ts689 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/
DpublicApi.ts102 …const propertyAccess = classDeclaration.heritageClauses![0].types[0].expression as ts.PropertyAcce…
/third_party/typescript/src/compiler/transformers/
Ddeclarations.ts1463 … const heritageClauses = factory.createNodeArray(map(input.heritageClauses, clause => { constant
1479 heritageClauses,
1484 const heritageClauses = transformHeritageClauses(input.heritageClauses); constant
1491 heritageClauses,
Dts.ts612 || 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),
DclassFields.ts479 visitNodes(node.heritageClauses, visitor, isHeritageClause),
526 visitNodes(node.heritageClauses, visitor, isHeritageClause),
/third_party/typescript/src/deprecatedCompat/
Ddeprecations.ts1104 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/
DvisitorPublic.ts745 … 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),
Dtypes.ts2828 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…
Dparser.ts365 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/
Dconvert.ts1500 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/
Dtypescript.d.ts1539 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 …]
Dtsserverlibrary.d.ts1539 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/
DtypescriptServices.d.ts1530 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 …]
Dtypescript.d.ts1530 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 …]
Dtsserverlibrary.d.ts1530 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/
DmoveToNewFile.ts788 …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);

12