Skip to main content

compose

Function compose 

Source
pub fn compose<'i, Input, Error>(input: &mut Input) -> Result<ComposeRef, Error>
where Input: StreamIsPartial + Stream + Compare<&'i str>, <Input as Stream>::Slice: AsBStr, <Input as Stream>::Token: AsChar + Clone, Error: ParserError<Input>,
Expand description

Parse a complete :compose(target, @slot = path, ...) macro.

Assumes the :compose( prefix has already been consumed. Parses the target (path or slot reference), optional slot assignments, and the closing ).