UNPKG

vscode-tmgrammar-test

Version:
7 lines (6 loc) 413 B
import * as tm from 'vscode-textmate'; import { GrammarTestCase, TestFailure } from './model'; import { parseGrammarTestCase } from './parsing'; export { parseGrammarTestCase, GrammarTestCase, TestFailure, missingScopes_ }; export declare function runGrammarTestCase(registry: tm.Registry, testCase: GrammarTestCase): Promise<TestFailure[]>; declare function missingScopes_(rs: string[], as: string[]): string[];