isNullable method

bool isNullable(
  1. Parser parser
)

Returns true if parser is transitively nullable, that is it can successfully parse nothing.

Implementation

bool isNullable(Parser parser) => _firstSets[parser]!.contains(sentinel);