feat: add language parser base interface

This commit is contained in:
2001-01-01 00:00:00 +00:00
parent 4286c94023
commit 85f5b41a0c

View File

@@ -0,0 +1,6 @@
import type { FileNode } from "@codeboard/shared";
export interface LanguageParser {
extensions: string[];
parse(content: string, filePath: string): FileNode;
}