/third_party/typescript/tests/baselines/reference/ |
D | jsDeclarationsCommonjsRelativePath.types | 5 const Thing = require('./thing').Thing 6 >Thing : typeof Thing 7 >require('./thing').Thing : typeof Thing 11 >Thing : typeof Thing 13 module.exports = { Thing } 14 >module.exports = { Thing } : typeof module.exports 18 >{ Thing } : { Thing: typeof Thing; } 19 >Thing : typeof Thing 25 class Thing {} 26 >Thing : Thing [all …]
|
D | recursiveClassReferenceTest.types | 7 declare module Sample.Thing { 16 gar(runner:(widget:Sample.Thing.IWidget)=>any):any; 17 >gar : (runner: (widget: Sample.Thing.IWidget) => any) => any 18 >runner : (widget: Sample.Thing.IWidget) => any 21 >Thing : any 38 //addWidget(widget: Sample.Thing.Widgets.IWidget); 42 run(Thing:ICodeThing):boolean; 43 >run : (Thing: ICodeThing) => boolean 44 >Thing : ICodeThing 51 module Sample.Actions.Thing.Find { [all …]
|
D | recursiveClassReferenceTest.js | 7 declare module Sample.Thing { 12 gar(runner:(widget:Sample.Thing.IWidget)=>any):any; 28 run(Thing:ICodeThing):boolean; 33 module Sample.Actions.Thing.Find { 34 export class StartFindAction implements Sample.Thing.IAction { 38 public run(Thing:Sample.Thing.ICodeThing):boolean { 45 module Sample.Thing.Widgets { 46 export class FindWidget implements Sample.Thing.IWidget { 48 public gar(runner:(widget:Sample.Thing.IWidget)=>any) { if (true) {return runner(this);}} 51 constructor(private codeThing: Sample.Thing.ICodeThing) { [all …]
|
D | jsDeclarationsCommonjsRelativePath.symbols | 3 const Thing = require('./thing').Thing 4 >Thing : Symbol(Thing, Decl(reexport.js, 1, 5)) 5 >require('./thing').Thing : Symbol(Thing, Decl(thing.js, 2, 18)) 8 >Thing : Symbol(Thing, Decl(thing.js, 2, 18)) 10 module.exports = { Thing } 14 >Thing : Symbol(Thing, Decl(reexport.js, 2, 18)) 18 class Thing {} 19 >Thing : Symbol(Thing, Decl(thing.js, 0, 13)) 21 module.exports = { Thing } 25 >Thing : Symbol(Thing, Decl(thing.js, 2, 18))
|
D | controlFlowOptionalChain.types | 637 type Thing = { foo: string | number, bar(): number, baz: object }; 638 >Thing : Thing 643 function f10(o: Thing | undefined, value: number) { 644 >f10 : (o: Thing | undefined, value: number) => void 645 >o : Thing | undefined 651 >o : Thing | undefined 657 >o : Thing 663 >o : Thing | undefined 669 >o : Thing 676 >o : Thing | undefined [all …]
|
D | recursiveClassReferenceTest.sourcemap.txt | 54 >declare module Sample.Thing { 59 > gar(runner:(widget:Sample.Thing.IWidget)=>any):any; 71 > //addWidget(widget: Sample.Thing.Widgets.IWidget); 75 > run(Thing:ICodeThing):boolean; 83 4 > .Actions.Thing.Find { 84 > export class StartFindAction implements Sample.Thing.IAction { 88 > public run(Thing:Sample.Thing.ICodeThing):boolean { 119 4 > .Thing.Find { 120 > export class StartFindAction implements Sample.Thing.IAction { 124 > public run(Thing:Sample.Thing.ICodeThing):boolean { [all …]
|
D | recursiveClassReferenceTest.symbols | 7 declare module Sample.Thing { 9 >Thing : Symbol(Thing, Decl(recursiveClassReferenceTest.ts, 5, 22), Decl(recursiveClassReferenceTes… 20 gar(runner:(widget:Sample.Thing.IWidget)=>any):any; 25 >Thing : Symbol(Thing, Decl(recursiveClassReferenceTest.ts, 5, 22), Decl(recursiveClassReferenceTes… 45 //addWidget(widget: Sample.Thing.Widgets.IWidget); 51 run(Thing:ICodeThing):boolean; 53 >Thing : Symbol(Thing, Decl(recursiveClassReferenceTest.ts, 26, 6)) 61 module Sample.Actions.Thing.Find { 64 >Thing : Symbol(Thing, Decl(recursiveClassReferenceTest.ts, 31, 22)) 67 export class StartFindAction implements Sample.Thing.IAction { [all …]
|
D | jsDeclarationsExportSpecifierNonlocal.js | 4 export class Thing {} class 7 export { Thing, OtherThing as default } from "./source"; 13 exports.OtherThing = exports.Thing = void 0; 14 var Thing = /** @class */ (function () { 15 function Thing() { class in Thing 17 return Thing; 19 exports.Thing = Thing; 29 exports.default = exports.Thing = void 0; 31 …efineProperty(exports, "Thing", { enumerable: true, get: function () { return source_1.Thing; } }); 36 export class Thing { [all …]
|
D | jsEnumTagOnObjectFrozen.symbols | 2 const { Thing, useThing, cbThing } = require("./index"); 3 >Thing : Symbol(Thing, Decl(usage.js, 0, 7)) 9 useThing(Thing.a); 11 >Thing.a : Symbol(a, Decl(index.js, 1, 29)) 12 >Thing : Symbol(Thing, Decl(usage.js, 0, 7)) 43 const Thing = Object.freeze({ 44 >Thing : Symbol(Thing, Decl(index.js, 1, 5), Decl(index.js, 0, 4)) 57 exports.Thing = Thing; 58 >exports.Thing : Symbol(Thing, Decl(index.js, 4, 3)) 59 >exports : Symbol(Thing, Decl(index.js, 4, 3)) [all …]
|
D | jsEnumTagOnObjectFrozen.types | 2 const { Thing, useThing, cbThing } = require("./index"); 3 >Thing : Readonly<{ a: string; b: string; }> 10 useThing(Thing.a); 11 >useThing(Thing.a) : void 13 >Thing.a : string 14 >Thing : Readonly<{ a: string; b: string; }> 49 const Thing = Object.freeze({ 50 >Thing : Readonly<{ a: string; b: string; }> 67 exports.Thing = Thing; 68 >exports.Thing = Thing : Readonly<{ a: string; b: string; }> [all …]
|
D | contextualTypedSpecialAssignment.symbols | 44 class Thing { 45 >Thing : Symbol(Thing, Decl(test.js, 17, 4)) 50 >this.s : Symbol(Thing.s, Decl(test.js, 22, 19), Decl(test.js, 30, 12)) 51 >this : Symbol(Thing, Decl(test.js, 17, 4)) 52 >s : Symbol(Thing.s, Decl(test.js, 22, 19), Decl(test.js, 30, 12)) 64 >fail : Symbol(Thing.fail, Decl(test.js, 28, 5)) 67 >this.s : Symbol(Thing.s, Decl(test.js, 22, 19), Decl(test.js, 30, 12)) 68 >this : Symbol(Thing, Decl(test.js, 17, 4)) 69 >s : Symbol(Thing.s, Decl(test.js, 22, 19), Decl(test.js, 30, 12)) 125 Thing.prototype.x = { [all …]
|
D | jsDeclarationsCommonjsRelativePath.js | 5 class Thing {} class 6 module.exports = { Thing } field 10 const Thing = require('./thing').Thing 11 module.exports = { Thing } field 17 export class Thing { 20 export { Thing }; 22 import Thing = Thing_1.Thing;
|
D | importShouldNotBeElidedInDeclarationEmit.types | 5 export type Thing = { 6 >Thing : Thing 12 export declare function makeThing(): Thing; 13 >makeThing : () => Thing 17 >makeThing : () => import("tests/cases/compiler/node_modules/umd").Thing 20 >thing : import("tests/cases/compiler/node_modules/umd").Thing 21 >makeThing() : import("tests/cases/compiler/node_modules/umd").Thing 22 >makeThing : () => import("tests/cases/compiler/node_modules/umd").Thing
|
D | contextualTypedSpecialAssignment.types | 51 class Thing { 52 >Thing : Thing 144 Thing.prototype.x = { 145 >Thing.prototype.x = { status: 'done', m(n) { }} : { status: "done"; m(n: number): void; } 146 >Thing.prototype.x : DoneStatus 147 >Thing.prototype : Thing 148 >Thing : typeof Thing 149 >prototype : Thing 161 Thing.prototype.x 162 >Thing.prototype.x : DoneStatus [all …]
|
D | importAliasFromNamespace.js | 13 namespace SomeOther.Thing { 37 var Thing; 38 (function (Thing) { argument 47 Thing.Foo = Foo; 48 })(Thing = SomeOther.Thing || (SomeOther.Thing = {})); 63 declare namespace SomeOther.Thing {
|
D | umd8.symbols | 25 declare class Thing { 26 >Thing : Symbol(Thing, Decl(foo.d.ts, 0, 0), Decl(foo.d.ts, 2, 1)) 29 >foo : Symbol(Thing.foo, Decl(foo.d.ts, 0, 21)) 31 declare namespace Thing { 32 >Thing : Symbol(Thing, Decl(foo.d.ts, 0, 0), Decl(foo.d.ts, 2, 1)) 37 export = Thing; 38 >Thing : Symbol(Thing, Decl(foo.d.ts, 0, 0), Decl(foo.d.ts, 2, 1))
|
D | recursiveClassReferenceTest.errors.txt | 14 declare module Sample.Thing { 19 gar(runner:(widget:Sample.Thing.IWidget)=>any):any; 33 //addWidget(widget: Sample.Thing.Widgets.IWidget); 37 run(Thing:ICodeThing):boolean; 42 module Sample.Actions.Thing.Find { 43 export class StartFindAction implements Sample.Thing.IAction { 47 public run(Thing:Sample.Thing.ICodeThing):boolean { 54 module Sample.Thing.Widgets { 55 export class FindWidget implements Sample.Thing.IWidget { 57 public gar(runner:(widget:Sample.Thing.IWidget)=>any) { if (true) {return runner(this);}} [all …]
|
D | umd8.types | 24 declare class Thing { 25 >Thing : Thing 30 declare namespace Thing { 33 export = Thing; 34 >Thing : Thing 37 >Foo : typeof Thing
|
D | umd1.symbols | 8 let x: Foo.Thing; 11 >Thing : Symbol(Foo.Thing, Decl(foo.d.ts, 1, 27)) 15 >x.n : Symbol(Foo.Thing.n, Decl(foo.d.ts, 2, 24)) 17 >n : Symbol(Foo.Thing.n, Decl(foo.d.ts, 2, 24)) 26 export interface Thing { n: typeof x } 27 >Thing : Symbol(Thing, Decl(foo.d.ts, 1, 27)) 28 >n : Symbol(Thing.n, Decl(foo.d.ts, 2, 24))
|
D | defaultDeclarationEmitDefaultImport.types | 11 import Thing, { getSomething } from "./root"; 12 >Thing : typeof Thing 13 >getSomething : () => Thing 16 >instance : Thing 17 >getSomething() : Thing 18 >getSomething : () => Thing
|
D | umd4.symbols | 10 let x: Bar.Thing; 13 >Thing : Symbol(Bar.Thing, Decl(foo.d.ts, 1, 27)) 17 >x.n : Symbol(Bar.Thing.n, Decl(foo.d.ts, 2, 24)) 19 >n : Symbol(Bar.Thing.n, Decl(foo.d.ts, 2, 24)) 28 export interface Thing { n: typeof x } 29 >Thing : Symbol(Thing, Decl(foo.d.ts, 1, 27)) 30 >n : Symbol(Thing.n, Decl(foo.d.ts, 2, 24))
|
D | lastPropertyInLiteralWins.symbols | 2 interface Thing { 3 >Thing : Symbol(Thing, Decl(lastPropertyInLiteralWins.ts, 0, 0)) 6 >thunk : Symbol(Thing.thunk, Decl(lastPropertyInLiteralWins.ts, 0, 17)) 9 function test(thing: Thing) { 12 >Thing : Symbol(Thing, Decl(lastPropertyInLiteralWins.ts, 0, 0)) 15 >thing.thunk : Symbol(Thing.thunk, Decl(lastPropertyInLiteralWins.ts, 0, 17)) 17 >thunk : Symbol(Thing.thunk, Decl(lastPropertyInLiteralWins.ts, 0, 17))
|
D | umd3.symbols | 10 let x: Foo.Thing; 13 >Thing : Symbol(Foo.Thing, Decl(foo.d.ts, 1, 27)) 17 >x.n : Symbol(Foo.Thing.n, Decl(foo.d.ts, 2, 24)) 19 >n : Symbol(Foo.Thing.n, Decl(foo.d.ts, 2, 24)) 28 export interface Thing { n: typeof x } 29 >Thing : Symbol(Thing, Decl(foo.d.ts, 1, 27)) 30 >n : Symbol(Thing.n, Decl(foo.d.ts, 2, 24))
|
/third_party/rust/crates/io-lifetimes/examples/ |
D | owning-wrapper.rs | 34 struct Thing { struct 39 impl AsFd for Thing { implementation 48 impl IntoFd for Thing { implementation 56 impl From<Thing> for OwnedFd { 58 fn from(owned: Thing) -> Self { in from() 65 impl FromFd for Thing { implementation 73 impl From<OwnedFd> for Thing { implementation 81 impl AsHandle for Thing { implementation 90 impl IntoHandle for Thing { implementation 98 impl From<Thing> for OwnedHandle { [all …]
|
/third_party/typescript/tests/cases/compiler/ |
D | recursiveClassReferenceTest.ts | 8 declare module Sample.Thing { 13 gar(runner:(widget:Sample.Thing.IWidget)=>any):any; 29 run(Thing:ICodeThing):boolean; 34 module Sample.Actions.Thing.Find { 35 export class StartFindAction implements Sample.Thing.IAction { 39 public run(Thing:Sample.Thing.ICodeThing):boolean { 46 module Sample.Thing.Widgets { 47 export class FindWidget implements Sample.Thing.IWidget { 49 public gar(runner:(widget:Sample.Thing.IWidget)=>any) { if (true) {return runner(this);}} 52 constructor(private codeThing: Sample.Thing.ICodeThing) { [all …]
|