Token constructor

Token(
  1. TokenType type,
  2. String text, [
  3. FileSpan? span
])

Implementation

Token(this.type, this.text, [this.span]);