Token<T> constructor

const Token<T>(
  1. T 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);