Skip to content

Commit

Permalink
Remove default export in Engine module
Browse files Browse the repository at this point in the history
  • Loading branch information
zorkow committed Jan 10, 2024
1 parent 26119b5 commit 895f6d2
Show file tree
Hide file tree
Showing 28 changed files with 28 additions and 28 deletions.
2 changes: 1 addition & 1 deletion ts/audio/abstract_audio_renderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* @author [email protected] (Volker Sorge)
*/

import Engine from '../common/engine.js';
import { Engine } from '../common/engine.js';
import { KeyCode } from '../common/event_util.js';
import { AudioRenderer } from './audio_renderer.js';
import { AuditoryDescription } from './auditory_description.js';
Expand Down
2 changes: 1 addition & 1 deletion ts/audio/audio_util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

import { setdifference } from '../common/base_util.js';
import * as EngineConst from '../common/engine_const.js';
import Engine from '../common/engine.js';
import { Engine } from '../common/engine.js';
import { AuditoryDescription } from './auditory_description.js';
import { Span } from './span.js';

Expand Down
2 changes: 1 addition & 1 deletion ts/audio/aural_rendering.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
* @author [email protected] (Volker Sorge)
*/

import Engine from '../common/engine.js';
import { Engine } from '../common/engine.js';
import * as EngineConst from '../common/engine_const.js';
import { AcssRenderer } from './acss_renderer.js';
import { AudioRenderer } from './audio_renderer.js';
Expand Down
2 changes: 1 addition & 1 deletion ts/audio/layout_renderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
import { Debugger } from '../common/debugger.js';
import * as DomUtil from '../common/dom_util.js';
import * as EngineConst from '../common/engine_const.js';
import Engine from '../common/engine.js';
import { Engine } from '../common/engine.js';
import * as AudioUtil from './audio_util.js';
import { AuditoryDescription } from './auditory_description.js';
import { XmlRenderer } from './xml_renderer.js';
Expand Down
2 changes: 1 addition & 1 deletion ts/audio/ssml_renderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* @author [email protected] (Volker Sorge)
*/

import Engine from '../common/engine.js';
import { Engine } from '../common/engine.js';
import * as EngineConst from '../common/engine_const.js';
import { Pause } from './audio_util.js';
import { AuditoryDescription } from './auditory_description.js';
Expand Down
2 changes: 1 addition & 1 deletion ts/audio/string_renderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* @author [email protected] (Volker Sorge)
*/

import Engine from '../common/engine.js';
import { Engine } from '../common/engine.js';
import { AbstractAudioRenderer } from './abstract_audio_renderer.js';
import { personalityMarkup } from './audio_util.js';
import { AuditoryDescription } from './auditory_description.js';
Expand Down
2 changes: 1 addition & 1 deletion ts/common/dom_util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
* @author [email protected] (Volker Sorge)
*/

