Home
last modified time | relevance | path

Searched defs:bar (Results 1 – 25 of 1780) sorted by relevance

12345678910>>...72

/third_party/typescript/tests/baselines/reference/
DcomputedPropertiesInDestructuring1_ES6.js4 let {[foo]: bar} = {bar: "bar"}; property
6 let {["bar"]: bar2} = {bar: "bar"}; property
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
17 function f3({[foo2()]: x}: { bar: number }) {} property
18 function f4([{[foo]: x}]: [{ bar: number }]) {} property
19 function f5([{[foo2()]: x}]: [{ bar: number }]) {} property
[all …]
DcomputedPropertiesInDestructuring1.js4 let {[foo]: bar} = {bar: "bar"}; property
6 let {["bar"]: bar2} = {bar: "bar"}; property
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
17 function f4([{[foo]: x}]: [{ bar: number }]) {} property
18 function f5([{[foo2()]: x}]: [{ bar: number }]) {} property
[all …]
DpotentiallyUncalledDecorators.js39 @noArgs bar() { } method in A
45 @allRest bar() { } method in B
51 @oneOptional bar() { } method in C
57 @twoOptional bar() { } method in D
63 @threeOptional bar() { } method in E
69 @oneOptionalWithRest bar() { } method in F
75 @anyDec bar() { } method in G
107 bar() { } method in A
119 bar() { } method in B
131 bar() { } method in C
[all …]
DnonPrimitiveUnionIntersection.js8 const foo: object & {} = {bar: 'bar'}; // ok property
9 const bar: object & {err: string} = {bar: 'bar'}; // error variable
18 var foo = { bar: 'bar' }; // ok property
19 var bar = { bar: 'bar' }; // error property
DgenericCallWithObjectLiteralArgs.js2 function foo<T>(x: { bar: T; baz: T }) { property
6 var r = foo({ bar: 1, baz: '' }); // error property
7 var r2 = foo({ bar: 1, baz: 1 }); // T = number property
8 var r3 = foo({ bar: foo, baz: foo }); // T = typeof foo property
9 var r4 = foo<Object>({ bar: 1, baz: '' }); // T = Object property
15 var r = foo({ bar: 1, baz: '' }); // error property
16 var r2 = foo({ bar: 1, baz: 1 }); // T = number property
17 var r3 = foo({ bar: foo, baz: foo }); // T = typeof foo property
18 var r4 = foo({ bar: 1, baz: '' }); // T = Object property
DduplicatePropertyNames.js23 bar(x) { } method in C
24 bar(x) { } method in C
46 bar: () => { }, method
47 bar: () => { } method
58 C.prototype.bar = function (x) { }; method in C
59 C.prototype.bar = function (x) { }; method in C
66 bar: function () { }, method
67 bar: function () { } method
DinstanceMemberAssignsToClassPrototype.js8 C.prototype.bar = () => { } // error field in C
9 C.prototype.bar = (x) => x; // ok field in C
10 C.prototype.bar = (x: number) => 1; // ok field in C
22 C.prototype.bar = function (x) { method in C
23 C.prototype.bar = function () { }; // error method in C
24 C.prototype.bar = function (x) { return x; }; // ok method in C
25 C.prototype.bar = function (x) { return 1; }; // ok method in C
DcontrolFlowForIndexSignatures.js2 type Foo = { bar: string }; property
3 const boo: Foo = { bar: 'bar' }; property
20 const boo1: C = { bar: 'works' }; property
21 const boo2: C = { bar: 1 }; // should error property
26 var boo = { bar: 'bar' }; property
38 var boo1 = { bar: 'works' }; property
39 var boo2 = { bar: 1 }; // should error property
DprivateNameComputedPropertyName4(target=es2022).js5 ["bar"] () {} method in C1
9 static ["bar"] () {} method in C2
13 static ["bar"] = "test"; field in C3
21 ["bar"]() { } method in C1
25 static ["bar"]() { } method in C2
29 static ["bar"] = "test"; field in C3
DprivateNameComputedPropertyName4(target=esnext).js5 ["bar"] () {} method in C1
9 static ["bar"] () {} method in C2
13 static ["bar"] = "test"; field in C3
21 ["bar"]() { } method in C1
25 static ["bar"]() { } method in C2
29 static ["bar"] = "test"; field in C3
DjsxDeclarationsWithEsModuleInteropNoCrash.js7 bar: PropTypes.bool, property
11 bar: false, property
14 function Foo({ bar }) { field
28 declare function Foo({ bar }: { field
29 bar: any; property
DtypeOfThisInMemberFunctions.js7 static bar() { method in C
18 static bar() { method in D
29 static bar() { method in E
41 C.bar = function () { function in C
52 D.bar = function () { function in D
63 E.bar = function () { function in E
DobjectLiteralWidened.js6 bar: undefined property
11 bar: { property
24 bar: u property
29 bar: { property
39 bar: undefined property
43 bar: { property
53 bar: u property
57 bar: { property
DtypeOfPrototype.js3 bar = 3; field in Foo
4 static bar = ''; field in Foo
6 Foo.prototype.bar = undefined; // Should be OK method in Foo
17 Foo.prototype.bar = undefined; // Should be OK method in Foo
DinferenceAndSelfReferentialConstraint.js16 bar() { method
22 bar: function () { method
28 bar: () => { method
40 bar: function () { method
45 bar: function () { method
50 bar: function () { method
DdeclarationEmitClassMemberNameConflict.js5 bar() { method in C1
14 bar() { method in C2
23 bar() { method in C3
32 bar() { method in C4
46 C1.prototype.bar = function () { method in C1
56 C2.prototype.bar = function () { method in C2
72 C3.prototype.bar = function () { method in C3
88 C4.prototype.bar = function () { method in C4
DtypeParameterFixingWithConstraints.js11 foo.foo({ bar: null }, bar => null, bar => null); property
15 foo.foo({ bar: null }, function (bar) { return null; }, function (bar) { return null; }); argument
/third_party/rust/crates/bindgen/bindgen-tests/tests/headers/
Dconstify-module-enums-types.hpp41 typedef struct bar { struct
52 } bar; argument
Dno-derive-debug.h4 int bar; member
12 struct bar { struct
13 struct foo foo;
14 int baz;
Dno-derive-default.h4 int bar; member
12 struct bar { struct
13 struct foo foo;
14 int baz;
/third_party/typescript/tests/cases/compiler/
DinferSetterParamType.ts3 get bar() { method in Foo
6 set bar(n) { // should not be an error - infer number method in Foo
12 get bar() { method in Foo2
15 set bar(n:string) { method in Foo2
DpotentiallyUncalledDecorators.ts49 @allRest bar() { } method in B
55 @oneOptional bar() { } method in C
61 @twoOptional bar() { } method in D
67 @threeOptional bar() { } method in E
73 @oneOptionalWithRest bar() { } method in F
79 @anyDec bar() { } method in G
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/
Dno-derive-debug.rs11 bar: ::std::os::raw::c_int, field
18 pub struct bar { struct
24 const UNINIT: ::std::mem::MaybeUninit<bar> = in bindgen_test_layout_bar() argument
48 impl Default for bar { implementation
/third_party/typescript/tests/cases/conformance/types/objectTypeLiteral/callSignatures/
DtypeParameterUsedAsTypeParameterConstraint2.ts23 function bar<V extends T, W extends U>() { function
32 function bar<V extends T, W extends U>() { function
41 function bar<V extends T, W extends U>() { function
50 function bar<V extends T, W extends U>() { function
/third_party/typescript/tests/cases/conformance/classes/propertyMemberDeclarations/memberFunctionDeclarations/
DmemberFunctionsWithPublicOverloads.ts6 public bar(x: 'hi'); method in C
15 public static bar(x: 'hi'); method in C
26 public bar(x: 'hi'); method in D
35 public static bar(x: 'hi'); method in D

12345678910>>...72