Home
last modified time | relevance | path

Searched refs:heritageClause (Results 1 – 7 of 7) sorted by relevance

/third_party/typescript/src/linter/ArkTSLinter_1_0/
DUtils.ts339 for (const heritageClause of tsTypeDecl.heritageClauses) { constant
340 if (processParentTypesCheck(heritageClause.types, checkType)) return true;
589 for (const heritageClause of typeADecl.heritageClauses) { constant
590 …const processInterfaces = typeA.isClass() ? (heritageClause.token !== SyntaxKind.ExtendsKeyword) :…
591 if (processParentTypes(heritageClause.types, typeB, processInterfaces)) return true;
/third_party/typescript/src/linter/ArkTSLinter_1_1/
DUtils.ts489 for (const heritageClause of tsTypeDecl.heritageClauses) { constant
490 if (processParentTypesCheck(heritageClause.types, checkType)) {
742 for (const heritageClause of typeADecl.heritageClauses) { constant
743 …const processInterfaces = typeA.isClass() ? (heritageClause.token !== SyntaxKind.ExtendsKeyword) :…
744 if (processParentTypes(heritageClause.types, typeB, processInterfaces)) return true;
/third_party/typescript/src/compiler/
Dutilities.ts3320 const heritageClause = getHeritageClause(node.heritageClauses, SyntaxKind.ExtendsKeyword); constant
3321 … return heritageClause && heritageClause.types.length > 0 ? heritageClause.types[0] : undefined;
3329 … const heritageClause = getHeritageClause(node.heritageClauses, SyntaxKind.ImplementsKeyword); constant
3330 return heritageClause?.types;
3342 const heritageClause = getHeritageClause(node.heritageClauses, SyntaxKind.ExtendsKeyword); constant
3343 return heritageClause ? heritageClause.types : undefined;
7354 const heritageClause = findAncestor(node.parent, parent => { constant
7365 …return heritageClause?.token === SyntaxKind.ImplementsKeyword || heritageClause?.parent.kind === S…
Dprogram.ts2417 const heritageClause = node as HeritageClause; constant
2418 if (heritageClause.token === SyntaxKind.ImplementsKeyword) {
Dchecker.ts45634 for (const heritageClause of node.heritageClauses) { constant
45635 if (heritageClause.token === SyntaxKind.ExtendsKeyword) {
45637 … return grammarErrorOnFirstToken(heritageClause, Diagnostics.extends_clause_already_seen);
45641 …return grammarErrorOnFirstToken(heritageClause, Diagnostics.extends_clause_must_precede_implements…
45644 if (heritageClause.types.length > 1) {
45645 …return grammarErrorOnFirstToken(heritageClause.types[1], Diagnostics.Classes_can_only_extend_a_sin…
45651 Debug.assert(heritageClause.token === SyntaxKind.ImplementsKeyword);
45653 … return grammarErrorOnFirstToken(heritageClause, Diagnostics.implements_clause_already_seen);
45660 checkGrammarHeritageClause(heritageClause);
45669 for (const heritageClause of node.heritageClauses) { constant
[all …]
/third_party/typescript/lib/
DtypingsInstaller.js17704 … var heritageClause = getHeritageClause(node.heritageClauses, 95 /* SyntaxKind.ExtendsKeyword */);
17705 … return heritageClause && heritageClause.types.length > 0 ? heritageClause.types[0] : undefined;
17713 …var heritageClause = getHeritageClause(node.heritageClauses, 118 /* SyntaxKind.ImplementsKeyword *…
17714 … return heritageClause === null || heritageClause === void 0 ? void 0 : heritageClause.types;
17726 … var heritageClause = getHeritageClause(node.heritageClauses, 95 /* SyntaxKind.ExtendsKeyword */);
17727 return heritageClause ? heritageClause.types : undefined;
21393 var heritageClause = ts.findAncestor(node.parent, function (parent) {
21404heritageClause === null || heritageClause === void 0 ? void 0 : heritageClause.token) === 118 /* S…
92310 var heritageClause = _a[_i];
92311 if (heritageClause.token === 95 /* SyntaxKind.ExtendsKeyword */) {
[all …]
Dtsc.js13921 var heritageClause = getHeritageClause(node.heritageClauses, 95);
13922 … return heritageClause && heritageClause.types.length > 0 ? heritageClause.types[0] : undefined;
13930 var heritageClause = getHeritageClause(node.heritageClauses, 118);
13931 … return heritageClause === null || heritageClause === void 0 ? void 0 : heritageClause.types;
13942 var heritageClause = getHeritageClause(node.heritageClauses, 95);
13943 return heritageClause ? heritageClause.types : undefined;
17063 var heritageClause = ts.findAncestor(node.parent, function (parent) {
17074heritageClause === null || heritageClause === void 0 ? void 0 : heritageClause.token) === 118 || (
77948 var heritageClause = _a[_i];
77949 if (heritageClause.token === 95) {
[all …]