import Engine, { SREError } from './engine.js';
import { Engine, SREError } from './engine.js';
import * as EngineConst from '../common/engine_const.js';
import SystemExternal from './system_external.js';
import * as XpathUtil from './xpath_util.js';
Expand Down
2 changes: 1 addition & 1 deletion ts/common/engine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export class SREError extends Error {
* Initializes the basic Speech engine and contains some global context.
*
*/
export default class Engine {
export class Engine {
/**
* Binary feature vector.
*/
Expand Down
2 changes: 1 addition & 1 deletion ts/common/engine_setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import * as L10n from '../l10n/l10n.js';
import * as MathMap from '../speech_rules/math_map.js';
import * as BrowserUtil from './browser_util.js';
import { Debugger } from './debugger.js';
import Engine, { EnginePromise } from './engine.js';
import { Engine, EnginePromise } from './engine.js';
import * as FileUtil from './file_util.js';
import SystemExternal from './system_external.js';

Expand Down
2 changes: 1 addition & 1 deletion ts/common/processor_factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import * as SpeechGeneratorUtil from '../speech_generator/speech_generator_util.
import * as WalkerFactory from '../walker/walker_factory.js';
import * as WalkerUtil from '../walker/walker_util.js';
import * as DomUtil from './dom_util.js';
import Engine, { SREError } from './engine.js';
import { Engine, SREError } from './engine.js';
import * as EngineConst from '../common/engine_const.js';
import { KeyCode } from './event_util.js';
import { Processor, KeyProcessor } from './processor.js';
Expand Down
2 changes: 1 addition & 1 deletion ts/common/system.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

import { AuditoryDescription } from '../audio/auditory_description.js';

import Engine, { EnginePromise, SREError } from './engine.js';
import { Engine, EnginePromise, SREError } from './engine.js';
import { setup } from './engine_setup.js';
import * as EngineConst from './engine_const.js';
import { KeyCode } from './event_util.js';
Expand Down
2 changes: 1 addition & 1 deletion ts/common/xpath_util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
* @author [email protected] (Volker Sorge)
*/

import Engine from './engine.js';
import { Engine } from './engine.js';
import * as EngineConst from '../common/engine_const.js';
import SystemExternal from './system_external.js';

Expand Down
2 changes: 1 addition & 1 deletion ts/enrich_mathml/enrich_mathml.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

import { Debugger } from '../common/debugger.js';
import * as DomUtil from '../common/dom_util.js';
import Engine from '../common/engine.js';
import { Engine } from '../common/engine.js';
import { NamedSymbol } from '../semantic_tree/semantic_attr.js';
import {
SemanticRole,
Expand Down
2 changes: 1 addition & 1 deletion ts/l10n/l10n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* @author [email protected] (Volker Sorge)
*/

import Engine from '../common/engine.js';
import { Engine } from '../common/engine.js';
import { Variables } from '../common/variables.js';
import { Grammar } from '../rule_engine/grammar.js';

Expand Down
2 changes: 1 addition & 1 deletion ts/l10n/numbers/numbers_fr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
// This work was sponsored by TextHelp
//

import Engine from '../../common/engine.js';
import { Engine } from '../../common/engine.js';
import { Grammar } from '../../rule_engine/grammar.js';
import { Numbers, NUMBERS as NUMB } from '../messages.js';

Expand Down
2 changes: 1 addition & 1 deletion ts/l10n/numbers/numbers_nn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* @author [email protected] (Volker Sorge)
*/

import Engine from '../../common/engine.js';
import { Engine } from '../../common/engine.js';
import { Numbers, NUMBERS as NUMB } from '../messages.js';

/**
Expand Down
2 changes: 1 addition & 1 deletion ts/rule_engine/grammar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*/

import * as DomUtil from '../common/dom_util.js';
import Engine from '../common/engine.js';
import { Engine } from '../common/engine.js';
import * as LocaleUtil from '../l10n/locale_util.js';
import { LOCALE } from '../l10n/locale.js';
import { DynamicCstr } from './dynamic_cstr.js';
Expand Down
2 changes: 1 addition & 1 deletion ts/rule_engine/math_compound_store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
* @author [email protected] (Volker Sorge)
*/

import Engine from '../common/engine.js';
import { Engine } from '../common/engine.js';
import { locales } from '../l10n/l10n.js';
import { addFunctionSemantic } from '../semantic_tree/semantic_attr.js';
import {
Expand Down
2 changes: 1 addition & 1 deletion ts/rule_engine/math_simple_store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
* @author [email protected] (Volker Sorge)
*/

import Engine from '../common/engine.js';
import { Engine } from '../common/engine.js';
import { Axis, DynamicCstr } from './dynamic_cstr.js';

export interface MappingsJson {
Expand Down
2 changes: 1 addition & 1 deletion ts/rule_engine/speech_rule_engine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import { AuditoryDescription, AuditoryList } from '../audio/auditory_description
import { Span } from '../audio/span.js';
import { Debugger } from '../common/debugger.js';
import * as DomUtil from '../common/dom_util.js';
import Engine from '../common/engine.js';
import { Engine } from '../common/engine.js';
import * as EngineConst from '../common/engine_const.js';
import { evalXPath, updateEvaluator } from '../common/xpath_util.js';
import { ClearspeakPreferences } from '../speech_rules/clearspeak_preferences.js';
Expand Down
2 changes: 1 addition & 1 deletion ts/rule_engine/store_util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
*/
import { AuditoryDescription } from '../audio/auditory_description.js';
import * as XpathUtil from '../common/xpath_util.js';
import Engine from '../common/engine.js';
import { Engine } from '../common/engine.js';

/**
* Count list of nodes and concatenate this with the context string.
Expand Down
2 changes: 1 addition & 1 deletion ts/semantic_tree/semantic_heuristics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
*/

import { Debugger } from '../common/debugger.js';
import Engine from '../common/engine.js';
import { Engine } from '../common/engine.js';
import { NamedSymbol } from './semantic_attr.js';
import { SemanticHeuristics } from './semantic_heuristic_factory.js';
import {
Expand Down
2 changes: 1 addition & 1 deletion ts/semantic_tree/semantic_skeleton.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
*/

import * as BaseUtil from '../common/base_util.js';
import Engine from '../common/engine.js';
import { Engine } from '../common/engine.js';

import * as XpathUtil from '../common/xpath_util.js';
import { Attribute as EnrichAttribute } from '../enrich_mathml/enrich_attr.js';
Expand Down
2 changes: 1 addition & 1 deletion ts/speech_rules/alphabet_generator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
*/

import * as Alphabet from './alphabet.js';
import Engine from '../common/engine.js';
import { Engine } from '../common/engine.js';
import * as L10n from '../l10n/l10n.js';
import { LOCALE } from '../l10n/locale.js';
import { localeFontCombiner } from '../l10n/locale_util.js';
Expand Down
2 changes: 1 addition & 1 deletion ts/speech_rules/clearspeak_preferences.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* @author [email protected] (Volker Sorge)
*/

import Engine from '../common/engine.js';
import { Engine } from '../common/engine.js';
import * as EngineConst from '../common/engine_const.js';
import { DynamicCstr } from '../rule_engine/dynamic_cstr.js';
import {
Expand Down
2 changes: 1 addition & 1 deletion ts/speech_rules/clearspeak_util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

import { Span } from '../audio/span.js';
import * as DomUtil from '../common/dom_util.js';
import Engine from '../common/engine.js';
import { Engine } from '../common/engine.js';
import * as XpathUtil from '../common/xpath_util.js';
import { LOCALE } from '../l10n/locale.js';
import { vulgarFractionSmall } from '../l10n/transformers.js';
Expand Down
2 changes: 1 addition & 1 deletion ts/speech_rules/math_map.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
*/

import * as BrowserUtil from '../common/browser_util.js';
import Engine, { EnginePromise } from '../common/engine.js';
import { Engine, EnginePromise } from '../common/engine.js';
import * as EngineConst from '../common/engine_const.js';
import * as FileUtil from '../common/file_util.js';
import SystemExternal from '../common/system_external.js';
Expand Down
2 changes: 1 addition & 1 deletion ts/speech_rules/nemeth_util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import { Span } from '../audio/span.js';
import * as DomUtil from '../common/dom_util.js';
import * as XpathUtil from '../common/xpath_util.js';
import { Grammar, correctFont } from '../rule_engine/grammar.js';
import Engine from '../common/engine.js';
import { Engine } from '../common/engine.js';
import { register, activate } from '../semantic_tree/semantic_annotations.js';
import { SemanticVisitor } from '../semantic_tree/semantic_annotator.js';
import {
Expand Down

0 comments on commit 895f6d2

Please sign in to comment.