/third_party/typescript/tests/baselines/reference/ |
D | jsDeclarationsReexportedCjsAlias.js | 11 class SomeClass { class 19 SomeClass field 22 const { SomeClass, SomeClass: Another } = require('./lib'); 25 SomeClass, property 36 var SomeClass = /** @class */ (function () { 37 function SomeClass() { class in SomeClass 39 SomeClass.prototype.a = function () { 42 return SomeClass; 46 SomeClass: SomeClass property 49 var _a = require('./lib'), SomeClass = _a.SomeClass, Another = _a.SomeClass; [all …]
|
D | jsDeclarationsReexportedCjsAlias.types | 2 const { SomeClass, SomeClass: Another } = require('./lib'); 3 >SomeClass : typeof SomeClass 4 >SomeClass : any 5 >Another : typeof SomeClass 11 >module.exports = { SomeClass, Another} : typeof module.exports 15 >{ SomeClass, Another} : { SomeClass: typeof SomeClass; Another: typeof SomeClass; } 17 SomeClass, 18 >SomeClass : typeof SomeClass 21 >Another : typeof SomeClass 37 class SomeClass { [all …]
|
D | constructorFunctionMergeWithClass.types | 2 var SomeClass = function () { 3 >SomeClass : typeof SomeClass 4 >function () { this.otherProp = 0;} : typeof SomeClass 15 new SomeClass(); 16 >new SomeClass() : SomeClass 17 >SomeClass : typeof SomeClass 20 class SomeClass { } 21 >SomeClass : SomeClass 23 SomeClass.prop = 0 24 >SomeClass.prop = 0 : 0 [all …]
|
D | constructorFunctionMergeWithClass.symbols | 2 var SomeClass = function () { 3 >SomeClass : Symbol(SomeClass, Decl(file1.js, 0, 3), Decl(file2.js, 0, 0), Decl(file2.js, 0, 19)) 6 >this.otherProp : Symbol(SomeClass.otherProp, Decl(file1.js, 0, 29)) 7 >this : Symbol(SomeClass, Decl(file1.js, 0, 15)) 8 >otherProp : Symbol(SomeClass.otherProp, Decl(file1.js, 0, 29)) 12 new SomeClass(); 13 >SomeClass : Symbol(SomeClass, Decl(file1.js, 0, 3), Decl(file2.js, 0, 0), Decl(file2.js, 0, 19)) 16 class SomeClass { } 17 >SomeClass : Symbol(SomeClass, Decl(file1.js, 0, 3), Decl(file2.js, 0, 0), Decl(file2.js, 0, 19)) 19 SomeClass.prop = 0 [all …]
|
D | jsDeclarationsReexportedCjsAlias.symbols | 2 const { SomeClass, SomeClass: Another } = require('./lib'); 3 >SomeClass : Symbol(SomeClass, Decl(main.js, 0, 7)) 4 >SomeClass : Symbol(SomeClass, Decl(lib.js, 14, 8)) 14 SomeClass, 15 >SomeClass : Symbol(SomeClass, Decl(main.js, 2, 18)) 33 class SomeClass { 34 >SomeClass : Symbol(SomeClass, Decl(lib.js, 5, 1)) 37 >a : Symbol(SomeClass.a, Decl(lib.js, 7, 17)) 51 SomeClass 52 >SomeClass : Symbol(SomeClass, Decl(lib.js, 14, 8))
|
D | decoratorMetadataRestParameterWithImportedType.types | 2 export class SomeClass { 3 >SomeClass : SomeClass 25 import { SomeClass } from './aux'; 26 >SomeClass : typeof SomeClass 54 array: SomeClass[]; 55 >array : SomeClass[] 57 constructor(...init: SomeClass[]) { 58 >init : SomeClass[] 61 >this.array = init : SomeClass[] 62 >this.array : SomeClass[] [all …]
|
D | metadataOfClassFromAlias.symbols | 2 export class SomeClass { 3 >SomeClass : Symbol(SomeClass, Decl(auxiliry.ts, 0, 0)) 6 >field : Symbol(SomeClass.field, Decl(auxiliry.ts, 0, 24)) 10 import { SomeClass } from './auxiliry'; 11 >SomeClass : Symbol(SomeClass, Decl(test.ts, 0, 8)) 23 @annotation() array: SomeClass | null; 26 >SomeClass : Symbol(SomeClass, Decl(test.ts, 0, 8))
|
D | metadataOfClassFromAlias2.symbols | 2 export class SomeClass { 3 >SomeClass : Symbol(SomeClass, Decl(auxiliry.ts, 0, 0)) 6 >field : Symbol(SomeClass.field, Decl(auxiliry.ts, 0, 24)) 10 import { SomeClass } from './auxiliry'; 11 >SomeClass : Symbol(SomeClass, Decl(test.ts, 0, 8)) 23 @annotation() array: SomeClass | null | string; 26 >SomeClass : Symbol(SomeClass, Decl(test.ts, 0, 8))
|
D | exportEqualsClassRedeclarationError.symbols | 2 class SomeClass { 3 >SomeClass : Symbol(SomeClass, Decl(exportEqualsClassRedeclarationError.ts, 0, 0)) 6 >someProp : Symbol(SomeClass.someProp, Decl(exportEqualsClassRedeclarationError.ts, 0, 17), Decl(ex… 12 >someProp : Symbol(SomeClass.someProp, Decl(exportEqualsClassRedeclarationError.ts, 0, 17), Decl(ex… 16 >someProp : Symbol(SomeClass.someProp, Decl(exportEqualsClassRedeclarationError.ts, 5, 41)) 19 export = SomeClass; 20 >SomeClass : Symbol(SomeClass, Decl(exportEqualsClassRedeclarationError.ts, 0, 0))
|
D | metadataOfClassFromAlias.js | 4 export class SomeClass { class 9 import { SomeClass } from './auxiliry'; 14 @annotation() array: SomeClass | null; 20 exports.SomeClass = void 0; 21 var SomeClass = /** @class */ (function () { 22 function SomeClass() { class in SomeClass 24 return SomeClass; 26 exports.SomeClass = SomeClass; 49 __metadata("design:type", auxiliry_1.SomeClass)
|
D | decoratorMetadataRestParameterWithImportedType.symbols | 2 export class SomeClass { 3 >SomeClass : Symbol(SomeClass, Decl(aux.ts, 0, 0)) 6 >field : Symbol(SomeClass.field, Decl(aux.ts, 0, 24)) 25 import { SomeClass } from './aux'; 26 >SomeClass : Symbol(SomeClass, Decl(main.ts, 0, 8)) 53 array: SomeClass[]; 55 >SomeClass : Symbol(SomeClass, Decl(main.ts, 0, 8)) 57 constructor(...init: SomeClass[]) { 59 >SomeClass : Symbol(SomeClass, Decl(main.ts, 0, 8))
|
D | importEqualsDeclaration.js | 8 class SomeClass {} class 9 export = SomeClass; 31 var SomeClass = /** @class */ (function () { 32 function SomeClass() { class in SomeClass 34 return SomeClass; 36 module.exports = SomeClass; 52 declare class SomeClass { 54 export = SomeClass;
|
D | exportEqualsClassNoRedeclarationError.symbols | 2 class SomeClass { 3 >SomeClass : Symbol(SomeClass, Decl(exportEqualsClassNoRedeclarationError.ts, 0, 0)) 6 >someProp : Symbol(SomeClass.someProp, Decl(exportEqualsClassNoRedeclarationError.ts, 0, 17), Decl(… 12 >someProp : Symbol(SomeClass.someProp, Decl(exportEqualsClassNoRedeclarationError.ts, 0, 17), Decl(… 15 export = SomeClass; 16 >SomeClass : Symbol(SomeClass, Decl(exportEqualsClassNoRedeclarationError.ts, 0, 0))
|
D | decoratorMetadataRestParameterWithImportedType.js | 4 export class SomeClass { class 18 import { SomeClass } from './aux'; 31 array: SomeClass[]; 33 constructor(...init: SomeClass[]) { 45 exports.SomeClass = void 0; 46 var SomeClass = /** @class */ (function () { 47 function SomeClass() { class in SomeClass 49 return SomeClass; 51 exports.SomeClass = SomeClass; 115 __metadata("design:paramtypes", [aux_1.SomeClass])
|
D | metadataOfClassFromAlias.types | 2 export class SomeClass { 3 >SomeClass : SomeClass 10 import { SomeClass } from './auxiliry'; 11 >SomeClass : typeof SomeClass 23 @annotation() array: SomeClass | null; 26 >array : SomeClass
|
D | metadataOfClassFromAlias2.types | 2 export class SomeClass { 3 >SomeClass : SomeClass 10 import { SomeClass } from './auxiliry'; 11 >SomeClass : typeof SomeClass 23 @annotation() array: SomeClass | null | string; 26 >array : string | SomeClass
|
D | declarationEmitExpressionInExtends5.js | 8 export class SomeClass implements IFace 18 return SomeClass as (new() => T); 41 var SomeClass = /** @class */ (function () { class 42 function SomeClass() { class in anonymousFunction6111f5a50600.SomeClass 44 return SomeClass; 46 Test.SomeClass = SomeClass; 56 return SomeClass; 66 export class SomeClass implements IFace {
|
D | metadataOfClassFromAlias2.js | 4 export class SomeClass { class 9 import { SomeClass } from './auxiliry'; 14 @annotation() array: SomeClass | null | string; 20 exports.SomeClass = void 0; 21 var SomeClass = /** @class */ (function () { 22 function SomeClass() { class in SomeClass 24 return SomeClass; 26 exports.SomeClass = SomeClass;
|
D | typeOfThisInstanceMemberNarrowedWithLoopAntecedent.symbols | 21 class SomeClass { 22 >SomeClass : Symbol(SomeClass, Decl(typeOfThisInstanceMemberNarrowedWithLoopAntecedent.ts, 7, 2)) 25 >state : Symbol(SomeClass.state, Decl(typeOfThisInstanceMemberNarrowedWithLoopAntecedent.ts, 9, 17)) 29 >method : Symbol(SomeClass.method, Decl(typeOfThisInstanceMemberNarrowedWithLoopAntecedent.ts, 10, … 34 >this.state : Symbol(SomeClass.state, Decl(typeOfThisInstanceMemberNarrowedWithLoopAntecedent.ts, 9… 35 >this : Symbol(SomeClass, Decl(typeOfThisInstanceMemberNarrowedWithLoopAntecedent.ts, 7, 2)) 36 >state : Symbol(SomeClass.state, Decl(typeOfThisInstanceMemberNarrowedWithLoopAntecedent.ts, 9, 17)) 41 >this.state : Symbol(SomeClass.state, Decl(typeOfThisInstanceMemberNarrowedWithLoopAntecedent.ts, 9… 42 >this : Symbol(SomeClass, Decl(typeOfThisInstanceMemberNarrowedWithLoopAntecedent.ts, 7, 2)) 43 >state : Symbol(SomeClass.state, Decl(typeOfThisInstanceMemberNarrowedWithLoopAntecedent.ts, 9, 17)) [all …]
|
D | declarationEmitExpressionInExtends5.types | 9 export class SomeClass implements IFace 10 >SomeClass : SomeClass 24 return SomeClass as (new() => T); 25 >SomeClass as (new() => T) : new () => T 26 >SomeClass : typeof SomeClass
|
D | metadataOfEventAlias.js | 9 export class SomeClass { 29 exports.SomeClass = void 0; 31 var SomeClass = /** @class */ (function () { class 32 function SomeClass() { class in SomeClass 37 ], SomeClass.prototype, "event", void 0); 38 return SomeClass; 40 exports.SomeClass = SomeClass;
|
D | exportEqualsClassNoRedeclarationError.types | 2 class SomeClass { 3 >SomeClass : SomeClass 16 export = SomeClass; 17 >SomeClass : SomeClass
|
D | tsxDefaultImports.js | 7 export default class SomeClass { class 23 var SomeClass = /** @class */ (function () { 24 function SomeClass() { class in SomeClass 26 SomeClass.E = SomeEnum; 27 return SomeClass; 29 exports["default"] = SomeClass;
|
D | exportEqualsClassRedeclarationError.types | 2 class SomeClass { 3 >SomeClass : SomeClass 20 export = SomeClass; 21 >SomeClass : SomeClass
|
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/ |
D | objc_blocklist.rs | 15 pub struct SomeClass(pub id); struct 16 impl std::ops::Deref for SomeClass { implementation 22 unsafe impl objc::Message for SomeClass {} implementation 23 impl SomeClass { implementation 25 Self(unsafe { msg_send!(class!(SomeClass), alloc) }) in alloc() 28 impl ISomeClass for SomeClass {} implementation
|