parse
parse(
source,config?):ParseResult
parse parses source text with the optional provided parser configuration.
Diagnostics accompany the AST rather than being thrown, matching the environment frontend and cel-go: a malformed expression is an expected result when the source comes from a user.
Parameters
Section titled “Parameters”source
Section titled “source”string
config?
Section titled “config?”ParserConfig = {}