Lines Matching refs:name
10 assertEquals('a', a.name);
12 assertEquals('b', b.name);
14 assertEquals('c', c.name);
17 assertEquals('x', x.name);
18 assertEquals('y', y.name);
19 assertEquals('withName', z.name);
25 assertEquals('a', a.name);
27 assertEquals('b', b.name);
29 const c = class { static name() { } } method in testVariableDeclarationsClass.c
30 assertEquals('function', typeof c.name);
33 assertEquals('x', x.name);
34 assertEquals('NamedClass', y.name);
53 assertEquals('a', obj.a.name);
54 assertEquals('b', obj.b.name);
55 assertEquals('c', obj.c.name);
57 assertEquals('get d', dDescriptor.get.name);
58 assertEquals('set d', dDescriptor.set.name);
59 assertEquals('withName', obj.x.name);
60 assertEquals('y', obj.y.name);
61 assertEquals('ClassName', obj.z.name);
62 assertEquals('42', obj[42].name);
63 assertEquals('4.2', obj[4.2].name);
64 assertEquals('', obj.__proto__.name);
80 assertEquals('a', C.prototype.a.name);
81 assertEquals('b', C.b.name);
83 assertEquals('get c', descriptor.get.name);
84 assertEquals('set c', descriptor.set.name);
85 assertEquals('42', C.prototype[42].name);
86 assertEquals('43', C[43].name);
88 assertEquals('get 44', descriptor.get.name);
89 assertEquals('set 44', descriptor.set.name);
105 assertEquals('', obj[a].name);
107 assertEquals('', obj[sym1].name);
108 assertEquals('withName', obj[sym2].name);
117 assertEquals('', C.prototype[a].name);
119 assertEquals('', C.prototype[sym1].name);
121 assertEquals('', C[sym2].name);
129 assertEquals('basicFn', basicFn.name);
131 assertEquals('basicFn', basicFn2.name);
133 assertEquals("functionWithName", basicFn.name);
136 assertEquals('arrowFn', arrowFn.name);
138 assertEquals('arrowFn', arrowFn2.name);
141 assertEquals('generatorFn', generatorFn.name);
143 assertEquals('generatorFn', generatorFn2.name);
145 assertEquals("generatorWithName", generatorFn.name);
148 assertEquals('classLit', classLit.name);
150 assertEquals('classLit', classLit2.name);
152 assertEquals('classWithName', classLit.name);
153 classLit = class { constructor() {} static name() {} }; method in testAssignment.classLit
154 assertEquals('function', typeof classLit.name);
155 classLit = class { constructor() {} static get name() { return true; } }; getter in testAssignment.classLit
156 assertTrue(classLit.name);
158 assertEquals('function', typeof classLit.name);
160 assertTrue(classLit.name);