CodeExplorer NoLocalPart example
$result = parent::
parse($str);
$this->
addLongEmailWarning($this->idLeft,
$this->idRight
);
return $result;
} protected function preLeftParsing(): Result
{ if (!
$this->
hasAtToken()) { return new InvalidEmail(new NoLocalPart(),
$this->lexer->current->value
);
} return new ValidEmail();
} protected function parseLeftFromAt(): Result
{ return $this->
processIDLeft();
} protected function parseRightFromAt(): Result
{ $result = parent::
parse($str);
$this->
addLongEmailWarning($this->localPart,
$this->domainPart
);
return $result;
} protected function preLeftParsing(): Result
{ if (!
$this->
hasAtToken()) { return new InvalidEmail(new NoLocalPart(),
$this->lexer->current->value
);
} return new ValidEmail();
} protected function parseLeftFromAt(): Result
{ return $this->
processLocalPart();
} protected function parseRightFromAt(): Result
{