hcl_edit::parser

Function parse_body

Source
pub fn parse_body(input: &str) -> Result<Body, Error>
Expand description

Parse an input into a Body.

ยงErrors

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