Token constructor

Token({
  1. required String lexeme,
  2. required int line,
  3. required int column,
  4. required int offset,
  5. bool isKeyword = false,
  6. Token? previous,
  7. Token? next,
})

Implementation

Token({
  required this.lexeme,
  required this.line,
  required this.column,
  required this.offset,
  this.isKeyword = false,
  this.previous,
  this.next,
});