Token constructor

const Token(
  1. TokenKind kind,
  2. String value,
  3. int line,
  4. int column,
)

Creates a token.

Implementation

const Token(this.kind, this.value, this.line, this.column);