assemblyscript/cli/transform.d.ts

12 lines
333 B
TypeScript
Raw Normal View History

2018-05-28 18:55:51 +02:00
/**
* Definitions for custom compiler transforms that can be applied with the `--transform` option.
* @module cli/transform
*//***/
import { Parser } from "../src/parser";
export interface Transform {
/** Called when parsing is complete, before a program is instantiated from the AST. */
afterParse(parser: Parser): void;
}