forward method

Parser<T> forward(
  1. int amount
)

Skips forward a certain amount of steps after parsing, if it was successful.

Implementation

Parser<T> forward(int amount) => new _Advance<T>(this, amount);