mirror of
https://github.com/duhanbalci/dexpr.git
synced 2026-08-30 16:01:41 +00:00
initial commit
This commit is contained in:
+15
@@ -0,0 +1,15 @@
|
||||
import { Tree, Parser, NodeType } from '@lezer/common';
|
||||
|
||||
declare function defaultIgnore(type: NodeType): boolean;
|
||||
declare function testTree(tree: Tree, expect: string, mayIgnore?: typeof defaultIgnore): void;
|
||||
declare function fileTests(file: string, fileName: string, mayIgnore?: typeof defaultIgnore): {
|
||||
name: string;
|
||||
text: string;
|
||||
expected: string;
|
||||
configStr: string;
|
||||
config: object;
|
||||
strict: boolean;
|
||||
run(parser: Parser): void;
|
||||
}[];
|
||||
|
||||
export { fileTests, testTree };
|
||||
Reference in New Issue
Block a user