Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/GAP/pkg/francy/js/packages/francy-core/src/decorator/   (Algebra von RWTH Aachen Version 4.15.1©)  Datei vom 17.3.2023 mit Größe 1 kB image not shown  

Quelle  factory.js   Sprache: JAVA

 
import DataDecorator from './data';
import ErrorDecorator from './error';
import HighlightDecorator from './highlight';
import InitializerDecorator from './initialize';
import LoaderDecorator from './loader';

/**
 * {Decorators} is a singleton and runs before everything else
 *
 * @example
 * // @Decorators.Data.requires('canvas.graph')
 * @example
 * // Decorators.Loader.withContext(this).show(); Decorators.Loader.withContext(this).hide();
 * @example
 * // Decorators.Jupyter.registerKeyboardEvents(['.francy', '.francy-arg', '.francy-overlay', '.francy-modal']);
 * @example
 * // Decorators.Highlight.syntax(JSON.stringify(this.data.canvas, null, 2));
 * @example
 * // @Decorators.Initializer.initialize();
 * @example
 * // Decorators.Error.wrap(function(){}).withContext(this).onErrorThrow(false).onErrorExec(function(){}).handle()
 *
 * @typedef {Object} Decorators
 * @property {DataDecorator} Data {Decorator} instance
 * @property {LoaderDecorator} Loader {Decorator} instance
 * @property {InitializerDecorator} Initializer {Decorator} instance
 * @property {ErrorDecorator} Error {Decorator} instance
 * @property {HighlightDecorator} Highlight {Decorator} instance
 * @public
 */

export const Decorators = {

  get Loader() {
    return new LoaderDecorator();
  },

  get Error() {
    return new ErrorDecorator();
  },

  Data: DataDecorator,

  Initializer: InitializerDecorator,

  Highlight: HighlightDecorator

};

Messung V0.5
C=82 H=98 G=90

¤ Dauer der Verarbeitung: 0.3 Sekunden  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.