Quick & dirty support for code gen. Less cumberson than e.g. TS compiler AST
Protected
Access the file
Access the (required) parent
Add entries. Each entry will be serialized using toString()
Rest
Optional
Add a statement or expression that will be automatically delimited
Add a blank line
Add a builder-style block
Add a TsDoc style comment
Add a comma-delimited block
Execute logic with block configured for specific insertion point
This is just a helper for guarding against duplicate definitions
Add raw text
Delete from parent
Add a save point that allows for out-of-order insertion
Add a block with separate statements terminated by ";"
Remove a name from the defined pool. This is necessary when e.g. defining a type and object with the same name.
Add an atom or block that recreates the input value
Quick & dirty support for code gen. Less cumberson than e.g. TS compiler AST