1
0

add initial marp implementation with sample content and build configuration

This commit is contained in:
2025-09-13 18:13:22 +02:00
parent dcacc9b409
commit e5f219507f
10319 changed files with 1402023 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
import { Span, SpanAttrs } from '../audio/span.js';
import * as srf from './speech_rule_functions.js';
export declare class SpeechRuleContext {
customQueries: srf.CustomQueries;
customStrings: srf.CustomStrings;
contextFunctions: srf.ContextFunctions;
customGenerators: srf.CustomGenerators;
applyCustomQuery(node: Element, funcName: string): Element[];
applySelector(node: Element, expr: string): Element[];
applyQuery(node: Element, expr: string): Element;
applyConstraint(node: Element, expr: string): boolean;
constructString(node: Element, expr: string): string;
constructSpan(node: Element, expr: string, def: SpanAttrs): Span[];
private constructString_;
parse(functions: [string, srf.SpeechRuleFunction][] | {
[key: string]: srf.SpeechRuleFunction;
}): void;
}