/third_party/typescript/tests/baselines/reference/ |
H A D | interfaceExtendsObjectIntersection.js | 18 type Constructor<T> = new () => T; 19 declare function Constructor<T>(): Constructor<T>; 21 class C1 extends Constructor<I1>() { x: string } 22 class C2 extends Constructor<I2>() { x: string } 23 class C3 extends Constructor<I3>() { x: string } 24 class C4 extends Constructor<I4>() { x: string } 25 class C5 extends Constructor<I5>() { x: string } 26 class C6 extends Constructor<I6>() { x: string } 27 class C7 extends Constructor<I [all...] |
H A D | interfaceExtendsObjectIntersectionErrors.js | 14 type Constructor<T> = new () => T; 15 declare function Constructor<T>(): Constructor<T>; 17 class C1 extends Constructor<T1>() { a: string } 18 class C2 extends Constructor<T2>() { b: string } 19 class C3 extends Constructor<T3>() { length: string } 20 class C4 extends Constructor<T4>() { 0: number } 21 class C5 extends Constructor<T5>() { c: number } 73 }(Constructor()));
80 }(Constructor()));
[all...] |
H A D | symbolLinkDeclarationEmitModuleNamesRootDir.js | 4 export type Constructor<T> = (...args: any[]) => T;
6 import { Constructor } from "./value-promise" 9 static create<T extends Constructor<any>>(ctor: T): BindingKey<T>; 17 import { Constructor } from "@loopback/context"; 18 export type ControllerClass = Constructor<any>; 39 import { Constructor } from "@loopback/context";
40 export type ControllerClass = Constructor<any>;
|
H A D | mixinClassesAnnotated.js | 2 type Constructor<T> = new(...args: any[]) => T; 18 const Printable = <T extends Constructor<Base>>(superClass: T): Constructor<Printable> & { message: string } & T => 30 function Tagged<T extends Constructor<{}>>(superClass: T): Constructor<Tagged> & T { 158 type Constructor<T> = new (...args: any[]) => T;
171 declare const Printable: <T extends Constructor<Base>>(superClass: T) => Constructor<Printable> & {
177 declare function Tagged<T extends Constructor<{}>>(superClass: T): Constructor<Tagge [all...] |
H A D | exportClassExtendingIntersection.js | 4 export type Constructor<T> = new (...args: any[]) => T; 11 import { Constructor, MyBaseClass } from './BaseClass'; 17 export function MyMixin<T extends Constructor<MyBaseClass<any>>>(base: T): T & Constructor<MyMixin> { 116 export type Constructor<T> = new (...args: any[]) => T;
122 import { Constructor, MyBaseClass } from './BaseClass';
126 export declare function MyMixin<T extends Constructor<MyBaseClass<any>>>(base: T): T & Constructor<MyMixin>;
130 declare const MyExtendedClass_base: typeof MyBaseClass & import("./BaseClass").Constructor<MyMixin>;
|
H A D | identicalGenericConditionalsWithInferRelated.js | 13 export type Constructor<T> = new (...args: any[]) => T 22 decode<C extends Constructor<any>>(ctor: C): MappedResult<C extends Constructor<infer T> ? T : never> 26 decode<C extends Constructor<any>>(ctor: C): MappedResult<C extends Constructor<infer T> ? T : never> {
|
H A D | declarationsForFileShadowingGlobalNoError.js | 11 type Constructor = new (...args: any[]) => any 13 export const mixin = (Base: Constructor) => { 63 type Constructor = new (...args: any[]) => any;
64 export declare const mixin: (Base: Constructor) => {
|
H A D | emitClassExpressionInDeclarationFile.js | 17 export type Constructor<T> = new(...args: any[]) => T; 18 export function WithTags<T extends Constructor<FooItem>>(Base: T) { 120 export type Constructor<T> = new (...args: any[]) => T;
121 export declare function WithTags<T extends Constructor<FooItem>>(Base: T): {
|
H A D | anonClassDeclarationEmitIsAnon.js | 12 export type Constructor<T = {}> = new (...args: any[]) => T; 14 export function Timestamped<TBase extends Constructor>(Base: TBase) { 125 export type Constructor<T = {}> = new (...args: any[]) => T;
126 export declare function Timestamped<TBase extends Constructor>(Base: TBase): {
|
H A D | mixinPrivateAndProtected.js | 4 type Constructor<T> = new(...args: any[]) => T; 12 function mixB<T extends Constructor<{}>>(Cls: T) { 19 function mixB2<T extends Constructor<A>>(Cls: T) { 29 function mixC<T extends Constructor<{}>>(Cls: T) { 72 function PersonMixin<T extends Constructor<Person>>(Base: T) {
|
H A D | doubleMixinConditionalTypeBaseClassWorks.js | 2 type Constructor = new (...args: any[]) => {}; 4 const Mixin1 = <C extends Constructor>(Base: C) => class extends Base { private _fooPrivate: {}; } 6 type FooConstructor = typeof Mixin1 extends (a: Constructor) => infer Cls ? Cls : never;
|
H A D | mixinIntersectionIsValidbaseType.js | 2 export type Constructor<T extends object = object> = new (...args: any[]) => T; 11 export const Serializable = <K extends Constructor<Initable> & Initable>( 22 const AMixin = <K extends Constructor<Initable> & Initable>(SuperClass: K) => {
|
H A D | mixinClassesAnonymous.js | 2 type Constructor<T> = new(...args: any[]) => T; 14 const Printable = <T extends Constructor<Base>>(superClass: T) => class extends superClass { 21 function Tagged<T extends Constructor<{}>>(superClass: T) { 61 const Timestamped = <CT extends Constructor<object>>(Base: CT) => {
|
H A D | declarationEmitLocalClassDeclarationMixin.js | 2 interface Constructor<C> { new (...args: any[]): C; } 4 function mixin<B extends Constructor<{}>>(Base: B) { 17 function Filter<C extends Constructor<{}>>(ctor: C) {
|
/third_party/node/deps/npm/node_modules/postcss-selector-parser/dist/selectors/ |
H A D | root.js | 9 function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
H A D | className.js | 11 function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
H A D | namespace.js | 10 function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
H A D | node.js | 7 function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
H A D | attribute.js | 13 function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
/third_party/skia/third_party/externals/tint/src/resolver/ |
H A D | var_let_test.cc | 78 EXPECT_EQ(Sem().Get(i)->Constructor(), nullptr); in TEST_F() 79 EXPECT_EQ(Sem().Get(u)->Constructor(), nullptr); in TEST_F() 80 EXPECT_EQ(Sem().Get(f)->Constructor(), nullptr); in TEST_F() 81 EXPECT_EQ(Sem().Get(b)->Constructor(), nullptr); in TEST_F() 82 EXPECT_EQ(Sem().Get(s)->Constructor(), nullptr); in TEST_F() 83 EXPECT_EQ(Sem().Get(a)->Constructor(), nullptr); in TEST_F() 142 EXPECT_EQ(Sem().Get(i)->Constructor()->Declaration(), i_c); in TEST_F() 143 EXPECT_EQ(Sem().Get(u)->Constructor()->Declaration(), u_c); in TEST_F() 144 EXPECT_EQ(Sem().Get(f)->Constructor()->Declaration(), f_c); in TEST_F() 145 EXPECT_EQ(Sem().Get(b)->Constructor() in TEST_F() [all...] |
/third_party/PyYAML/lib/yaml/ |
H A D | loader.py | 41 class Loader(Reader, Scanner, Parser, Composer, Constructor, Resolver): 48 Constructor.__init__(self) 55 class UnsafeLoader(Reader, Scanner, Parser, Composer, Constructor, Resolver): 62 Constructor.__init__(self)
|
/third_party/node/deps/v8/src/objects/ |
H A D | js-temporal-objects.h | 51 V8_WARN_UNUSED_RESULT static MaybeHandle<JSTemporalCalendar> Constructor( 123 V8_WARN_UNUSED_RESULT static MaybeHandle<JSTemporalDuration> Constructor( 156 V8_WARN_UNUSED_RESULT static MaybeHandle<JSTemporalInstant> Constructor( 190 V8_WARN_UNUSED_RESULT static MaybeHandle<JSTemporalPlainDate> Constructor( 231 V8_WARN_UNUSED_RESULT static MaybeHandle<JSTemporalPlainDateTime> Constructor( 274 V8_WARN_UNUSED_RESULT static MaybeHandle<JSTemporalPlainMonthDay> Constructor( 297 V8_WARN_UNUSED_RESULT static MaybeHandle<JSTemporalPlainTime> Constructor( 331 Constructor(Isolate* isolate, Handle<JSFunction> target, 359 V8_WARN_UNUSED_RESULT static MaybeHandle<JSTemporalTimeZone> Constructor( 393 V8_WARN_UNUSED_RESULT static MaybeHandle<JSTemporalZonedDateTime> Constructor( [all...] |
/third_party/node/deps/v8/src/compiler/ |
H A D | escape-analysis-reducer.h | 30 class Constructor { class in v8::internal::compiler::NodeHashCache 33 Constructor(NodeHashCache* cache, Node* from) in Constructor() function in v8::internal::compiler::NodeHashCache::Constructor 36 Constructor(NodeHashCache* cache, const Operator* op, int input_count, 51 // Obtain the mutated node or a cached copy. Invalidates the [Constructor].
|
H A D | escape-analysis-reducer.cc | 160 NodeHashCache::Constructor new_node(&node_cache_, node); in ReduceDeoptState() 176 NodeHashCache::Constructor new_node(&node_cache_, node); in ReduceDeoptState() 199 NodeHashCache::Constructor new_node( in ReduceDeoptState() 372 NodeHashCache::Constructor::Constructor(NodeHashCache* cache, in Constructor() function in v8::internal::compiler::NodeHashCache::Constructor 397 Node* NodeHashCache::Constructor::Get() { in Get() 416 Node* NodeHashCache::Constructor::MutableNode() { in MutableNode()
|
/third_party/node/deps/npm/node_modules/function-bind/test/ |
H A D | index.js | 87 var Constructor = functionBind.call(thunkify(expectedReturnValue), null); 88 var result = new Constructor(); 94 var Constructor = functionBind.call(thunkify(42), null); 95 var result = new Constructor();
|