Token constructor

Token(
  1. TokenType type,
  2. String lexeme,
  3. Object? literal,
  4. int line, {
  5. String sourceFile = '',
})

Implementation

Token(this.type, this.lexeme, this.literal, this.line,
    {this.sourceFile = ''});