parseAst()
ts
function parseAst(value): Ast;Defined in: parser.ts:16
Parses a string and returns its AST representation.
Parameters
| Parameter | Type | Description |
|---|---|---|
value | string | The string input to parse. |
Returns
The parsed AST.
Throws
If the input string cannot be parsed into a valid AST.
Since
1.0.0
Author
Simon Kovtyk