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,25 @@
import { SpeechRule } from '../rule_engine/speech_rule.js';
import { TrieNode, TrieNodeKind } from './trie_node.js';
export declare class AbstractTrieNode<T> implements TrieNode {
constraint: string;
test: ((p1: T) => boolean) | null;
kind: TrieNodeKind;
private children_;
constructor(constraint: string, test: ((p1: T) => boolean) | null);
getConstraint(): string;
getKind(): TrieNodeKind;
applyTest(object: T): boolean;
addChild(node: TrieNode): TrieNode;
getChild(constraint: string): TrieNode;
getChildren(): TrieNode[];
findChildren(object: T): TrieNode[];
removeChild(constraint: string): void;
toString(): string;
}
export declare class StaticTrieNode extends AbstractTrieNode<Node> {
private rule_;
constructor(constraint: string, test: ((p1: Element) => boolean) | null);
getRule(): SpeechRule | null;
setRule(rule: SpeechRule): void;
toString(): string;
}