protected function validateTokens(bool $hasComments) : Result { if (isset(self::INVALID_TOKENS[$this->lexer->current->type])) { return new InvalidEmail(new ExpectingATEXT('Invalid token found'), $this->lexer->current->value); } return new ValidEmail(); }