Home
last modified time | relevance | path

Searched refs:InterfaceDeclaration (Results 1 – 25 of 96) sorted by relevance

1234

/third_party/typescript/tests/cases/conformance/parser/ecmascript5/
DparserRealSource14.ts96 ((<TypeScript.InterfaceDeclaration>this.parent()).name === this.ast());
104 (this.parent().nodeType === TypeScript.NodeType.InterfaceDeclaration) &&
105 ((<TypeScript.InterfaceDeclaration>this.parent()).name === this.ast());
186 this.asts[this.top - 2].nodeType === TypeScript.NodeType.InterfaceDeclaration;
235 this.asts[this.top - 1].nodeType === TypeScript.NodeType.InterfaceDeclaration &&
236 … (<TypeScript.InterfaceDeclaration>this.asts[this.top - 1]).members == this.asts[this.top - 0];
DparserRealSource8.ts100 var classDecl = <InterfaceDeclaration>ast;
137 var interfaceDecl = <InterfaceDeclaration>ast;
404 else if (ast.nodeType == NodeType.InterfaceDeclaration) {
441 else if (ast.nodeType == NodeType.InterfaceDeclaration) {
DparserRealSource3.ts104 InterfaceDeclaration, enumerator
/third_party/typescript/src/services/codefixes/
DfixAddMissingMember.ts58 …const typeDeclToMembers = new Map<ClassLikeDeclaration | InterfaceDeclaration | TypeLiteralNode, T…
131 readonly parentDeclaration: ClassLikeDeclaration | InterfaceDeclaration | TypeLiteralNode;
246 …tions, d => isInterfaceDeclaration(d) || isTypeLiteralNode(d)) as InterfaceDeclaration | TypeLiter…
347 …function getTypeNode(checker: TypeChecker, node: ClassLikeDeclaration | InterfaceDeclaration | Typ…
362 …angeTracker, sourceFile: SourceFile, node: ClassLikeDeclaration | InterfaceDeclaration | TypeLiter…
379 …function getNodeToInsertPropertyAfter(node: ClassLikeDeclaration | InterfaceDeclaration | TypeLite…
388 …eFixContext, sourceFile: SourceFile, node: ClassLikeDeclaration | InterfaceDeclaration | TypeLiter…
434 parentDeclaration: ClassLikeDeclaration | InterfaceDeclaration | TypeLiteralNode,
632 …function tryGetContainingMethodDeclaration(node: ClassLikeDeclaration | InterfaceDeclaration | Typ…
DconvertToMappedObjectType.ts6 type FixableDeclaration = InterfaceDeclaration | TypeAliasDeclaration;
DfixClassIncorrectlyImplementsInterface.ts78 …aceMemberNode(sourceFile: SourceFile, cls: ClassLikeDeclaration | InterfaceDeclaration, newElement…
/third_party/typescript/src/services/refactors/
DconvertExport.ts51 …type ExportToConvert = FunctionDeclaration | ClassDeclaration | InterfaceDeclaration | EnumDeclara…
85 case SyntaxKind.InterfaceDeclaration:
89 …nst node = exportNode as FunctionDeclaration | ClassDeclaration | InterfaceDeclaration | EnumDecla…
138 case SyntaxKind.InterfaceDeclaration:
DmoveToNewFile.ts689 | InterfaceDeclaration
716 case SyntaxKind.InterfaceDeclaration:
731 case SyntaxKind.InterfaceDeclaration:
733 …on | EnumDeclaration | ModuleDeclaration | TypeAliasDeclaration | InterfaceDeclaration | ImportEqu…
812 case SyntaxKind.InterfaceDeclaration:
835 case SyntaxKind.InterfaceDeclaration:
/third_party/typescript/tests/baselines/reference/
DparserRealSource3.types299 InterfaceDeclaration,
300 >InterfaceDeclaration : NodeType.InterfaceDeclaration
DparserRealSource8.types388 var classDecl = <InterfaceDeclaration>ast;
389 >classDecl : InterfaceDeclaration
390 ><InterfaceDeclaration>ast : InterfaceDeclaration
404 >classDecl : InterfaceDeclaration
407 >classDecl : InterfaceDeclaration
414 >classDecl : InterfaceDeclaration
419 >classDecl : InterfaceDeclaration
576 var interfaceDecl = <InterfaceDeclaration>ast;
577 >interfaceDecl : InterfaceDeclaration
578 ><InterfaceDeclaration>ast : InterfaceDeclaration
[all …]
DparserRealSource14.js97 ((<TypeScript.InterfaceDeclaration>this.parent()).name === this.ast());
105 (this.parent().nodeType === TypeScript.NodeType.InterfaceDeclaration) &&
106 ((<TypeScript.InterfaceDeclaration>this.parent()).name === this.ast());
187 this.asts[this.top - 2].nodeType === TypeScript.NodeType.InterfaceDeclaration;
236 this.asts[this.top - 1].nodeType === TypeScript.NodeType.InterfaceDeclaration &&
237 … (<TypeScript.InterfaceDeclaration>this.asts[this.top - 1]).members == this.asts[this.top - 0];
667 (this.parent().nodeType === TypeScript.NodeType.InterfaceDeclaration) &&
736 this.asts[this.top - 2].nodeType === TypeScript.NodeType.InterfaceDeclaration;
777 this.asts[this.top - 1].nodeType === TypeScript.NodeType.InterfaceDeclaration &&
DparserRealSource14.types409 …Script.NodeType.ClassDeclaration) && ((<TypeScript.InterfaceDeclaration>this.parent…
440 ((<TypeScript.InterfaceDeclaration>this.parent()).name === this.ast());
441 >((<TypeScript.InterfaceDeclaration>this.parent()).name === this.ast()) : boolean
442 >(<TypeScript.InterfaceDeclaration>this.parent()).name === this.ast() : boolean
443 >(<TypeScript.InterfaceDeclaration>this.parent()).name : any
444 >(<TypeScript.InterfaceDeclaration>this.parent()) : TypeScript.InterfaceDeclaration
445 ><TypeScript.InterfaceDeclaration>this.parent() : TypeScript.InterfaceDeclaration
480 …ent().nodeType === TypeScript.NodeType.InterfaceDeclaration) && ((<TypeScript.Inter…
481 …) && (this.parent().nodeType === TypeScript.NodeType.InterfaceDeclaration) : boolean
496 (this.parent().nodeType === TypeScript.NodeType.InterfaceDeclaration) &&
[all …]
DparserRealSource8.js101 var classDecl = <InterfaceDeclaration>ast;
138 var interfaceDecl = <InterfaceDeclaration>ast;
405 else if (ast.nodeType == NodeType.InterfaceDeclaration) {
442 else if (ast.nodeType == NodeType.InterfaceDeclaration) {
814 else if (ast.nodeType == NodeType.InterfaceDeclaration) {
849 else if (ast.nodeType == NodeType.InterfaceDeclaration) {
DparserRealSource3.symbols299 InterfaceDeclaration,
300 >InterfaceDeclaration : Symbol(NodeType.InterfaceDeclaration, Decl(parserRealSource3.ts, 102, 25))
DparserRealSource3.errors.txt110 InterfaceDeclaration,
DparserRealSource6.js165 case NodeType.InterfaceDeclaration:
369 case NodeType.InterfaceDeclaration:
DparserRealSource8.errors.txt19 …er/ecmascript5/parserRealSource8.ts(100,26): error TS2304: Cannot find name 'InterfaceDeclaration'.
27 …er/ecmascript5/parserRealSource8.ts(137,30): error TS2304: Cannot find name 'InterfaceDeclaration'.
269 var classDecl = <InterfaceDeclaration>ast;
271 !!! error TS2304: Cannot find name 'InterfaceDeclaration'.
322 var interfaceDecl = <InterfaceDeclaration>ast;
324 !!! error TS2304: Cannot find name 'InterfaceDeclaration'.
759 else if (ast.nodeType == NodeType.InterfaceDeclaration) {
818 else if (ast.nodeType == NodeType.InterfaceDeclaration) {
DparserRealSource14.errors.txt12 …ce14.ts(96,31): error TS2694: Namespace 'TypeScript' has no exported member 'InterfaceDeclaration'.
15 …e14.ts(105,31): error TS2694: Namespace 'TypeScript' has no exported member 'InterfaceDeclaration'.
64 …e14.ts(236,31): error TS2694: Namespace 'TypeScript' has no exported member 'InterfaceDeclaration'.
281 ((<TypeScript.InterfaceDeclaration>this.parent()).name === this.ast());
283 !!! error TS2694: Namespace 'TypeScript' has no exported member 'InterfaceDeclaration'.
293 (this.parent().nodeType === TypeScript.NodeType.InterfaceDeclaration) &&
296 ((<TypeScript.InterfaceDeclaration>this.parent()).name === this.ast());
298 !!! error TS2694: Namespace 'TypeScript' has no exported member 'InterfaceDeclaration'.
431 this.asts[this.top - 2].nodeType === TypeScript.NodeType.InterfaceDeclaration;
522 this.asts[this.top - 1].nodeType === TypeScript.NodeType.InterfaceDeclaration &&
[all …]
/third_party/typescript/src/services/
Dclassifier2020.ts63 case SyntaxKind.InterfaceDeclaration:
246 [SyntaxKind.InterfaceDeclaration, TokenType.interface],
DtextChanges.ts302 …AtStart = new Map<number, { readonly node: ClassLikeDeclaration | InterfaceDeclaration | ObjectLit…
621 …emberAtStart(sourceFile: SourceFile, node: ClassLikeDeclaration | InterfaceDeclaration | TypeLiter…
629 …tStartWorker(sourceFile: SourceFile, node: ClassLikeDeclaration | InterfaceDeclaration | ObjectLit…
638 …stingMembers(sourceFile: SourceFile, node: ClassLikeDeclaration | InterfaceDeclaration | ObjectLit…
660 …ForNewMember(sourceFile: SourceFile, node: ClassLikeDeclaration | InterfaceDeclaration | ObjectLit…
666 …nsertOptions(sourceFile: SourceFile, node: ClassLikeDeclaration | InterfaceDeclaration | ObjectLit…
1018 …function getClassOrObjectBraceEnds(cls: ClassLikeDeclaration | InterfaceDeclaration | ObjectLitera…
1023 …function getMembersOrProperties(node: ClassLikeDeclaration | InterfaceDeclaration | ObjectLiteralE…
/third_party/typescript/src/compiler/factory/
DutilitiesPublic.ts26 || kind === SyntaxKind.InterfaceDeclaration
/third_party/typescript/src/deprecatedCompat/4.8/
DmergeDecoratorsAndModifiers.ts154 …ses: readonly HeritageClause[] | undefined, members: readonly TypeElement[]): InterfaceDeclaration;
158InterfaceDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[]…
923 …es: readonly HeritageClause[] | undefined, members: readonly TypeElement[]): InterfaceDeclaration {
927 …es: readonly HeritageClause[] | undefined, members: readonly TypeElement[]): InterfaceDeclaration {
955InterfaceDeclaration, modifiers: readonly Modifier[] | undefined, name: Identifier, typeParameters…
959InterfaceDeclaration, _decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[…
/third_party/typescript/src/services/formatting/
DsmartIndenter.ts464 case SyntaxKind.InterfaceDeclaration:
467 …(node as ClassDeclaration | ClassExpression | StructDeclaration | InterfaceDeclaration | TypeAlias…
589 case SyntaxKind.InterfaceDeclaration:
/third_party/typescript/scripts/
DbuildProtocol.mjs135 case ts.SyntaxKind.InterfaceDeclaration:
136 … const heritageClauses = /** @type {ts.InterfaceDeclaration} */ (node.parent).heritageClauses;
/third_party/typescript/src/linter/ArkTSLinter_1_1/
DInteropTypescriptLinter.ts96 [ts.SyntaxKind.InterfaceDeclaration, this.handleInterfaceDeclaration],
340 const interfaceNode = node as InterfaceDeclaration;

1234