Home
last modified time | relevance | path

Searched refs:BaseClass (Results 1 – 25 of 50) sorted by relevance

12

/third_party/typescript/tests/baselines/reference/
DderivedClassOverridesPrivateFunction1.symbols2 class BaseClass {
3 >BaseClass : Symbol(BaseClass, Decl(derivedClassOverridesPrivateFunction1.ts, 0, 0))
7 >this._init : Symbol(BaseClass._init, Decl(derivedClassOverridesPrivateFunction1.ts, 3, 5))
8 >this : Symbol(BaseClass, Decl(derivedClassOverridesPrivateFunction1.ts, 0, 0))
9 >_init : Symbol(BaseClass._init, Decl(derivedClassOverridesPrivateFunction1.ts, 3, 5))
12 >_init : Symbol(BaseClass._init, Decl(derivedClassOverridesPrivateFunction1.ts, 3, 5))
15 class DerivedClass extends BaseClass {
17 >BaseClass : Symbol(BaseClass, Decl(derivedClassOverridesPrivateFunction1.ts, 0, 0))
21 >super : Symbol(BaseClass, Decl(derivedClassOverridesPrivateFunction1.ts, 0, 0))
DgenericBaseClassLiteralProperty.symbols2 class BaseClass<T> {
3 >BaseClass : Symbol(BaseClass, Decl(genericBaseClassLiteralProperty.ts, 0, 0))
7 >_getValue1 : Symbol(BaseClass._getValue1, Decl(genericBaseClassLiteralProperty.ts, 0, 20))
11 >_getValue2 : Symbol(BaseClass._getValue2, Decl(genericBaseClassLiteralProperty.ts, 1, 34))
15 class SubClass extends BaseClass<number> {
17 >BaseClass : Symbol(BaseClass, Decl(genericBaseClassLiteralProperty.ts, 0, 0))
24 >this._getValue1 : Symbol(BaseClass._getValue1, Decl(genericBaseClassLiteralProperty.ts, 0, 20))
26 >_getValue1 : Symbol(BaseClass._getValue1, Decl(genericBaseClassLiteralProperty.ts, 0, 20))
30 >this._getValue2 : Symbol(BaseClass._getValue2, Decl(genericBaseClassLiteralProperty.ts, 1, 34))
32 >_getValue2 : Symbol(BaseClass._getValue2, Decl(genericBaseClassLiteralProperty.ts, 1, 34))
DmergedInheritedMembersSatisfyAbstractBase.symbols2 abstract class BaseClass {
3 >BaseClass : Symbol(BaseClass, Decl(mergedInheritedMembersSatisfyAbstractBase.ts, 0, 0))
6 >bar : Symbol(BaseClass.bar, Decl(mergedInheritedMembersSatisfyAbstractBase.ts, 0, 26))
9 class Broken extends BaseClass {}
11 >BaseClass : Symbol(BaseClass, Decl(mergedInheritedMembersSatisfyAbstractBase.ts, 0, 0))
25 >new Broken().bar : Symbol(BaseClass.bar, Decl(mergedInheritedMembersSatisfyAbstractBase.ts, 0, 26))
27 >bar : Symbol(BaseClass.bar, Decl(mergedInheritedMembersSatisfyAbstractBase.ts, 0, 26))
29 class IncorrectlyExtends extends BaseClass {}
31 >BaseClass : Symbol(BaseClass, Decl(mergedInheritedMembersSatisfyAbstractBase.ts, 0, 0))
DexportClassExtendingIntersection.types1 === tests/cases/compiler/BaseClass.ts ===
16 import { Constructor, MyBaseClass } from './BaseClass';
38 import { MyBaseClass } from './BaseClass';
42 …mport("tests/cases/compiler/BaseClass").Constructor<MyBaseClass<any>>>(base: T) => T & import("tes…
47 …mport("tests/cases/compiler/BaseClass").Constructor<MyBaseClass<any>>>(base: T) => T & import("tes…
58 …mpiler/BaseClass").Constructor<import("tests/cases/compiler/BaseClass").MyBaseClass<any>>>(base: T…
67 >AnotherMixedClass : typeof MyExtendedClass & import("tests/cases/compiler/BaseClass").Constructor<…
68 >MyMixin(MyExtendedClass) : typeof MyExtendedClass & import("tests/cases/compiler/BaseClass").Const…
69 …mpiler/BaseClass").Constructor<import("tests/cases/compiler/BaseClass").MyBaseClass<any>>>(base: T…
DmergedInheritedMembersSatisfyAbstractBase.types2 abstract class BaseClass {
3 >BaseClass : BaseClass
9 class Broken extends BaseClass {}
11 >BaseClass : BaseClass
26 class IncorrectlyExtends extends BaseClass {}
28 >BaseClass : BaseClass
DcheckIndexConstraintOfJavascriptClassExpression.types2 someFunction(function(BaseClass) {
3 >someFunction(function(BaseClass) { 'use strict'; const DEFAULT_MESSAGE = "nop!"; class He…
5BaseClass) { 'use strict'; const DEFAULT_MESSAGE = "nop!"; class Hello extends BaseClass
6 >BaseClass : any
15 class Hello extends BaseClass {
17 >BaseClass : any
DderivedClassOverridesPrivateFunction1.types2 class BaseClass {
3 >BaseClass : BaseClass
16 class DerivedClass extends BaseClass {
18 >BaseClass : BaseClass
23 >super : typeof BaseClass
DmergedInheritedMembersSatisfyAbstractBase.js2 abstract class BaseClass {
6 class Broken extends BaseClass {}
16 class IncorrectlyExtends extends BaseClass {}
39 var BaseClass = /** @class */ (function () { class
40 function BaseClass() { class in BaseClass
42 return BaseClass;
50 }(BaseClass));
58 }(BaseClass));
DderivedClassOverridesPrivateFunction1.js2 class BaseClass { class
9 class DerivedClass extends BaseClass {
34 var BaseClass = /** @class */ (function () {
35 function BaseClass() { class in BaseClass
38 BaseClass.prototype._init = function () {
40 return BaseClass;
50 }(BaseClass));
DexportClassExtendingIntersection.symbols1 === tests/cases/compiler/BaseClass.ts ===
3 >Constructor : Symbol(Constructor, Decl(BaseClass.ts, 0, 0))
4 >T : Symbol(T, Decl(BaseClass.ts, 0, 24))
5 >args : Symbol(args, Decl(BaseClass.ts, 0, 34))
6 >T : Symbol(T, Decl(BaseClass.ts, 0, 24))
9 >MyBaseClass : Symbol(MyBaseClass, Decl(BaseClass.ts, 0, 55))
10 >T : Symbol(T, Decl(BaseClass.ts, 2, 25))
13 >baseProperty : Symbol(MyBaseClass.baseProperty, Decl(BaseClass.ts, 2, 29))
16 >value : Symbol(value, Decl(BaseClass.ts, 4, 16))
17 >T : Symbol(T, Decl(BaseClass.ts, 2, 25))
[all …]
DmergedInheritedMembersSatisfyAbstractBase.errors.txt1 …320: Interface 'IncorrectlyExtends' cannot simultaneously extend types 'BaseClass' and 'IncorrectG…
2 Named property 'bar' of types 'BaseClass' and 'IncorrectGetters' are not identical.
6 abstract class BaseClass {
10 class Broken extends BaseClass {}
20 class IncorrectlyExtends extends BaseClass {}
26 !!! error TS2320: Interface 'IncorrectlyExtends' cannot simultaneously extend types 'BaseClass' and…
27 !!! error TS2320: Named property 'bar' of types 'BaseClass' and 'IncorrectGetters' are not identi…
DgenericBaseClassLiteralProperty.types2 class BaseClass<T> {
3 >BaseClass : BaseClass<T>
12 class SubClass extends BaseClass<number> {
14 >BaseClass : BaseClass<number>
DgenericBaseClassLiteralProperty.js2 class BaseClass<T> { class
7 class SubClass extends BaseClass<number> {
31 var BaseClass = /** @class */ (function () {
32 function BaseClass() { class in BaseClass
34 return BaseClass;
46 }(BaseClass));
DcheckIndexConstraintOfJavascriptClassExpression.symbols2 someFunction(function(BaseClass) {
3 >BaseClass : Symbol(BaseClass, Decl(weird.js, 0, 22))
9 class Hello extends BaseClass {
11 >BaseClass : Symbol(BaseClass, Decl(weird.js, 0, 22))
DmergedInheritedClassInterface.js7 class BaseClass { class
16 class Child extends BaseClass {
65 var BaseClass = /** @class */ (function () {
66 function BaseClass() { class in BaseClass
68 BaseClass.prototype.baseMethod = function () { };
69 return BaseClass;
78 }(BaseClass));
DmergedInheritedClassInterface.symbols12 class BaseClass {
13 >BaseClass : Symbol(BaseClass, Decl(mergedInheritedClassInterface.ts, 3, 1))
16 >baseMethod : Symbol(BaseClass.baseMethod, Decl(mergedInheritedClassInterface.ts, 5, 17))
19 >baseNumber : Symbol(BaseClass.baseNumber, Decl(mergedInheritedClassInterface.ts, 6, 20))
30 class Child extends BaseClass {
32 >BaseClass : Symbol(BaseClass, Decl(mergedInheritedClassInterface.ts, 3, 1))
83 >child.baseNumber : Symbol(BaseClass.baseNumber, Decl(mergedInheritedClassInterface.ts, 6, 20))
85 >baseNumber : Symbol(BaseClass.baseNumber, Decl(mergedInheritedClassInterface.ts, 6, 20))
93 >child.baseMethod : Symbol(BaseClass.baseMethod, Decl(mergedInheritedClassInterface.ts, 5, 17))
95 >baseMethod : Symbol(BaseClass.baseMethod, Decl(mergedInheritedClassInterface.ts, 5, 17))
DmergedInheritedClassInterface.types10 class BaseClass {
11 >BaseClass : BaseClass
25 class Child extends BaseClass {
27 >BaseClass : BaseClass
DderivedClassOverridesPrivateFunction1.errors.txt1 …teFunction1.ts(8,7): error TS2415: Class 'DerivedClass' incorrectly extends base class 'BaseClass'.
6 class BaseClass {
13 class DerivedClass extends BaseClass {
15 !!! error TS2415: Class 'DerivedClass' incorrectly extends base class 'BaseClass'.
DcheckIndexConstraintOfJavascriptClassExpression.errors.txt2 tests/cases/compiler/weird.js(1,23): error TS7006: Parameter 'BaseClass' implicitly has an 'any' ty…
7 someFunction(function(BaseClass) {
11 !!! error TS7006: Parameter 'BaseClass' implicitly has an 'any' type.
14 class Hello extends BaseClass {
/third_party/json/benchmarks/thirdparty/benchmark/include/benchmark/
Dbenchmark.h1110 #define BENCHMARK_PRIVATE_DECLARE_F(BaseClass, Method) \ argument
1111 class BaseClass##_##Method##_Benchmark : public BaseClass { \
1113 BaseClass##_##Method##_Benchmark() : BaseClass() { \
1114 this->SetName(#BaseClass "/" #Method); \
1121 #define BENCHMARK_TEMPLATE1_PRIVATE_DECLARE_F(BaseClass, Method, a) \ argument
1122 class BaseClass##_##Method##_Benchmark : public BaseClass<a> { \
1124 BaseClass##_##Method##_Benchmark() : BaseClass<a>() { \
1125 this->SetName(#BaseClass"<" #a ">/" #Method); \
1132 #define BENCHMARK_TEMPLATE2_PRIVATE_DECLARE_F(BaseClass, Method, a, b) \ argument
1133 class BaseClass##_##Method##_Benchmark : public BaseClass<a, b> { \
[all …]
/third_party/benchmark/include/benchmark/
Dbenchmark.h1259 #define BENCHMARK_PRIVATE_CONCAT_NAME(BaseClass, Method) \ argument
1260 BaseClass##_##Method##_Benchmark
1338 #define BENCHMARK_PRIVATE_DECLARE_F(BaseClass, Method) \ argument
1339 class BaseClass##_##Method##_Benchmark : public BaseClass { \
1341 BaseClass##_##Method##_Benchmark() { \
1342 this->SetName(#BaseClass "/" #Method); \
1349 #define BENCHMARK_TEMPLATE1_PRIVATE_DECLARE_F(BaseClass, Method, a) \ argument
1350 class BaseClass##_##Method##_Benchmark : public BaseClass<a> { \
1352 BaseClass##_##Method##_Benchmark() { \
1353 this->SetName(#BaseClass "<" #a ">/" #Method); \
[all …]
/third_party/grpc/test/core/gprpp/
Dref_counted_ptr_test.cc192 class BaseClass : public RefCounted<BaseClass> { class
194 BaseClass() {} in BaseClass() function in grpc_core::testing::__anon09342b120111::BaseClass
197 class Subclass : public BaseClass {
203 RefCountedPtr<BaseClass> p(new Subclass()); in TEST()
207 RefCountedPtr<BaseClass> b; in TEST()
215 RefCountedPtr<BaseClass> b; in TEST()
223 RefCountedPtr<BaseClass> b; in TEST()
231 RefCountedPtr<BaseClass> b(s); in TEST()
235 void FunctionTakingBaseClass(RefCountedPtr<BaseClass> p) { in FunctionTakingBaseClass()
/third_party/typescript/tests/cases/conformance/interfaces/declarationMerging/
DmergedInheritedMembersSatisfyAbstractBase.ts1 abstract class BaseClass { class
5 class Broken extends BaseClass {}
15 class IncorrectlyExtends extends BaseClass {}
/third_party/boost/boost/range/
Dmfc.hpp62 template< class BaseClass, class PtrType >
65 template< class BaseClass, class PtrType >
68 template< class BaseClass, class KeyPtrType, class MappedPtrType >
721 template< class BaseClass, class PtrType >
722 struct customization< ::CTypedPtrArray<BaseClass, PtrType> >
746 typedef typename compatible_mutable_iterator<BaseClass>::type miter_t;
747 typedef typename range_const_iterator<BaseClass>::type citer_t;
756 return Iterator(boost::begin<BaseClass>(x), fun<X>()); in begin()
762 return Iterator(boost::end<BaseClass>(x), fun<X>()); in end()
767 template< class BaseClass, class PtrType >
[all …]
/third_party/grpc/test/cpp/codegen/
Dcompiler_test_golden288 template <class BaseClass>
289 class WithAsyncMethod_MethodA1 : public BaseClass {
308 template <class BaseClass>
309 class WithAsyncMethod_MethodA2 : public BaseClass {
328 template <class BaseClass>
329 class WithAsyncMethod_MethodA3 : public BaseClass {
348 template <class BaseClass>
349 class WithAsyncMethod_MethodA4 : public BaseClass {
369 template <class BaseClass>
370 class ExperimentalWithCallbackMethod_MethodA1 : public BaseClass {
[all …]

12