meld-spec
Version:
Specification for the Meld scripting language
14 lines (13 loc) • 489 B
TypeScript
import { Parser, SpecTestResult, ParserTestCase } from '../types/parser';
/**
* Collection of all specification test cases
*/
export declare const specTests: Record<string, ParserTestCase[]>;
/**
* Run all specification tests against a parser implementation
*/
export declare function runSpecTests(parser: Parser): SpecTestResult;
/**
* Run specification tests for a specific directive
*/
export declare function runDirectiveTests(parser: Parser, directive: string): SpecTestResult;