UNPKG

harmonyc

Version:

Harmony Code - model-driven BDD for Vitest

17 lines (16 loc) 641 B
import { OutFile } from '../code_generator/outFile.ts'; export interface CompilerOptions { argumentPlaceholder: string | ((index: number) => string); } export interface CompiledFeature { name: string; code: Record<string, string>; } export declare function XYZAB(index: number): string; export declare function xyzab(index: number): string; export declare const DEFAULT_COMPILER_OPTIONS: CompilerOptions; export declare function compileFeature(fileName: string, src: string, opts?: Partial<CompilerOptions>): { outFile: OutFile; phraseMethods: import("../model/model.ts").PhraseMethod[]; featureClassName: string; };