Skip to main content

parse_expression

Function parse_expression 

Source
pub fn parse_expression(source: &str) -> Result<Expr, ParseError>
Expand description

Parse exactly one expression in workflow-editing context.

Process-only and loop-only expressions are accepted because a workflow graph field may belong to a node nested inside either construct. Callers remain responsible for validating that the parsed expression is compatible with the graph node kind that owns it.