Parser constructor

Parser({
  1. required List<Token> tokens,
  2. ErrorHandler? errorHandler,
})

Creates a pint° parser.

Implementation

Parser({
  required List<Token> tokens,
  ErrorHandler? errorHandler,
})  : _errorHandler = errorHandler,
      _tokens = tokens;