Token<R> constructor

const Token<R>(
  1. R value,
  2. String buffer,
  3. int start,
  4. int stop,
)

Constructs a token from the parsed value, the input buffer, and the start and stop position in the input buffer.

Implementation

const Token(this.value, this.buffer, this.start, this.stop);