UNPKG

llparse

Version:

Compile incremental parsers to C code

9 lines (8 loc) 312 B
import * as frontend from 'llparse-frontend'; import { Compilation } from '../compilation'; export declare abstract class Code<T extends frontend.code.Code> { readonly ref: T; protected cachedDecl: string | undefined; constructor(ref: T); abstract build(ctx: Compilation, out: string[]): void; }