Home
last modified time | relevance | path

Searched full:bar (Results 1 – 25 of 8065) sorted by relevance

12345678910>>...323

/third_party/typescript/tests/baselines/reference/
DcomputedPropertiesInDestructuring1_ES6.types3 let foo = "bar";
5 >"bar" : "bar"
7 let {[foo]: bar} = {bar: "bar"};
9 >bar : any
10 >{bar: "bar"} : { bar: string; }
11 >bar : string
12 >"bar" : "bar"
14 let {["bar"]: bar2} = {bar: "bar"};
15 >"bar" : "bar"
17 >{bar: "bar"} : { bar: string; }
[all …]
DcomputedPropertiesInDestructuring1.types3 let foo = "bar";
5 >"bar" : "bar"
7 let {[foo]: bar} = {bar: "bar"};
9 >bar : any
10 >{bar: "bar"} : { bar: string; }
11 >bar : string
12 >"bar" : "bar"
14 let {["bar"]: bar2} = {bar: "bar"};
15 >"bar" : "bar"
17 >{bar: "bar"} : { bar: string; }
[all …]
DcomputedPropertiesInDestructuring1_ES6.js3 let foo = "bar";
4 let {[foo]: bar} = {bar: "bar"}; property
6 let {["bar"]: bar2} = {bar: "bar"}; property
7 let {[11]: bar2_1} = {11: "bar"};
9 let foo2 = () => "bar";
10 let {[foo2()]: bar3} = {bar: "bar"}; property
12 let [{[foo]: bar4}] = [{bar: "bar"}]; property
13 let [{[foo2()]: bar5}] = [{bar: "bar"}]; property
15 function f1({["bar"]: x}: { bar: number }) {} property
16 function f2({[foo]: x}: { bar: number }) {} property
[all …]
DcontrolFlowAliasing.types251 function f20(obj: { kind: 'foo', foo: string } | { kind: 'bar', bar: number }) {
252 >f20 : (obj: { kind: 'foo'; foo: string;} | { kind: 'bar'; bar: number;}) => void
253 >obj : { kind: 'foo'; foo: string; } | { kind: 'bar'; bar: number; }
256 >kind : "bar"
257 >bar : number
262 >obj.kind : "foo" | "bar"
263 >obj : { kind: "foo"; foo: string; } | { kind: "bar"; bar: number; }
264 >kind : "foo" | "bar"
276 obj.bar;
277 >obj.bar : number
[all …]
DcomputedPropertiesInDestructuring1.js3 let foo = "bar";
4 let {[foo]: bar} = {bar: "bar"}; property
6 let {["bar"]: bar2} = {bar: "bar"}; property
8 let foo2 = () => "bar";
9 let {[foo2()]: bar3} = {bar: "bar"}; property
11 let [{[foo]: bar4}] = [{bar: "bar"}]; property
12 let [{[foo2()]: bar5}] = [{bar: "bar"}]; property
14 function f1({["bar"]: x}: { bar: number }) {} property
15 function f2({[foo]: x}: { bar: number }) {} property
16 function f3({[foo2()]: x}: { bar: number }) {} property
[all …]
DstringLiteralsWithEqualityChecks02.types5 let y: "foo" | "bar";
6 >y : "foo" | "bar"
16 >y : "foo" | "bar"
23 >y : "foo" | "bar"
29 >y : "foo" | "bar"
32 b = "foo" == "bar";
33 >b = "foo" == "bar" : boolean
35 >"foo" == "bar" : boolean
37 >"bar" : "bar"
39 b = "bar" == x;
[all …]
DstringLiteralsWithEqualityChecks01.types5 let y: "foo" | "bar";
6 >y : "foo" | "bar"
16 >y : "foo" | "bar"
23 >y : "foo" | "bar"
29 >y : "foo" | "bar"
32 b = "foo" === "bar";
33 >b = "foo" === "bar" : boolean
35 >"foo" === "bar" : boolean
37 >"bar" : "bar"
39 b = "bar" === x;
[all …]
DstringLiteralsWithSwitchStatements03.types5 let y: "foo" | "bar";
6 >y : "foo" | "bar"
8 let z: "bar";
9 >z : "bar"
25 case (randBool() ? ("bar") : "baz" ? "bar" : "baz"):
26 >(randBool() ? ("bar") : "baz" ? "bar" : "baz") : "bar" | "baz"
27 >randBool() ? ("bar") : "baz" ? "bar" : "baz" : "bar" | "baz"
30 >("bar") : "bar"
31 >"bar" : "bar"
32 >"baz" ? "bar" : "baz" : "bar" | "baz"
[all …]
DcomputedPropertiesInDestructuring1_ES6.symbols3 let foo = "bar";
6 let {[foo]: bar} = {bar: "bar"};
8 >bar : Symbol(bar, Decl(computedPropertiesInDestructuring1_ES6.ts, 2, 5))
9 >bar : Symbol(bar, Decl(computedPropertiesInDestructuring1_ES6.ts, 2, 20))
11 let {["bar"]: bar2} = {bar: "bar"};
12 >"bar" : Symbol(bar2, Decl(computedPropertiesInDestructuring1_ES6.ts, 4, 5))
14 >bar : Symbol(bar, Decl(computedPropertiesInDestructuring1_ES6.ts, 4, 23))
16 let {[11]: bar2_1} = {11: "bar"};
21 let foo2 = () => "bar";
24 let {[foo2()]: bar3} = {bar: "bar"};
[all …]
DgenericCallWithObjectLiteralArgs.types2 function foo<T>(x: { bar: T; baz: T }) {
3 >foo : <T>(x: { bar: T; baz: T;}) => { bar: T; baz: T; }
4 >x : { bar: T; baz: T; }
5 >bar : T
9 >x : { bar: T; baz: T; }
12 var r = foo({ bar: 1, baz: '' }); // error
13 >r : { bar: number; baz: number; }
14 >foo({ bar: 1, baz: '' }) : { bar: number; baz: number; }
15 >foo : <T>(x: { bar: T; baz: T; }) => { bar: T; baz: T; }
16 >{ bar: 1, baz: '' } : { bar: number; baz: string; }
[all …]
DcomputedPropertiesInDestructuring1.symbols3 let foo = "bar";
6 let {[foo]: bar} = {bar: "bar"};
8 >bar : Symbol(bar, Decl(computedPropertiesInDestructuring1.ts, 2, 5))
9 >bar : Symbol(bar, Decl(computedPropertiesInDestructuring1.ts, 2, 20))
11 let {["bar"]: bar2} = {bar: "bar"};
12 >"bar" : Symbol(bar2, Decl(computedPropertiesInDestructuring1.ts, 4, 5))
14 >bar : Symbol(bar, Decl(computedPropertiesInDestructuring1.ts, 4, 23))
16 let foo2 = () => "bar";
19 let {[foo2()]: bar3} = {bar: "bar"};
22 >bar : Symbol(bar, Decl(computedPropertiesInDestructuring1.ts, 7, 24))
[all …]
DtypedefCrossModule2.types3 >mod : { Baz: typeof Baz; Bar: typeof mod.Bar; Quid: 2; } | { Quack: number; Bar: typeof mod.Bar; Q…
4 …equire('./mod1.js') : { Baz: typeof Baz; Bar: typeof mod.Bar; Quid: 2; } | { Quack: number; Bar: t…
20 >mod : { Baz: typeof Baz; Bar: typeof mod.Bar; Quid: 2; } | { Quack: number; Bar: typeof mod.Bar; Q…
30 /** @typedef {number} Bar */
31 exports.Bar = class { }
32 >exports.Bar = class { } : typeof Bar
33 >exports.Bar : typeof Bar
34 >exports : { Baz: typeof Baz; Bar: typeof Bar; Quid: 2; } | { Quack: number; Bar: typeof Bar; Quid:…
35 >Bar : typeof Bar
36 >class { } : typeof Bar
[all …]
DerrorForUsingPropertyOfTypeAsType01.errors.txt1 …ccess 'Foo.bar' because 'Foo' is a type, but not a namespace. Did you mean to retrieve the type of…
2 …ccess 'Foo.bar' because 'Foo' is a type, but not a namespace. Did you mean to retrieve the type of…
3 …ccess 'Foo.bar' because 'Foo' is a type, but not a namespace. Did you mean to retrieve the type of…
4 …ccess 'Foo.bar' because 'Foo' is a type, but not a namespace. Did you mean to retrieve the type of…
5 …ccess 'Foo.bar' because 'Foo' is a type, but not a namespace. Did you mean to retrieve the type of…
6 …ccess 'Foo.bar' because 'Foo' is a type, but not a namespace. Did you mean to retrieve the type of…
7 …ccess 'Foo.bar' because 'Foo' is a type, but not a namespace. Did you mean to retrieve the type of…
8 …ccess 'Foo.bar' because 'Foo' is a type, but not a namespace. Did you mean to retrieve the type of…
10 …ccess 'Foo.bar' because 'Foo' is a type, but not a namespace. Did you mean to retrieve the type of…
18 bar: string;
[all …]
DdestructuringSameNames.types4 let { foo, foo: bar } = { foo: 1 };
7 >bar : number
22 ({ foo, foo: bar } = { foo: 3 });
23 >({ foo, foo: bar } = { foo: 3 }) : { foo: number; }
24 >{ foo, foo: bar } = { foo: 3 } : { foo: number; }
25 >{ foo, foo: bar } : { foo: number; }
28 >bar : number
33 ({ foo: bar, foo } = { foo: 4 });
34 >({ foo: bar, foo } = { foo: 4 }) : { foo: number; }
35 >{ foo: bar, foo } = { foo: 4 } : { foo: number; }
[all …]
DstringLiteralsWithEqualityChecks04.types42 b = "foo" == "bar";
43 >b = "foo" == "bar" : boolean
45 >"foo" == "bar" : boolean
47 >"bar" : "bar"
49 b = "bar" == x;
50 >b = "bar" == x : boolean
52 >"bar" == x : boolean
53 >"bar" : "bar"
56 b = x == "bar";
57 >b = x == "bar" : boolean
[all …]
DpathMappingBasedModuleResolution_rootImport_aliasWithRoot_differentRootTypes.trace.json11 "======== Resolving module '/bar' from '/root/a.ts'. ========",
13 …"'baseUrl' option is set to '/root', using this value to resolve non-relative module name '/bar'.",
14 "'paths' option is specified, looking for a pattern to match module name '/bar'.",
15 "Module name '/bar', matched pattern '/*'.",
16 "Trying substitution './src/*', candidate module location: './src/bar'.",
17 …"Loading module as file / folder, candidate module location '/root/src/bar', target file type 'Typ…
18 "File '/root/src/bar.ts' does not exist.",
19 "File '/root/src/bar.tsx' does not exist.",
20 "File '/root/src/bar.d.ts' does not exist.",
21 "File '/root/src/bar.ets' does not exist.",
[all …]
DstringLiteralsWithEqualityChecks03.types42 b = "foo" === "bar";
43 >b = "foo" === "bar" : boolean
45 >"foo" === "bar" : boolean
47 >"bar" : "bar"
49 b = "bar" === x;
50 >b = "bar" === x : boolean
52 >"bar" === x : boolean
53 >"bar" : "bar"
56 b = x === "bar";
57 >b = x === "bar" : boolean
[all …]
DcontrolFlowAliasing.errors.txt5 …perty 'foo' does not exist on type '{ kind: "foo"; foo: string; } | { kind: "bar"; bar: number; }'.
6 Property 'foo' does not exist on type '{ kind: "bar"; bar: number; }'.
7 …g.ts(94,13): error TS2339: Property 'bar' does not exist on type '{ kind: "foo"; foo: string; } | …
8 Property 'bar' does not exist on type '{ kind: "foo"; foo: string; }'.
9 …perty 'foo' does not exist on type '{ kind: "foo"; foo: string; } | { kind: "bar"; bar: number; }'.
10 Property 'foo' does not exist on type '{ kind: "bar"; bar: number; }'.
11 ….ts(104,13): error TS2339: Property 'bar' does not exist on type '{ kind: "foo"; foo: string; } | …
12 Property 'bar' does not exist on type '{ kind: "foo"; foo: string; }'.
13 …perty 'foo' does not exist on type '{ kind: "foo"; foo: string; } | { kind: "bar"; bar: number; }'.
14 Property 'foo' does not exist on type '{ kind: "bar"; bar: number; }'.
[all …]
DinterfaceClassMerging2.types25 interface Bar {
33 class Bar extends Foo {
34 >Bar : Bar
49 var bar = new Bar();
50 >bar : Bar
51 >new Bar() : Bar
52 >Bar : typeof Bar
54 bar.interfaceBarMethod().interfaceFooMethod().classBarMethod().classFooMethod();
55 >bar.interfaceBarMethod().interfaceFooMethod().classBarMethod().classFooMethod() : Bar
56 >bar.interfaceBarMethod().interfaceFooMethod().classBarMethod().classFooMethod : () => Bar
[all …]
DinterfaceClassMerging.types37 class Bar extends Foo {
38 >Bar : Bar
53 var bar = new Bar();
54 >bar : Bar
55 >new Bar() : Bar
56 >Bar : typeof Bar
58 bar.method(0);
59 >bar.method(0) : string
60 >bar.method : (a: number) => string
61 >bar : Bar
[all …]
/third_party/python/Lib/test/
Dtest_shlex.py12 foo bar|foo|bar|
13 foo bar|foo|bar|
14 foo bar |foo|bar|
15 foo bar bla fasel|foo|bar|bla|fasel|
17 \x bar|\|x|bar|
18 \ x bar|\|x|bar|
19 \ bar|\|bar|
20 foo \x bar|foo|\|x|bar|
21 foo \ x bar|foo|\|x|bar|
22 foo \ bar|foo|\|bar|
[all …]
/third_party/node/test/sequential/
Dtest-fs-readdir-recursive.js12 [ 'a', [ 'foo', 'bar' ] ],
13 [ 'b', [ 'foo', 'bar' ] ],
14 [ 'c', [ 'foo', 'bar' ] ],
15 [ 'd', [ 'foo', 'bar' ] ],
16 [ 'e', [ 'foo', 'bar' ] ],
17 [ 'f', [ 'foo', 'bar' ] ],
18 [ 'g', [ 'foo', 'bar' ] ],
19 [ 'h', [ 'foo', 'bar' ] ],
20 [ 'i', [ 'foo', 'bar' ] ],
21 [ 'j', [ 'foo', 'bar' ] ],
[all …]
Dtest-fs-opendir-recursive.js13 [ 'a', [ 'foo', 'bar' ] ],
14 [ 'b', [ 'foo', 'bar' ] ],
15 [ 'c', [ 'foo', 'bar' ] ],
16 [ 'd', [ 'foo', 'bar' ] ],
17 [ 'e', [ 'foo', 'bar' ] ],
18 [ 'f', [ 'foo', 'bar' ] ],
19 [ 'g', [ 'foo', 'bar' ] ],
20 [ 'h', [ 'foo', 'bar' ] ],
21 [ 'i', [ 'foo', 'bar' ] ],
22 [ 'j', [ 'foo', 'bar' ] ],
[all …]
/third_party/typescript/tests/cases/compiler/
DcomputedPropertiesInDestructuring1_ES6.ts3 let foo = "bar";
4 let {[foo]: bar} = {bar: "bar"};
6 let {["bar"]: bar2} = {bar: "bar"};
7 let {[11]: bar2_1} = {11: "bar"};
9 let foo2 = () => "bar";
10 let {[foo2()]: bar3} = {bar: "bar"};
12 let [{[foo]: bar4}] = [{bar: "bar"}];
13 let [{[foo2()]: bar5}] = [{bar: "bar"}];
15 function f1({["bar"]: x}: { bar: number }) {}
16 function f2({[foo]: x}: { bar: number }) {}
[all …]
DcomputedPropertiesInDestructuring1.ts2 let foo = "bar";
3 let {[foo]: bar} = {bar: "bar"};
5 let {["bar"]: bar2} = {bar: "bar"};
7 let foo2 = () => "bar";
8 let {[foo2()]: bar3} = {bar: "bar"};
10 let [{[foo]: bar4}] = [{bar: "bar"}];
11 let [{[foo2()]: bar5}] = [{bar: "bar"}];
13 function f1({["bar"]: x}: { bar: number }) {}
14 function f2({[foo]: x}: { bar: number }) {}
15 function f3({[foo2()]: x}: { bar: number }) {}
[all …]

12345678910>>...323