Token.synthesized constructor

Token.synthesized(
  1. String lexeme, {
  2. TokenType? type,
})

Implementation

Token.synthesized(this.lexeme, {TokenType? type})
  : type = type ?? TokenType.kRaw,
    pos = StreamPos.synthesized;