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,28 @@
import { SemanticNode } from './semantic_node.js';
export declare class SemanticAnnotator {
domain: string;
name: string;
func: (p1: SemanticNode) => any;
active: boolean;
constructor(domain: string, name: string, func: (p1: SemanticNode) => any);
annotate(node: SemanticNode): void;
}
export declare class SemanticVisitor {
domain: string;
name: string;
func: (p1: SemanticNode, p2: {
[key: string]: any;
}) => any;
def: {
[key: string]: any;
};
active: boolean;
constructor(domain: string, name: string, func: (p1: SemanticNode, p2: {
[key: string]: any;
}) => any, def?: {
[key: string]: any;
});
visit(node: SemanticNode, info: {
[key: string]: any;
}): any;
}