Function hcl_edit::parser::parse_expr

source ·
pub fn parse_expr(input: &str) -> Result<Expression, Error>
Expand description

Parse an input into an Expression.

Errors

Returns an error if the input does not resemble a valid HCL expression.