Token constructor
Token(
- TokenType type,
- int offset, [
- CommentToken? precedingComment
Initialize a newly created token to have the given type
and offset
.
Implementation
factory Token(TokenType type, int offset, [CommentToken? precedingComment]) =
SimpleToken;