Module jpar::combinator[][src]

Functions

all_consumed

Succeeds if all the input has been consumed by its child parser.

end

It is ok only at the end of the input.

not

Returns the default value of R when the the parser is not found.

not_consume

Executes the parser and returns its value not consuming any character in the process.

optional

Returns None when the the parser is not found.

optional_default

Returns the default value of R when the the parser is not found.

verify

Returns the result of the child parser if it satisfies a verification function.