public function __construct(string $value, TokenType $type) { $this->value = $value; $this->type = $type; }