UNPKG

speech-rule-engine

Version:

A standalone speech rule engine for XML structures, based on the original engine from ChromeVox.

12 lines (11 loc) 500 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.DirectSpeechGenerator = void 0; const WalkerUtil = require("../walker/walker_util.js"); const abstract_speech_generator_js_1 = require("./abstract_speech_generator.js"); class DirectSpeechGenerator extends abstract_speech_generator_js_1.AbstractSpeechGenerator { getSpeech(node, _xml) { return WalkerUtil.getAttribute(node, this.modality); } } exports.DirectSpeechGenerator = DirectSpeechGenerator;