Home
last modified time | relevance | path

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

12345678910>>...68

/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
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
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
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
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
DparameterInitializersForwardReferencing1.js4 function f1 (bar = foo) { // unexpected compiler error; works at runtime argument
9 function f2 (bar = (baz = foo) => baz) { // unexpected compiler error; works at runtime argument
14 function f3 (bar = foo, foo = 2) { // correct compiler error, error at runtime argument
18 function f4 (foo, bar = foo) { argument
38 function f8(foo1: string, bar = foo1) { } argument
49 if (bar === void 0) { bar = function (baz) { function
DdestructuringReassignsRightHandSide.js2 var foo: any = { foo: 1, bar: 2 }; property
3 var bar: any; variable
13 var foo = { foo: 1, bar: 2 }; property
14 var bar; variable
/third_party/rust/crates/bindgen/bindgen-tests/tests/headers/
Dconstify-module-enums-types.hpp41 typedef struct bar { struct
52 } bar; argument
Dno-derive-default.h4 int bar; member
12 struct bar { struct
13 struct foo foo;
14 int baz;
Dno-derive-debug.h4 int bar; member
12 struct bar { struct
13 struct foo foo;
14 int baz;
/third_party/node/deps/npm/node_modules/sorted-union-stream/
Dtest.js106 a.push({bar: '04'}) property
107 a.push({bar: '06'}) property
108 a.push({bar: '10'}) property
109 a.push({bar: '14'}) property
110 a.push({bar: '15'}) property
111 a.push({bar: '20'}) property
112 a.push({bar: '22'}) property
115 b.push({bar: '06'}) property
116 b.push({bar: '11'}) property
117 b.push({bar: '20'}) property
[all …]
/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.ts48 @allRest bar() { } method in B
54 @oneOptional bar() { } method in C
60 @twoOptional bar() { } method in D
66 @threeOptional bar() { } method in E
72 @oneOptionalWithRest bar() { } method in F
78 @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>>...68