Home
last modified time | relevance | path

Searched refs:Class (Results 1 – 25 of 1022) sorted by relevance

12345678910>>...41

/third_party/typescript/tests/baselines/reference/
DmethodsReturningThis.symbols2 function Class()
3 >Class : Symbol(Class, Decl(input.js, 0, 0))
7 // error: 'Class' doesn't have property 'notPresent'
8 Class.prototype.containsError = function () { return this.notPresent; };
9 >Class.prototype : Symbol(Class.containsError, Decl(input.js, 2, 1))
10 >Class : Symbol(Class, Decl(input.js, 0, 0))
12 >containsError : Symbol(Class.containsError, Decl(input.js, 2, 1))
13 >this : Symbol(Class, Decl(input.js, 0, 0))
16 Class.prototype.m1 = function (a, b, c, d, tx, ty) { return this; };
17 >Class.prototype : Symbol(Class.m1, Decl(input.js, 5, 72))
[all …]
DmethodsReturningThis.types2 function Class()
3 >Class : typeof Class
7 // error: 'Class' doesn't have property 'notPresent'
8 Class.prototype.containsError = function () { return this.notPresent; };
9 >Class.prototype.containsError = function () { return this.notPresent; } : () => any
10 >Class.prototype.containsError : any
11 >Class.prototype : any
12 >Class : typeof Class
21 Class.prototype.m1 = function (a, b, c, d, tx, ty) { return this; };
22 >Class.prototype.m1 = function (a, b, c, d, tx, ty) { return this; } : (a: any, b: any, c: any, d: …
[all …]
DdestructuringParameterDeclaration5.types5 class Class implements F {
6 >Class : Class
11 class SubClass extends Class {
13 >Class : Class
20 >super : typeof Class
47 function d0<T extends Class>({x} = { x: new Class() }) { }
48 >d0 : <T extends Class>({ x }?: { x: Class; }) => void
49 >x : Class
50 >{ x: new Class() } : { x: Class; }
51 >x : Class
[all …]
DmethodsReturningThis.js2 function Class() class
7 Class.prototype.containsError = function () { return this.notPresent; };
10 Class.prototype.m1 = function (a, b, c, d, tx, ty) { return this; };
11 Class.prototype.m2 = function (x, y) { return this; };
12 Class.prototype.m3 = function (x, y) { return this; };
13 Class.prototype.m4 = function (angle) { return this; };
14 Class.prototype.m5 = function (matrix) { return this; };
15 Class.prototype.m6 = function (x, y, pivotX, pivotY, scaleX, scaleY, rotation, skewX, skewY) { retu…
16 Class.prototype.m7 = function(matrix) { return this; };
17 Class.prototype.m8 = function() { return this; };
[all …]
DunionTypeWithRecursiveSubtypeReduction2.errors.txt1 …cursiveSubtypeReduction2.ts(19,1): error TS2322: Type 'Property' is not assignable to type 'Class'.
3 Type 'Module | Class' is not assignable to type 'Namespace'.
4 Property 'members' is missing in type 'Class' but required in type 'Namespace'.
5 tests/cases/compiler/unionTypeWithRecursiveSubtypeReduction2.ts(20,1): error TS2322: Type 'Class' i…
7 Type 'Namespace' is not assignable to type 'Module | Class'.
10 Type '(Class | Property)[]' is not assignable to type 'Class[]'.
11 Type 'Class | Property' is not assignable to type 'Class'.
12 Type 'Property' is not assignable to type 'Class'.
17 public members: Class[];
21 public members: (Class | Property)[];
[all …]
DunionTypeWithRecursiveSubtypeReduction1.types5 public members: Class[];
6 >members : Class[]
12 public members: (Class | Property)[];
13 >members : (Class | Property)[]
16 class Class {
17 >Class : Class
26 public parent: Module | Class;
27 >parent : Module | Class
30 var t: Class | Property;
31 >t : Class | Property
[all …]
DunionTypeWithRecursiveSubtypeReduction2.types5 public members: Class[];
6 >members : Class[]
12 public members: (Class | Property)[];
13 >members : (Class | Property)[]
16 class Class {
17 >Class : Class
26 public parent: Module | Class;
27 >parent : Module | Class
30 var c: Class;
31 >c : Class
[all …]
DcollisionArgumentsClassConstructor.errors.txt2 …mentsClassConstructor.ts(3,31): error TS1210: Invalid use of 'arguments'. Class definitions are au…
3 …mentsClassConstructor.ts(4,13): error TS1210: Invalid use of 'arguments'. Class definitions are au…
4 …mentsClassConstructor.ts(8,17): error TS1210: Invalid use of 'arguments'. Class definitions are au…
6 …mentsClassConstructor.ts(9,13): error TS1210: Invalid use of 'arguments'. Class definitions are au…
7 …entsClassConstructor.ts(13,17): error TS1210: Invalid use of 'arguments'. Class definitions are au…
8 …entsClassConstructor.ts(14,13): error TS1210: Invalid use of 'arguments'. Class definitions are au…
9 …entsClassConstructor.ts(20,13): error TS1210: Invalid use of 'arguments'. Class definitions are au…
10 …entsClassConstructor.ts(25,13): error TS1210: Invalid use of 'arguments'. Class definitions are au…
12 …entsClassConstructor.ts(30,24): error TS1210: Invalid use of 'arguments'. Class definitions are au…
13 …entsClassConstructor.ts(31,13): error TS1210: Invalid use of 'arguments'. Class definitions are au…
[all …]
DunionTypeWithRecursiveSubtypeReduction1.symbols5 public members: Class[];
7 >Class : Symbol(Class, Decl(unionTypeWithRecursiveSubtypeReduction1.ts, 6, 1))
13 public members: (Class | Property)[];
15 >Class : Symbol(Class, Decl(unionTypeWithRecursiveSubtypeReduction1.ts, 6, 1))
19 class Class {
20 >Class : Symbol(Class, Decl(unionTypeWithRecursiveSubtypeReduction1.ts, 6, 1))
23 >parent : Symbol(Class.parent, Decl(unionTypeWithRecursiveSubtypeReduction1.ts, 8, 13))
30 public parent: Module | Class;
33 >Class : Symbol(Class, Decl(unionTypeWithRecursiveSubtypeReduction1.ts, 6, 1))
36 var t: Class | Property;
[all …]
DdestructuringParameterDeclaration5.symbols7 class Class implements F {
8 >Class : Symbol(Class, Decl(destructuringParameterDeclaration5.ts, 2, 15))
14 class SubClass extends Class {
16 >Class : Symbol(Class, Decl(destructuringParameterDeclaration5.ts, 2, 15))
22 >super : Symbol(Class, Decl(destructuringParameterDeclaration5.ts, 2, 15))
49 function d0<T extends Class>({x} = { x: new Class() }) { }
52 >Class : Symbol(Class, Decl(destructuringParameterDeclaration5.ts, 2, 15))
55 >Class : Symbol(Class, Decl(destructuringParameterDeclaration5.ts, 2, 15))
65 function d2<T extends Class>({x}: { x: Class }) { }
68 >Class : Symbol(Class, Decl(destructuringParameterDeclaration5.ts, 2, 15))
[all …]
DunionTypeWithRecursiveSubtypeReduction2.symbols5 public members: Class[];
7 >Class : Symbol(Class, Decl(unionTypeWithRecursiveSubtypeReduction2.ts, 6, 1))
13 public members: (Class | Property)[];
15 >Class : Symbol(Class, Decl(unionTypeWithRecursiveSubtypeReduction2.ts, 6, 1))
19 class Class {
20 >Class : Symbol(Class, Decl(unionTypeWithRecursiveSubtypeReduction2.ts, 6, 1))
23 >parent : Symbol(Class.parent, Decl(unionTypeWithRecursiveSubtypeReduction2.ts, 8, 13))
30 public parent: Module | Class;
33 >Class : Symbol(Class, Decl(unionTypeWithRecursiveSubtypeReduction2.ts, 6, 1))
36 var c: Class;
[all …]
DcollisionArgumentsClassMethod.errors.txt2 …nArgumentsClassMethod.ts(2,30): error TS1210: Invalid use of 'arguments'. Class definitions are au…
3 …nArgumentsClassMethod.ts(3,13): error TS1210: Invalid use of 'arguments'. Class definitions are au…
4 …nArgumentsClassMethod.ts(5,17): error TS1210: Invalid use of 'arguments'. Class definitions are au…
6 …nArgumentsClassMethod.ts(6,13): error TS1210: Invalid use of 'arguments'. Class definitions are au…
7 …nArgumentsClassMethod.ts(8,23): error TS1210: Invalid use of 'arguments'. Class definitions are au…
8 …nArgumentsClassMethod.ts(9,13): error TS1210: Invalid use of 'arguments'. Class definitions are au…
9 …ArgumentsClassMethod.ts(11,29): error TS1210: Invalid use of 'arguments'. Class definitions are au…
10 …ArgumentsClassMethod.ts(12,29): error TS1210: Invalid use of 'arguments'. Class definitions are au…
12 …ArgumentsClassMethod.ts(13,26): error TS1210: Invalid use of 'arguments'. Class definitions are au…
13 …ArgumentsClassMethod.ts(14,13): error TS1210: Invalid use of 'arguments'. Class definitions are au…
[all …]
DdestructuringParameterDeclaration5.js5 class Class implements F { class
9 class SubClass extends Class {
27 function d0<T extends Class>({x} = { x: new Class() }) { }
29 function d2<T extends Class>({x}: { x: Class }) { }
33 var obj = new Class();
38 d1({ x: new Class() });
48 d3({ y: new Class() });
70 var Class = /** @class */ (function () {
71 function Class() { class in Class
73 return Class;
[all …]
DaliasesInSystemModule1.types5 import cls = alias.Class;
8 >Class : any
10 export import cls2 = alias.Class;
13 >Class : any
15 let x = new alias.Class();
17 >new alias.Class() : any
18 >alias.Class : any
20 >Class : any
35 export import cls = alias.Class;
38 >Class : any
[all …]
DaliasesInSystemModule2.types5 import cls = alias.Class;
8 >Class : any
10 export import cls2 = alias.Class;
13 >Class : any
15 let x = new alias.Class();
17 >new alias.Class() : any
18 >alias.Class : any
20 >Class : any
35 export import cls = alias.Class;
38 >Class : any
[all …]
DstrictModeReservedWordInClassDeclaration.errors.txt1 …TS1213: Identifier expected. 'private' is a reserved word in strict mode. Class definitions are au…
2 … TS1213: Identifier expected. 'public' is a reserved word in strict mode. Class definitions are au…
3 … TS1213: Identifier expected. 'static' is a reserved word in strict mode. Class definitions are au…
4 …TS1213: Identifier expected. 'private' is a reserved word in strict mode. Class definitions are au…
5 … TS1213: Identifier expected. 'public' is a reserved word in strict mode. Class definitions are au…
6 … TS1213: Identifier expected. 'static' is a reserved word in strict mode. Class definitions are au…
7 … TS1213: Identifier expected. 'public' is a reserved word in strict mode. Class definitions are au…
8 … TS1213: Identifier expected. 'public' is a reserved word in strict mode. Class definitions are au…
9 …ror TS1213: Identifier expected. 'let' is a reserved word in strict mode. Class definitions are au…
10 …TS1213: Identifier expected. 'private' is a reserved word in strict mode. Class definitions are au…
[all …]
DaliasesInSystemModule1.js3 import cls = alias.Class;
4 export import cls2 = alias.Class;
6 let x = new alias.Class();
11 export import cls = alias.Class;
12 let x = new alias.Class();
30 cls = alias.Class;
31 exports_1("cls2", cls2 = alias.Class);
32 x = new alias.Class();
36 M.cls = alias.Class;
37 var x = new alias.Class();
DaliasesInSystemModule2.js3 import cls = alias.Class;
4 export import cls2 = alias.Class;
6 let x = new alias.Class();
11 export import cls = alias.Class;
12 let x = new alias.Class();
29 cls = foo_1.alias.Class;
30 exports_1("cls2", cls2 = foo_1.alias.Class);
31 x = new foo_1.alias.Class();
35 M.cls = foo_1.alias.Class;
36 var x = new foo_1.alias.Class();
/third_party/skia/third_party/externals/abseil-cpp/absl/base/
Dinvoke_test.cc71 struct Class { struct
159 std::unique_ptr<Class> p(new Class); in TEST()
160 std::unique_ptr<const Class> cp(new Class); in TEST()
161 std::unique_ptr<volatile Class> vp(new Class); in TEST()
163 EXPECT_EQ(1, base_internal::invoke(&Class::Method, p, 3, 2)); in TEST()
164 EXPECT_EQ(1, base_internal::invoke(&Class::Method, p.get(), 3, 2)); in TEST()
165 EXPECT_EQ(1, base_internal::invoke(&Class::Method, *p, 3, 2)); in TEST()
166 EXPECT_EQ(1, base_internal::invoke(&Class::RefMethod, p, 3, 2)); in TEST()
167 EXPECT_EQ(1, base_internal::invoke(&Class::RefMethod, p.get(), 3, 2)); in TEST()
168 EXPECT_EQ(1, base_internal::invoke(&Class::RefMethod, *p, 3, 2)); in TEST()
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/utility/
Dutility_test.cc206 struct Class { struct
274 std::unique_ptr<Class> p(new Class); in TEST()
275 std::unique_ptr<const Class> cp(new Class); in TEST()
277 1, absl::apply(&Class::Method, in TEST()
278 std::tuple<std::unique_ptr<Class>&, int, int>(p, 3, 2))); in TEST()
279 EXPECT_EQ(1, absl::apply(&Class::Method, in TEST()
280 std::tuple<Class*, int, int>(p.get(), 3, 2))); in TEST()
282 1, absl::apply(&Class::Method, std::tuple<Class&, int, int>(*p, 3, 2))); in TEST()
285 1, absl::apply(&Class::ConstMethod, in TEST()
286 std::tuple<std::unique_ptr<Class>&, int, int>(p, 3, 2))); in TEST()
[all …]
/third_party/node/src/
Dnode_mem-inl.h12 template <typename Class, typename AllocatorStruct>
13 AllocatorStruct NgLibMemoryManager<Class, AllocatorStruct>::MakeAllocator() { in MakeAllocator()
15 static_cast<void*>(static_cast<Class*>(this)), in MakeAllocator()
23 template <typename Class, typename T>
24 void* NgLibMemoryManager<Class, T>::ReallocImpl(void* ptr, in ReallocImpl()
27 Class* manager = static_cast<Class*>(user_data); in ReallocImpl()
74 template <typename Class, typename T>
75 void* NgLibMemoryManager<Class, T>::MallocImpl(size_t size, void* user_data) { in MallocImpl()
79 template <typename Class, typename T>
80 void NgLibMemoryManager<Class, T>::FreeImpl(void* ptr, void* user_data) { in FreeImpl()
[all …]
/third_party/typescript/tests/cases/conformance/salsa/
DmethodsReturningThis.ts4 function Class() function
9 Class.prototype.containsError = function () { return this.notPresent; };
12 Class.prototype.m1 = function (a, b, c, d, tx, ty) { return this; };
13 Class.prototype.m2 = function (x, y) { return this; };
14 Class.prototype.m3 = function (x, y) { return this; };
15 Class.prototype.m4 = function (angle) { return this; };
16 Class.prototype.m5 = function (matrix) { return this; };
17 Class.prototype.m6 = function (x, y, pivotX, pivotY, scaleX, scaleY, rotation, skewX, skewY) { retu…
18 Class.prototype.m7 = function(matrix) { return this; };
19 Class.prototype.m8 = function() { return this; };
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/ObjCARC/
DDependencyAnalysis.cpp36 ARCInstKind Class) { in CanAlterRefCount() argument
37 switch (Class) { in CanAlterRefCount()
70 ARCInstKind Class) { in CanDecrementRefCount() argument
72 if (!CanDecrementRefCount(Class)) in CanDecrementRefCount()
76 return CanAlterRefCount(Inst, Ptr, PA, Class); in CanDecrementRefCount()
82 ProvenanceAnalysis &PA, ARCInstKind Class) { in CanUse() argument
85 if (Class == ARCInstKind::Call) in CanUse()
139 ARCInstKind Class = GetARCInstKind(Inst); in Depends() local
140 switch (Class) { in Depends()
146 return CanUse(Inst, Arg, PA, Class); in Depends()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DObjCARCInstKind.h58 raw_ostream &operator<<(raw_ostream &OS, const ARCInstKind Class);
61 bool IsUser(ARCInstKind Class);
64 bool IsRetain(ARCInstKind Class);
67 bool IsAutorelease(ARCInstKind Class);
71 bool IsForwarding(ARCInstKind Class);
75 bool IsNoopOnNull(ARCInstKind Class);
79 bool IsNoopOnGlobal(ARCInstKind Class);
83 bool IsAlwaysTail(ARCInstKind Class);
87 bool IsNeverTail(ARCInstKind Class);
91 bool IsNoThrow(ARCInstKind Class);
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/CodeView/
DCodeView.h52 #define CV_DEFINE_ENUM_CLASS_FLAGS_OPERATORS(Class) \ argument
53 inline Class operator|(Class a, Class b) { \
54 return static_cast<Class>( \
55 static_cast<std::underlying_type<Class>::type>(a) | \
56 static_cast<std::underlying_type<Class>::type>(b)); \
58 inline Class operator&(Class a, Class b) { \
59 return static_cast<Class>( \
60 static_cast<std::underlying_type<Class>::type>(a) & \
61 static_cast<std::underlying_type<Class>::type>(b)); \
63 inline Class operator~(Class a) { \
[all …]

12345678910>>...41