Version: 0.3.1

ParseResult

output

public function output()

append

public function append(ParseResult $other) : ParseResult

map

Map a function over the output

public function map(callable $transform) : ParseResult

alternative

Return the first successful ParseResult if any, and otherwise return the first failing one.

public function alternative(ParseResult $other) : ParseResult

continueWith

public function continueWith(Parser $parser) : ParseResult