interface ReplParserTestCase<QueryType extends BaseQueryFormat["type"]> {
    config?: object;
    expectedParse: ParsedQueryLine<QueryType>;
    label: string;
    line: readonly string[];
    parser: (
        output: ReplOutput,
        splitLine: readonly string[],
        config: FlowrConfigOptions,
    ) => ParsedQueryLine<QueryType>;
}

Type Parameters

Properties

config?: object
expectedParse: ParsedQueryLine<QueryType>
label: string
line: readonly string[]
parser: (
    output: ReplOutput,
    splitLine: readonly string[],
    config: FlowrConfigOptions,
) => ParsedQueryLine<QueryType>