Home
last modified time | relevance | path

Searched refs:Thing (Results 1 – 25 of 154) sorted by relevance

1234567

/third_party/typescript/tests/baselines/reference/
DjsDeclarationsCommonjsRelativePath.types5 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 …]
DrecursiveClassReferenceTest.types7 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 …]
DrecursiveClassReferenceTest.js7 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 …]
DjsDeclarationsCommonjsRelativePath.symbols3 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))
DcontrolFlowOptionalChain.types637 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 …]
DrecursiveClassReferenceTest.sourcemap.txt54 >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 …]
DrecursiveClassReferenceTest.symbols7 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 …]
DjsDeclarationsExportSpecifierNonlocal.js4 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 …]
DjsEnumTagOnObjectFrozen.symbols2 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 …]
DjsEnumTagOnObjectFrozen.types2 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 …]
DcontextualTypedSpecialAssignment.symbols44 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 …]
DjsDeclarationsCommonjsRelativePath.js5 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;
DimportShouldNotBeElidedInDeclarationEmit.types5 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
DcontextualTypedSpecialAssignment.types51 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 …]
DimportAliasFromNamespace.js13 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 {
Dumd8.symbols25 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))
DrecursiveClassReferenceTest.errors.txt14 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 …]
Dumd8.types24 declare class Thing {
25 >Thing : Thing
30 declare namespace Thing {
33 export = Thing;
34 >Thing : Thing
37 >Foo : typeof Thing
Dumd1.symbols8 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))
DdefaultDeclarationEmitDefaultImport.types11 import Thing, { getSomething } from "./root";
12 >Thing : typeof Thing
13 >getSomething : () => Thing
16 >instance : Thing
17 >getSomething() : Thing
18 >getSomething : () => Thing
Dumd4.symbols10 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))
DlastPropertyInLiteralWins.symbols2 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))
Dumd3.symbols10 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/
Downing-wrapper.rs34 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/
DrecursiveClassReferenceTest.ts8 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 …]

1234567