mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-13 06:51:34 +00:00
Add CLI definitions; CLI restructure
This commit is contained in:
11
cli/transform.d.ts
vendored
Normal file
11
cli/transform.d.ts
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
/**
|
||||
* 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;
|
||||
}
|
Reference in New Issue
Block a user