mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-04-25 23:12:19 +00:00
12 lines
333 B
TypeScript
12 lines
333 B
TypeScript
/**
|
|
* 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;
|
|
}
|