CodeExplorer LocalComment example
private function parseDoubleQuote(): Result
{ $dquoteParser =
new DoubleQuote($this->lexer
);
$parseAgain =
$dquoteParser->
parse();
$this->warnings =
array_merge($this->warnings,
$dquoteParser->
getWarnings());
return $parseAgain;
} protected function parseComments(): Result
{ $commentParser =
new Comment($this->lexer,
new LocalComment());
$result =
$commentParser->
parse();
$this->warnings =
array_merge($this->warnings,
$commentParser->
getWarnings());
if ($result->
isInvalid()) { return $result;
} return $result;
} private function validateEscaping(): Result
{ //Backslash found