You are here

public function EventStack::depth in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/masterminds/html5/test/HTML5/Parser/EventStack.php \Masterminds\HTML5\Tests\Parser\EventStack::depth()

File

vendor/masterminds/html5/test/HTML5/Parser/EventStack.php, line 35

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\Parser

Code

public function depth() {
  return count($this->stack);
}