Skip to content

checkedExprToAstWithSource

checkedExprToAstWithSource(checkedExpr, source?): AST

checkedExprToAstWithSource converts a checked-expression protobuf message to an AST using the provided source as the textual contents.

In general the source is not necessary unless the AST has been modified between the parse and check calls, as an AST created from the parse step carries the source through future calls.

Prefer checkedExprToAst when loading expressions from storage.

CheckedExpr

Source

AST