/third_party/typescript/tests/baselines/reference/ |
D | amdLikeInputDeclarationEmit.types | 9 === tests/cases/compiler/deps/BaseClass.d.ts === 10 declare module "deps/BaseClass" { 11 >"deps/BaseClass" : typeof import("deps/BaseClass") 13 class BaseClass { 14 >BaseClass : BaseClass 16 static extends<A>(a: A): new () => A & BaseClass; 17 >extends : <A>(a: A) => new () => A & BaseClass 20 export = BaseClass; 21 >BaseClass : BaseClass 24 define("lib/ExtendedClass", ["deps/BaseClass"], [all …]
|
D | amdLikeInputDeclarationEmit.symbols | 11 === tests/cases/compiler/deps/BaseClass.d.ts === 12 declare module "deps/BaseClass" { 13 >"deps/BaseClass" : Symbol("deps/BaseClass", Decl(BaseClass.d.ts, 0, 0)) 15 class BaseClass { 16 >BaseClass : Symbol(BaseClass, Decl(BaseClass.d.ts, 0, 33)) 18 static extends<A>(a: A): new () => A & BaseClass; 19 >extends : Symbol(BaseClass.extends, Decl(BaseClass.d.ts, 1, 21)) 20 >A : Symbol(A, Decl(BaseClass.d.ts, 2, 23)) 21 >a : Symbol(a, Decl(BaseClass.d.ts, 2, 26)) 22 >A : Symbol(A, Decl(BaseClass.d.ts, 2, 23)) [all …]
|
D | derivedClassOverridesPrivateFunction1.symbols | 2 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))
|
D | genericBaseClassLiteralProperty.symbols | 2 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))
|
D | mergedInheritedMembersSatisfyAbstractBase.symbols | 2 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))
|
D | exportClassExtendingIntersection.types | 1 === 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…
|
D | mergedInheritedMembersSatisfyAbstractBase.types | 2 abstract class BaseClass { 3 >BaseClass : BaseClass 9 class Broken extends BaseClass {} 11 >BaseClass : BaseClass 26 class IncorrectlyExtends extends BaseClass {} 28 >BaseClass : BaseClass
|
D | checkIndexConstraintOfJavascriptClassExpression.types | 2 someFunction(function(BaseClass) { 3 >someFunction(function(BaseClass) { 'use strict'; const DEFAULT_MESSAGE = "nop!"; class He… 5 …BaseClass) { 'use strict'; const DEFAULT_MESSAGE = "nop!"; class Hello extends BaseClass … 6 >BaseClass : any 15 class Hello extends BaseClass { 17 >BaseClass : any
|
D | mergedInheritedMembersSatisfyAbstractBase.js | 2 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));
|
D | derivedClassOverridesPrivateFunction1.types | 2 class BaseClass { 3 >BaseClass : BaseClass 16 class DerivedClass extends BaseClass { 18 >BaseClass : BaseClass 23 >super : typeof BaseClass
|
D | exportClassExtendingIntersection.symbols | 1 === 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 …]
|
D | derivedClassOverridesPrivateFunction1.js | 2 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));
|
D | mergedInheritedMembersSatisfyAbstractBase.errors.txt | 1 …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…
|
D | genericBaseClassLiteralProperty.types | 2 class BaseClass<T> { 3 >BaseClass : BaseClass<T> 12 class SubClass extends BaseClass<number> { 14 >BaseClass : BaseClass<number>
|
D | genericBaseClassLiteralProperty.js | 2 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));
|
D | amdLikeInputDeclarationEmit.js | 7 class BaseClass { class 8 static extends<A>(a: A): new () => A & BaseClass; field in BaseClass 10 export = BaseClass; 19 (BaseClass) => { 21 const ExtendedClass = BaseClass.extends({
|
D | checkIndexConstraintOfJavascriptClassExpression.symbols | 2 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))
|
D | mergedInheritedClassInterface.js | 7 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));
|
D | mergedInheritedClassInterface.symbols | 12 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))
|
D | mergedInheritedClassInterface.types | 10 class BaseClass { 11 >BaseClass : BaseClass 25 class Child extends BaseClass { 27 >BaseClass : BaseClass
|
D | derivedClassOverridesPrivateFunction1.errors.txt | 1 …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'.
|
D | checkIndexConstraintOfJavascriptClassExpression.errors.txt | 2 tests/cases/compiler/weird.js(1,23): error TS7006: Parameter 'BaseClass' implicitly has an 'any' ty… 7 someFunction(function(BaseClass) { 12 !!! error TS7006: Parameter 'BaseClass' implicitly has an 'any' type. 15 class Hello extends BaseClass {
|
/third_party/benchmark/include/benchmark/ |
D | benchmark.h | 1259 #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/typescript/tests/cases/compiler/ |
D | amdLikeInputDeclarationEmit.ts | 10 class BaseClass { 11 static extends<A>(a: A): new () => A & BaseClass; 13 export = BaseClass; 22 (BaseClass) => { 24 const ExtendedClass = BaseClass.extends({
|
/third_party/typescript/tests/cases/conformance/interfaces/declarationMerging/ |
D | mergedInheritedMembersSatisfyAbstractBase.ts | 1 abstract class BaseClass { class 5 class Broken extends BaseClass {} 15 class IncorrectlyExtends extends BaseClass {}
|