pub fn expression<'a, I>(input: I) -> IResult<I, Expression<I>, Error<I>>
Expand description
Parses an expression
as defined in the grammar spec.
§Grammar
expression = single-expression*
§Example
text(opt)/text
(opt)
{string}
text
NOTE: Empty string is matched too.
§Errors
§Irrecoverable Failure
Any Failure
of alternation()
, optional()
or parameter()
.