Skip to main content

section

Function section 

Source
fn section<'a>(input: &mut Input<'a>) -> PResult<'a, Section>
Expand description

Parses a single %SECTION% block and returns a Section variant.

ยงErrors

Returns an error if:

  • the section name is invalid or not recognized,
  • the section body contains malformed values,
  • or the section does not terminate properly.