Unparser
Unparser reconstructs human-readable CEL source text from an expression tree.
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new Unparser(
config?):Unparser
Creates an unparser using validated formatting options.
Parameters
Section titled “Parameters”config?
Section titled “config?”UnparserConfig = {}
Returns
Section titled “Returns”Unparser
Methods
Section titled “Methods”unparse()
Section titled “unparse()”unparse(
input,info?):string
Unparses an AST or expression into CEL source text.
Parameters
Section titled “Parameters”Expr | Expr | AST
SourceInfo
Returns
Section titled “Returns”string