Home
last modified time | relevance | path

Searched refs:world (Results 1 – 25 of 910) sorted by relevance

12345678910>>...37

/third_party/typescript/tests/baselines/reference/
DstringLiteralTypesOverloads03.types28 let world: "world";
29 >world : "world"
31 let helloOrWorld: "hello" | "world";
32 >helloOrWorld : "hello" | "world"
35 >f : { (p: "hello"): JustHello; (p: "hello" | "world"): HelloOrWorld; (p: "world"): JustWorld; (p: …
38 function f(p: "hello" | "world"): HelloOrWorld;
39 >f : { (p: "hello"): JustHello; (p: "hello" | "world"): HelloOrWorld; (p: "world"): JustWorld; (p: …
40 >p : "hello" | "world"
42 function f(p: "world"): JustWorld;
43 >f : { (p: "hello"): JustHello; (p: "hello" | "world"): HelloOrWorld; (p: "world"): JustWorld; (p: …
[all …]
DtaggedTemplatesWithTypeArguments2.types16 const a = new tag `${100} ${200}`<string>("hello", "world");
18 >new tag `${100} ${200}`<string>("hello", "world") : any
25 >"world" : "world"
27 const b = new tag<number> `${"hello"} ${"world"}`(100, 200);
29 >new tag<number> `${"hello"} ${"world"}`(100, 200) : any
30 >tag<number> `${"hello"} ${"world"}` : SomethingNewable
32 >`${"hello"} ${"world"}` : string
34 >"world" : "world"
38 const c = new tag<number> `${100} ${200}`<string>("hello", "world");
40 >new tag<number> `${100} ${200}`<string>("hello", "world") : any
[all …]
DemitExponentiationOperatorInTemplateString3ES6.types14 `${t1 ** t2} world`;
15 >`${t1 ** t2} world` : string
20 `${t1 ** t2 ** t1} world`;
21 >`${t1 ** t2 ** t1} world` : string
28 `${t1 + t2 ** t1} world`;
29 >`${t1 + t2 ** t1} world` : string
36 `${t1 ** t2 + t1} world`;
37 >`${t1 ** t2 + t1} world` : string
44 `${t1 + t2 ** t2 + t1 } world`;
45 >`${t1 + t2 ** t2 + t1 } world` : string
[all …]
DemitExponentiationOperatorInTemplateString3.types14 `${t1 ** t2} world`;
15 >`${t1 ** t2} world` : string
20 `${t1 ** t2 ** t1} world`;
21 >`${t1 ** t2 ** t1} world` : string
28 `${t1 + t2 ** t1} world`;
29 >`${t1 + t2 ** t1} world` : string
36 `${t1 ** t2 + t1} world`;
37 >`${t1 ** t2 + t1} world` : string
44 `${t1 + t2 ** t2 + t1 } world`;
45 >`${t1 + t2 ** t2 + t1 } world` : string
[all …]
DtemplateStringWithBackslashEscapes01.types2 var a = `hello\world`;
4 >`hello\world` : "helloworld"
6 var b = `hello\\world`;
8 >`hello\\world` : "hello\\world"
10 var c = `hello\\\world`;
12 >`hello\\\world` : "hello\\world"
14 var d = `hello\\\\world`;
16 >`hello\\\\world` : "hello\\\\world"
DtemplateStringWithBackslashEscapes01_ES6.types2 var a = `hello\world`;
4 >`hello\world` : "helloworld"
6 var b = `hello\\world`;
8 >`hello\\world` : "hello\\world"
10 var c = `hello\\\world`;
12 >`hello\\\world` : "hello\\world"
14 var d = `hello\\\\world`;
16 >`hello\\\\world` : "hello\\\\world"
DtypeUsedAsValueError2.types1 === tests/cases/compiler/world.ts ===
8 HelloInterface.world;
9 >HelloInterface.world : any
11 >world : any
13 HelloNamespace.world;
14 >HelloNamespace.world : any
16 >world : any
20 world: any;
21 >world : any
29 export type world = any;
[all …]
DexponentiationOperatorInTemplateStringWithSyntaxError3.types15 `${-t1 ** t2 - t1} world`;
16 >`${-t1 ** t2 - t1} world` : string
24 `${-++t1 ** t2 - t1} world`;
25 >`${-++t1 ** t2 - t1} world` : string
34 `${-t1++ ** t2 - t1} world`;
35 >`${-t1++ ** t2 - t1} world` : string
44 `${!t1 ** t2 ** --t1 } world`;
45 >`${!t1 ** t2 ** --t1 } world` : string
54 `${typeof t1 ** t2 ** t1} world`;
55 >`${typeof t1 ** t2 ** t1} world` : string
[all …]
DtypeUsedAsValueError2.symbols1 === tests/cases/compiler/world.ts ===
3 >HelloInterface : Symbol(HelloInterface, Decl(world.ts, 0, 0))
6 >HelloNamespace : Symbol(HelloNamespace, Decl(world.ts, 0, 50))
8 HelloInterface.world;
9 HelloNamespace.world;
14 world: any;
15 >world : Symbol(HelloInterface.world, Decl(helloInterface.ts, 0, 26))
25 export type world = any;
26 >world : Symbol(world, Decl(helloNamespace.ts, 0, 26))
DemitExponentiationOperatorInTempalteString4ES6.types14 `${t1 ** -t2} world`;
15 >`${t1 ** -t2} world` : string
21 `${(-t1) ** t2 - t1} world`;
22 >`${(-t1) ** t2 - t1} world` : string
31 `${(-++t1) ** t2 - t1} world`;
32 >`${(-++t1) ** t2 - t1} world` : string
42 `${(-t1++) ** t2 - t1} world`;
43 >`${(-t1++) ** t2 - t1} world` : string
53 `${(~t1) ** t2 ** --t1 } world`;
54 >`${(~t1) ** t2 ** --t1 } world` : string
[all …]
DemitExponentiationOperatorInTempalteString4.types14 `${t1 ** -t2} world`;
15 >`${t1 ** -t2} world` : string
21 `${(-t1) ** t2 - t1} world`;
22 >`${(-t1) ** t2 - t1} world` : string
31 `${(-++t1) ** t2 - t1} world`;
32 >`${(-++t1) ** t2 - t1} world` : string
42 `${(-t1++) ** t2 - t1} world`;
43 >`${(-t1++) ** t2 - t1} world` : string
53 `${(~t1) ** t2 ** --t1 } world`;
54 >`${(~t1) ** t2 ** --t1 } world` : string
[all …]
DemitExponentiationOperatorInTemplateString3.symbols12 `${t1 ** t2} world`;
16 `${t1 ** t2 ** t1} world`;
21 `${t1 + t2 ** t1} world`;
26 `${t1 ** t2 + t1} world`;
31 `${t1 + t2 ** t2 + t1 } world`;
37 `${typeof (t1 ** t2 ** t1) } world`;
42 `${1 + typeof (t1 ** t2 ** t1) } world`;
47 `${t1 ** t2}${t1 ** t2} world`;
53 `${t1 ** t2 ** t1}${t1 ** t2 ** t1} world`;
61 `${t1 + t2 ** t1}${t1 + t2 ** t1} world`;
[all …]
DemitExponentiationOperatorInTemplateString3ES6.symbols12 `${t1 ** t2} world`;
16 `${t1 ** t2 ** t1} world`;
21 `${t1 + t2 ** t1} world`;
26 `${t1 ** t2 + t1} world`;
31 `${t1 + t2 ** t2 + t1 } world`;
37 `${typeof (t1 ** t2 ** t1) } world`;
42 `${1 + typeof (t1 ** t2 ** t1) } world`;
47 `${t1 ** t2}${t1 ** t2} world`;
53 `${t1 ** t2 ** t1}${t1 ** t2 ** t1} world`;
61 `${t1 + t2 ** t1}${t1 + t2 ** t1} world`;
[all …]
DtaggedTemplatesInModuleAndGlobal.types16 return id`hello world`;
17 >id`hello world` : TemplateStringsArray
19 >`hello world` : "hello world"
42 return id`hello world`;
43 >id`hello world` : TemplateStringsArray
45 >`hello world` : "hello world"
DcommentInNamespaceDeclarationWithIdentifierPathName.js2 namespace hello.hi.world
14 var world;
15 (function (world) { argument
18 })(world = hi.world || (hi.world = {}));
DtypeGuardConstructorNarrowPrimitivesInUnion.types3 let var1: number | "hello" | "world" | true | false | number[] | string[];
4 >var1 : number | boolean | "hello" | "world" | number[] | string[]
11 >var1 : number | boolean | "hello" | "world" | number[] | string[]
22 >var1 : number | boolean | "hello" | "world" | number[] | string[]
26 var1; // "hello" | "world"
27 >var1 : "hello" | "world"
33 >var1 : number | boolean | "hello" | "world" | number[] | string[]
44 >var1 : number | boolean | "hello" | "world" | number[] | string[]
DtypeUsedAsValueError2.js5 world: any;
12 export type world = any;
21 HelloInterface.world;
22 HelloNamespace.world;
38 HelloInterface.world;
39 HelloNamespace.world;
DexponentiationOperatorInTemplateStringWithSyntaxError3.symbols13 `${-t1 ** t2 - t1} world`;
18 `${-++t1 ** t2 - t1} world`;
23 `${-t1++ ** t2 - t1} world`;
28 `${!t1 ** t2 ** --t1 } world`;
33 `${typeof t1 ** t2 ** t1} world`;
38 `${1 + typeof t1 ** t2 ** t1} world`;
43 `${-t1 ** t2 - t1}${-t1 ** t2 - t1} world`;
51 `${-++t1 ** t2 - t1}${-++t1 ** t2 - t1} world`;
59 `${-t1++ ** t2 - t1}${-t1++ ** t2 - t1} world`;
67 `${!t1 ** t2 ** --t1 }${!t1 ** t2 ** --t1 } world`;
[all …]
DtypeUsedAsValueError2.errors.txt1 tests/cases/compiler/world.ts(4,1): error TS2693: 'HelloInterface' only refers to a type, but is be…
2 tests/cases/compiler/world.ts(5,1): error TS2708: Cannot use namespace 'HelloNamespace' as a value.
5 ==== tests/cases/compiler/world.ts (2 errors) ====
9 HelloInterface.world;
12 HelloNamespace.world;
17 world: any;
24 export type world = any;
DargumentExpressionContextualTyping.types31 var o = { x: ["string", 1], y: { c: true, d: "world", e: 3 } };
33 >{ x: ["string", 1], y: { c: true, d: "world", e: 3 } } : { x: (string | number)[]; y: { c: boolean…
39 >{ c: true, d: "world", e: 3 } : { c: boolean; d: string; e: number; }
43 >"world" : "world"
47 …y: { c: boolean, d: string, e: number } } = { x: ["string", 1], y: { c: true, d: "world", e: 3 } };
54 >{ x: ["string", 1], y: { c: true, d: "world", e: 3 } } : { x: [string, number]; y: { c: true; d: s…
60 >{ c: true, d: "world", e: 3 } : { c: true; d: string; e: number; }
64 >"world" : "world"
73 foo({ x: ["string", 1], y: { c: true, d: "world", e: 3 } }); // Not error
74 >foo({ x: ["string", 1], y: { c: true, d: "world", e: 3 } }) : void
[all …]
DtsxSpreadAttributesResolution11.types94 let x3 = <OverWriteAttr overwrite="hi" {...obj1} x={3} {...{y: true, x: 2, overwrite:"world"}} />
96 ><OverWriteAttr overwrite="hi" {...obj1} x={3} {...{y: true, x: 2, overwrite:"world"}} /> : JSX.Ele…
102 >{y: true, x: 2, overwrite:"world"} : { y: true; x: 2; overwrite: string; }
108 >"world" : "world"
110 let x4 = <OverWriteAttr {...{x: 2}} {...{overwrite: "world"}} {...{y: true}} />
112 ><OverWriteAttr {...{x: 2}} {...{overwrite: "world"}} {...{y: true}} /> : JSX.Element
117 >{overwrite: "world"} : { overwrite: string; }
119 >"world" : "world"
DstringLiteralTypesOverloads03.symbols39 let world: "world";
40 >world : Symbol(world, Decl(stringLiteralTypesOverloads03.ts, 18, 3))
42 let helloOrWorld: "hello" | "world";
50 function f(p: "hello" | "world"): HelloOrWorld;
55 function f(p: "world"): JustWorld;
78 let fResult2 = f(world);
81 >world : Symbol(world, Decl(stringLiteralTypesOverloads03.ts, 18, 3))
98 function g(p: "hello" | "world"): HelloOrWorld;
103 function g(p: "world"): JustWorld;
121 let gResult2 = g(world);
[all …]
DemitClassDeclarationWithPropertyAssignmentInES6.types5 x: string = "Hello world";
7 >"Hello world" : "Hello world"
13 x: string = "Hello world";
15 >"Hello world" : "Hello world"
/third_party/skia/experimental/webgpu-bazel/
DMakefile2 bazel build //experimental/webgpu-bazel/src:hello-world-wasm --compilation_mode opt
5 …cp ../../bazel-bin/experimental/webgpu-bazel/src/hello-world-wasm/hello-world.js build/hello-world
6 …p ../../bazel-bin/experimental/webgpu-bazel/src/hello-world-wasm/hello-world.wasm build/hello-worl…
9 bazel build //experimental/webgpu-bazel/src:hello-world-wasm --compilation_mode dbg
12 …cp ../../bazel-bin/experimental/webgpu-bazel/src/hello-world-wasm/hello-world.js build/hello-world
13 …p ../../bazel-bin/experimental/webgpu-bazel/src/hello-world-wasm/hello-world.wasm build/hello-worl…
/third_party/rust/crates/log/tests/
Dmacros.rs58 log!(lvl, "hello {world}", world = "world"); in named_args()
59 log!(lvl, "hello {world}", world = "world",); in named_args()
61 log!(target: "my_target", lvl, "hello {world}", world = "world"); in named_args()
62 log!(target: "my_target", lvl, "hello {world}", world = "world",); in named_args()
64 log!(lvl, "hello {world}", world = "world"); in named_args()
65 log!(lvl, "hello {world}", world = "world",); in named_args()
68 all_log_macros!("hello {world}", world = "world"); in named_args()
69 all_log_macros!("hello {world}", world = "world",); in named_args()
71 all_log_macros!(target: "my_target", "hello {world}", world = "world"); in named_args()
72 all_log_macros!(target: "my_target", "hello {world}", world = "world",); in named_args()
[all …]

12345678910>>...37