Module jpar::branch[][src]

Traits

Alternative

Helper trait for the [alternatives()] combinator.

Functions

alternative

Returns the first alternative that matches in order.

branch_if

Executes the condition parser and if it match, discards its value and parses then.

branch_if_else

Executes the condition parser. If it matches, discards its value and parses then, otherwise parses else.