public function EventStack::parseError in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/masterminds/html5/test/HTML5/Parser/EventStack.php \Masterminds\HTML5\Tests\Parser\EventStack::parseError()
Emitted when the parser encounters an error condition.
Overrides EventHandler::parseError
File
- vendor/
masterminds/ html5/ test/ HTML5/ Parser/ EventStack.php, line 105
Class
- EventStack
- This testing class gathers events from a parser and builds a stack of events. It is useful for checking the output of a tokenizer.
Namespace
Masterminds\HTML5\Tests\ParserCode
public function parseError($msg, $line, $col) {
// throw new EventStackParseError(sprintf("%s (line %d, col %d)", $msg, $line, $col));
// $this->store(sprintf("%s (line %d, col %d)", $msg, $line, $col));
$this
->store('error', func_get_args());
}