Home
last modified time | relevance | path

Searched refs:mixin (Results 1 – 25 of 78) sorted by relevance

1234

/third_party/typescript/tests/baselines/reference/
DdeclarationEmitLocalClassDeclarationMixin.types5 function mixin<B extends Constructor<{}>>(Base: B) {
6 >mixin : <B extends Constructor<{}>>(Base: B) => { new (...args: any[]): PrivateMixed; prototype: m…
18 >PrivateMixed : { new (...args: any[]): PrivateMixed; prototype: mixin<any>.PrivateMixed; } & B
29 export const Mixed = mixin(Unmixed);
30 >Mixed : { new (...args: any[]): mixin<typeof Unmixed>.PrivateMixed; prototype: mixin<any>.PrivateM…
31 >mixin(Unmixed) : { new (...args: any[]): mixin<typeof Unmixed>.PrivateMixed; prototype: mixin<any>…
32 >mixin : <B extends Constructor<{}>>(Base: B) => { new (...args: any[]): PrivateMixed; prototype: m…
DdeclarationEmitMixinPrivateProtected.types2 declare function mix<TMix>(mixin: TMix): TMix;
3 >mix : <TMix>(mixin: TMix) => TMix
4 >mixin : TMix
27 >mix : <TMix>(mixin: TMix) => TMix
33 >mix : <TMix>(mixin: TMix) => TMix
42 declare function mix<TMix>(mixin: TMix): TMix;
43 >mix : <TMix>(mixin: TMix) => TMix
44 >mixin : TMix
66 >mix : <TMix>(mixin: TMix) => TMix
DjsdocOuterTypeParameters1.types3 const dedupingMixin = function(mixin) {};
4 >dedupingMixin : (mixin: any) => T
5 >function(mixin) {} : (mixin: any) => T
6 >mixin : any
12 >dedupingMixin : (mixin: any) => T
DjsdocOuterTypeParameters2.types3 const dedupingMixin = function(mixin) {};
4 >dedupingMixin : (mixin: any) => T
5 >function(mixin) {} : (mixin: any) => T
6 >mixin : any
12 >dedupingMixin : (mixin: any) => T
DdeclarationsForFileShadowingGlobalNoError.js13 export const mixin = (Base: Constructor) => { function
43 exports.mixin = void 0;
44 var mixin = function (Base) {
54 exports.mixin = mixin;
64 export declare const mixin: (Base: Constructor) => {
DdeclarationEmitMixinPrivateProtected.symbols2 declare function mix<TMix>(mixin: TMix): TMix;
5 >mixin : Symbol(mixin, Decl(first.ts, 0, 27))
41 declare function mix<TMix>(mixin: TMix): TMix;
44 >mixin : Symbol(mixin, Decl(another.ts, 0, 27))
DdeclarationEmitLocalClassDeclarationMixin.symbols8 function mixin<B extends Constructor<{}>>(Base: B) {
9 >mixin : Symbol(mixin, Decl(declarationEmitLocalClassDeclarationMixin.ts, 0, 53))
33 export const Mixed = mixin(Unmixed);
35 >mixin : Symbol(mixin, Decl(declarationEmitLocalClassDeclarationMixin.ts, 0, 53))
DdeclarationEmitLocalClassDeclarationMixin.js4 function mixin<B extends Constructor<{}>>(Base: B) {
15 export const Mixed = mixin(Unmixed);
52 function mixin(Base) { function
71 exports.Mixed = mixin(Unmixed);
DjsdocOuterTypeParameters2.symbols3 const dedupingMixin = function(mixin) {};
5 >mixin : Symbol(mixin, Decl(jsdocOuterTypeParameters1.js, 1, 31))
DjsdocOuterTypeParameters1.symbols3 const dedupingMixin = function(mixin) {};
5 >mixin : Symbol(mixin, Decl(jsdocOuterTypeParameters1.js, 1, 31))
DdeclarationsForFileShadowingGlobalNoError.symbols21 export const mixin = (Base: Constructor) => {
22 >mixin : Symbol(mixin, Decl(index.ts, 5, 12))
DmixinAbstractClasses.2.errors.txt1 tests/cases/conformance/classes/mixinAbstractClasses.2.ts(7,11): error TS2797: A mixin class that e…
12 …// error expected: A mixin class that extends from a type variable containing an abstract construc…
15 !!! error TS2797: A mixin class that extends from a type variable containing an abstract construct …
DdeclarationsForFileShadowingGlobalNoError.types20 export const mixin = (Base: Constructor) => {
21 >mixin : (Base: Constructor) => typeof (Anonymous class)
DdeclarationEmitMixinPrivateProtected.js4 declare function mix<TMix>(mixin: TMix): TMix;
22 declare function mix<TMix>(mixin: TMix): TMix;
DbaseConstraintOfDecorator.errors.txt4 tests/cases/compiler/baseConstraintOfDecorator.ts(12,18): error TS2545: A mixin class must have a c…
32 !!! error TS2545: A mixin class must have a constructor with a single rest parameter of type 'any[]…
/third_party/node/deps/npm/node_modules/@isaacs/cliui/build/lib/
Dindex.js54 if (columns.length > 1 && mixin.stringWidth(columns[0]) > leftColumnWidth) {
55 … leftColumnWidth = Math.min(Math.floor(this.width * 0.5), mixin.stringWidth(columns[0]));
80 const noAnsi = mixin.stripAnsi(str);
102 if (wrapWidth > mixin.stringWidth(col)) {
103 ts += ' '.repeat(wrapWidth - mixin.stringWidth(col));
109 if (mixin.stringWidth(ts) < wrapWidth) {
113 ts += ' '.repeat(w - mixin.stringWidth(ts) - 1);
149 const targetTextWidth = mixin.stringWidth(target.trimEnd());
175 wrapped = mixin.wrap(col.text, this.negatePadding(col), { hard: true }).split('\n');
219 return col.width || mixin.stringWidth(col.text);
[all …]
/third_party/jsframework/runtime/main/reactivity/
Dstate.js46 options['mixins'].forEach(mixin => {
47 if(typeof mixin == 'object') {
48 Object.keys(mixin).forEach(key => {
49 vm[key] = mixin[key]
52 else if (typeof mixin == 'function') {
53 vm[mixin.name] = mixin.bind(vm)
/third_party/node/deps/npm/node_modules/@isaacs/cliui/build/
Dindex.cjs55 if (columns.length > 1 && mixin.stringWidth(columns[0]) > leftColumnWidth) {
56 … leftColumnWidth = Math.min(Math.floor(this.width * 0.5), mixin.stringWidth(columns[0]));
81 const noAnsi = mixin.stripAnsi(str);
103 if (wrapWidth > mixin.stringWidth(col)) {
104 ts += ' '.repeat(wrapWidth - mixin.stringWidth(col));
110 if (mixin.stringWidth(ts) < wrapWidth) {
114 ts += ' '.repeat(w - mixin.stringWidth(ts) - 1);
150 const targetTextWidth = mixin.stringWidth(target.trimEnd());
176 wrapped = mixin.wrap(col.text, this.negatePadding(col), { hard: true }).split('\n');
220 return col.width || mixin.stringWidth(col.text);
[all …]
/third_party/skia/third_party/externals/angle2/infra/specs/
Dgenerate_test_spec_json.py129 for mixin in seen_mixins:
130 if mixin in found_mixins:
132 assert (mixin in chromium_generator.mixins)
133 found_mixins[mixin] = chromium_generator.mixins[mixin]
/third_party/typescript/src/testRunner/parallel/
Dworker.ts30 … function mixin<T extends new (...args: any[]) => any>(base: T, ...mixins: ((klass: T) => T)[]) {
31 for (const mixin of mixins) { constant
32 base = mixin(base);
74 class Suite extends mixin(Mocha.Suite, Clone) {
85 class Hook extends mixin(Mocha.Hook, Timeout) {
91 class Test extends mixin(Mocha.Test, Timeout, Clone) {
/third_party/typescript/tests/cases/compiler/
DdeclarationEmitMixinPrivateProtected.ts3 declare function mix<TMix>(mixin: TMix): TMix;
21 declare function mix<TMix>(mixin: TMix): TMix;
DdeclarationEmitLocalClassDeclarationMixin.ts4 function mixin<B extends Constructor<{}>>(Base: B) { function
15 export const Mixed = mixin(Unmixed);
/third_party/node/test/fixtures/wpt/interfaces/
Dhtml.idl99 partial interface mixin DocumentOrShadowRoot {
138 interface mixin HTMLOrSVGElement {
365 interface mixin HTMLHyperlinkElementUtils {
1305 interface mixin CanvasState {
1312 interface mixin CanvasTransform {
1326 interface mixin CanvasCompositing {
1332 interface mixin CanvasImageSmoothing {
1339 interface mixin CanvasFillStrokeStyles {
1350 interface mixin CanvasShadowStyles {
1358 interface mixin CanvasFilters {
[all …]
Dencoding.idl6 interface mixin TextDecoderCommon {
29 interface mixin TextEncoderCommon {
/third_party/python/Doc/library/
Dcollections.abc.rst32 methods. The remaining mixin methods come from inheritance and can be
41 def count(self, value): ... # Optionally override a mixin method
52 including all of the abstract methods and all of the mixin methods.
262 Implementation note: Some of the mixin methods, such as
266 access speed, the mixin methods will have linear performance;
388 Notes on using :class:`Set` and :class:`MutableSet` as a mixin:
391 Since some set operations create new sets, the default mixin methods need
396 If the :class:`Set` mixin is being used in a class with a different
407 The :class:`Set` mixin provides a :meth:`_hash` method to compute a hash value

1234