/third_party/typescript/tests/baselines/reference/ |
D | stringLiteralTypesAsTags01.types | 5 interface Entity { 10 interface A extends Entity { 18 interface B extends Entity { 26 function hasKind(entity: Entity, kind: "A"): entity is A; 27 …nd : { (entity: Entity, kind: "A"): entity is A; (entity: Entity, kind: "B"): entity is B; (entity… 28 >entity : Entity 31 function hasKind(entity: Entity, kind: "B"): entity is B; 32 …nd : { (entity: Entity, kind: "A"): entity is A; (entity: Entity, kind: "B"): entity is B; (entity… 33 >entity : Entity 36 function hasKind(entity: Entity, kind: Kind): entity is Entity; [all …]
|
D | recursiveIntersectionTypes.types | 6 interface Entity { 11 interface Product extends Entity { 16 var entityList: LinkedList<Entity>; 17 >entityList : LinkedList<Entity> 22 >entityList : LinkedList<Entity> 28 >entityList.next : LinkedList<Entity> 29 >entityList : LinkedList<Entity> 30 >next : LinkedList<Entity> 36 >entityList.next.next : LinkedList<Entity> 37 >entityList.next : LinkedList<Entity> [all …]
|
D | defaultExportsCannotMerge01.symbols | 33 import Entity from "m1" 34 >Entity : Symbol(Entity, Decl(m2.ts, 0, 6)) 36 Entity(); 37 >Entity : Symbol(Entity, Decl(m2.ts, 0, 6)) 39 var x: Entity; 41 >Entity : Symbol(Entity, Decl(m2.ts, 0, 6)) 43 var y: Entity.I; 45 >Entity : Symbol(Entity, Decl(m2.ts, 0, 6)) 46 >I : Symbol(Entity) 48 Entity.x; [all …]
|
D | defaultExportsCannotMerge01.types | 33 import Entity from "m1" 34 >Entity : any 36 Entity(); 37 >Entity() : any 38 >Entity : any 40 var x: Entity; 43 var y: Entity.I; 45 >Entity : any 47 Entity.x; 48 >Entity.x : any [all …]
|
D | stringLiteralTypesAsTags02.types | 5 interface Entity { 10 interface A extends Entity { 18 interface B extends Entity { 26 function hasKind(entity: Entity, kind: "A"): entity is A; 27 >hasKind : { (entity: Entity, kind: "A"): entity is A; (entity: Entity, kind: "B"): entity is B; } 28 >entity : Entity 31 function hasKind(entity: Entity, kind: "B"): entity is B; 32 >hasKind : { (entity: Entity, kind: "A"): entity is A; (entity: Entity, kind: "B"): entity is B; } 33 >entity : Entity 36 function hasKind(entity: Entity, kind: Kind): entity is (A | B) { [all …]
|
D | stringLiteralTypesAsTags01.js | 4 interface Entity { 8 interface A extends Entity { 13 interface B extends Entity { 18 function hasKind(entity: Entity, kind: "A"): entity is A; 19 function hasKind(entity: Entity, kind: "B"): entity is B; 20 function hasKind(entity: Entity, kind: Kind): entity is Entity; 21 function hasKind(entity: Entity, kind: Kind): boolean { 68 interface Entity { 71 interface A extends Entity { 75 interface B extends Entity { [all …]
|
D | stringLiteralTypesAsTags03.types | 5 interface Entity { 10 interface A extends Entity { 18 interface B extends Entity { 30 function hasKind(entity: Entity, kind: "A" | "A"): entity is A; 31 >hasKind : { (entity: Entity, kind: "A" | "A"): entity is A; (entity: Entity, kind: "B"): entity is… 32 >entity : Entity 35 function hasKind(entity: Entity, kind: "B" | "B"): entity is B; 36 >hasKind : { (entity: Entity, kind: "A"): entity is A; (entity: Entity, kind: "B" | "B"): entity is… 37 >entity : Entity 40 function hasKind(entity: Entity, kind: Kind): entity is Entity { [all …]
|
D | defaultExportsCannotMerge02.symbols | 25 import Entity from "m1" 26 >Entity : Symbol(Entity, Decl(m2.ts, 0, 6)) 28 Entity(); 29 >Entity : Symbol(Entity, Decl(m2.ts, 0, 6)) 31 var x: Entity; 33 >Entity : Symbol(Entity, Decl(m2.ts, 0, 6)) 35 var y: Entity.I; 37 >Entity : Symbol(Entity, Decl(m2.ts, 0, 6)) 38 >I : Symbol(Entity) 40 var z = new Entity(); [all …]
|
D | stringLiteralTypesAsTags01.symbols | 5 interface Entity { 6 >Entity : Symbol(Entity, Decl(stringLiteralTypesAsTags01.ts, 0, 21)) 9 >kind : Symbol(Entity.kind, Decl(stringLiteralTypesAsTags01.ts, 2, 18)) 13 interface A extends Entity { 15 >Entity : Symbol(Entity, Decl(stringLiteralTypesAsTags01.ts, 0, 21)) 24 interface B extends Entity { 26 >Entity : Symbol(Entity, Decl(stringLiteralTypesAsTags01.ts, 0, 21)) 35 function hasKind(entity: Entity, kind: "A"): entity is A; 38 >Entity : Symbol(Entity, Decl(stringLiteralTypesAsTags01.ts, 0, 21)) 43 function hasKind(entity: Entity, kind: "B"): entity is B; [all …]
|
D | defaultExportsCannotMerge03.symbols | 25 import Entity from "m1" 26 >Entity : Symbol(Entity, Decl(m2.ts, 0, 6)) 28 Entity(); 29 >Entity : Symbol(Entity, Decl(m2.ts, 0, 6)) 31 var x: Entity; 33 >Entity : Symbol(Entity, Decl(m2.ts, 0, 6)) 35 var y: Entity.I; 37 >Entity : Symbol(Entity, Decl(m2.ts, 0, 6)) 38 >I : Symbol(Entity) 40 var z = new Entity(); [all …]
|
D | stringLiteralTypesAsTags03.symbols | 5 interface Entity { 6 >Entity : Symbol(Entity, Decl(stringLiteralTypesAsTags03.ts, 0, 21)) 9 >kind : Symbol(Entity.kind, Decl(stringLiteralTypesAsTags03.ts, 2, 18)) 13 interface A extends Entity { 15 >Entity : Symbol(Entity, Decl(stringLiteralTypesAsTags03.ts, 0, 21)) 24 interface B extends Entity { 26 >Entity : Symbol(Entity, Decl(stringLiteralTypesAsTags03.ts, 0, 21)) 39 function hasKind(entity: Entity, kind: "A" | "A"): entity is A; 42 >Entity : Symbol(Entity, Decl(stringLiteralTypesAsTags03.ts, 0, 21)) 47 function hasKind(entity: Entity, kind: "B" | "B"): entity is B; [all …]
|
D | stringLiteralTypesAsTags03.js | 4 interface Entity { 8 interface A extends Entity { 13 interface B extends Entity { 22 function hasKind(entity: Entity, kind: "A" | "A"): entity is A; 23 function hasKind(entity: Entity, kind: "B" | "B"): entity is B; 24 function hasKind(entity: Entity, kind: Kind): entity is Entity { 71 interface Entity { 74 interface A extends Entity { 78 interface B extends Entity { 82 declare function hasKind(entity: Entity, kind: "A" | "A"): entity is A; [all …]
|
D | defaultExportsCannotMerge03.types | 20 import Entity from "m1" 21 >Entity : any 23 Entity(); 24 >Entity() : any 25 >Entity : any 27 var x: Entity; 30 var y: Entity.I; 32 >Entity : any 34 var z = new Entity(); 36 >new Entity() : any [all …]
|
D | defaultExportsCannotMerge02.types | 20 import Entity from "m1" 21 >Entity : any 23 Entity(); 24 >Entity() : any 25 >Entity : any 27 var x: Entity; 30 var y: Entity.I; 32 >Entity : any 34 var z = new Entity(); 36 >new Entity() : any [all …]
|
D | stringLiteralTypesAsTags02.symbols | 5 interface Entity { 6 >Entity : Symbol(Entity, Decl(stringLiteralTypesAsTags02.ts, 0, 21)) 9 >kind : Symbol(Entity.kind, Decl(stringLiteralTypesAsTags02.ts, 2, 18)) 13 interface A extends Entity { 15 >Entity : Symbol(Entity, Decl(stringLiteralTypesAsTags02.ts, 0, 21)) 24 interface B extends Entity { 26 >Entity : Symbol(Entity, Decl(stringLiteralTypesAsTags02.ts, 0, 21)) 35 function hasKind(entity: Entity, kind: "A"): entity is A; 38 >Entity : Symbol(Entity, Decl(stringLiteralTypesAsTags02.ts, 0, 21)) 43 function hasKind(entity: Entity, kind: "B"): entity is B; [all …]
|
D | stringLiteralTypesAsTags02.js | 4 interface Entity { 8 interface A extends Entity { 13 interface B extends Entity { 18 function hasKind(entity: Entity, kind: "A"): entity is A; 19 function hasKind(entity: Entity, kind: "B"): entity is B; 20 function hasKind(entity: Entity, kind: Kind): entity is (A | B) { 67 interface Entity { 70 interface A extends Entity { 74 interface B extends Entity { 78 declare function hasKind(entity: Entity, kind: "A"): entity is A; [all …]
|
D | recursiveIntersectionTypes.symbols | 10 interface Entity { 11 >Entity : Symbol(Entity, Decl(recursiveIntersectionTypes.ts, 0, 49)) 14 >name : Symbol(Entity.name, Decl(recursiveIntersectionTypes.ts, 2, 18)) 17 interface Product extends Entity { 19 >Entity : Symbol(Entity, Decl(recursiveIntersectionTypes.ts, 0, 49)) 25 var entityList: LinkedList<Entity>; 28 >Entity : Symbol(Entity, Decl(recursiveIntersectionTypes.ts, 0, 49)) 32 >entityList.name : Symbol(Entity.name, Decl(recursiveIntersectionTypes.ts, 2, 18)) 34 >name : Symbol(Entity.name, Decl(recursiveIntersectionTypes.ts, 2, 18)) 38 >entityList.next.name : Symbol(Entity.name, Decl(recursiveIntersectionTypes.ts, 2, 18)) [all …]
|
D | recursiveTypes1.symbols | 2 interface Entity<T extends Entity<T>> { 3 >Entity : Symbol(Entity, Decl(recursiveTypes1.ts, 0, 0)) 5 >Entity : Symbol(Entity, Decl(recursiveTypes1.ts, 0, 0)) 9 >X : Symbol(Entity.X, Decl(recursiveTypes1.ts, 0, 39)) 13 >Y : Symbol(Entity.Y, Decl(recursiveTypes1.ts, 1, 8)) 17 interface Person<U extends Person<U>> extends Entity<U> { 22 >Entity : Symbol(Entity, Decl(recursiveTypes1.ts, 0, 0))
|
D | substitutionTypeNoMergeOfAssignableType.symbols | 9 interface Entity { 10 >Entity : Symbol(Entity, Decl(substitutionTypeNoMergeOfAssignableType.ts, 2, 2)) 13 >fields : Symbol(Entity.fields, Decl(substitutionTypeNoMergeOfAssignableType.ts, 4, 19)) 18 type Fields<E extends Entity> = { 21 >Entity : Symbol(Entity, Decl(substitutionTypeNoMergeOfAssignableType.ts, 2, 2)) 35 [P in keyof T]: T[P] extends Entity 40 >Entity : Symbol(Entity, Decl(substitutionTypeNoMergeOfAssignableType.ts, 2, 2)) 53 function makeEntityStore<T extends Record<string, Entity>>(config: T): Nodes<T> { 57 >Entity : Symbol(Entity, Decl(substitutionTypeNoMergeOfAssignableType.ts, 2, 2))
|
D | multipleDefaultExports01.types | 20 import Entity from "./m1" 21 >Entity : typeof Entity 23 Entity(); 24 >Entity() : void 25 >Entity : typeof Entity
|
/third_party/typescript/tests/cases/conformance/types/stringLiteral/ |
D | stringLiteralTypesAsTags01.ts | 5 interface Entity { interface 9 interface A extends Entity { 14 interface B extends Entity { 19 function hasKind(entity: Entity, kind: "A"): entity is A; 20 function hasKind(entity: Entity, kind: "B"): entity is B; 21 function hasKind(entity: Entity, kind: Kind): entity is Entity; 22 function hasKind(entity: Entity, kind: Kind): boolean {
|
D | stringLiteralTypesAsTags03.ts | 5 interface Entity { interface 9 interface A extends Entity { 14 interface B extends Entity { 23 function hasKind(entity: Entity, kind: "A" | "A"): entity is A; 24 function hasKind(entity: Entity, kind: "B" | "B"): entity is B; 25 function hasKind(entity: Entity, kind: Kind): entity is Entity {
|
/third_party/typescript/tests/cases/conformance/es6/modules/ |
D | defaultExportsCannotMerge01.ts | 23 import Entity from "m1" 25 Entity(); 27 var x: Entity; 28 var y: Entity.I; 30 Entity.x; 31 Entity.y;
|
/third_party/libxml2/result/errors/ |
D | 759573-2.xml.ent | 1 Entity: line 1: parser error : Space required after '<!ENTITY' 4 Entity: line 1: 7 Entity: line 1: parser error : xmlParseEntityDecl: no name 10 Entity: line 1: 13 Entity: line 1: parser error : ParsePI: PI xDOCTYPEm space expected 16 Entity: line 1: 23 Entity: line 2:
|
D | 759573-2.xml.err | 1 Entity: line 1: parser error : Space required after '<!ENTITY' 4 Entity: line 1: 7 Entity: line 1: parser error : xmlParseEntityDecl: no name 10 Entity: line 1: 13 Entity: line 1: parser error : ParsePI: PI xDOCTYPEm space expected 16 Entity: line 1: 23 Entity: line 2:
|