Skip to content

parsedExprToAstWithSource

parsedExprToAstWithSource(parsedExpr, source?): AST

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

In general this is only needed to recheck a previously checked expression or to separately check a subset of an expression.

Prefer parsedExprToAst when loading expressions from storage.

ParsedExpr

Source

AST