epsilonWith<R> function Null safety

Parser<R> epsilonWith<R>(
  1. R result
)

Returns a parser that consumes nothing and succeeds with result.

Implementation

Parser<R> epsilonWith<R>(R result) => EpsilonParser<R>(result);