Token constructor
const
Token({
- required TokenType tokenType,
- required String lexeme,
- required CursorLocation start,
- required CursorLocation end,
- Object? literal,
Implementation
const Token({
required this.tokenType,
required this.lexeme,
required this.start,
required this.end,
this.literal,
});