llparse
Version:
Compile incremental parsers to C code
12 lines (9 loc) • 302 B
text/typescript
import * as frontend from 'llparse-frontend';
import { Compilation } from '../compilation';
import { Transform } from './base';
export class ID extends Transform<frontend.transform.ID> {
public build(ctx: Compilation, value: string): string {
// Identity transformation
return value;
}
}