You are here

public function TokenizerTest::parse in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/masterminds/html5/test/HTML5/Parser/TokenizerTest.php \Masterminds\HTML5\Tests\Parser\TokenizerTest::parse()
13 calls to TokenizerTest::parse()
TokenizerTest::isAllGood in vendor/masterminds/html5/test/HTML5/Parser/TokenizerTest.php
Asserts that all of the tests are good.
TokenizerTest::testBogusComment in vendor/masterminds/html5/test/HTML5/Parser/TokenizerTest.php
TokenizerTest::testCharacterReference in vendor/masterminds/html5/test/HTML5/Parser/TokenizerTest.php
TokenizerTest::testComment in vendor/masterminds/html5/test/HTML5/Parser/TokenizerTest.php
TokenizerTest::testDoctype in vendor/masterminds/html5/test/HTML5/Parser/TokenizerTest.php

... See full list

File

vendor/masterminds/html5/test/HTML5/Parser/TokenizerTest.php, line 963

Class

TokenizerTest

Namespace

Masterminds\HTML5\Tests\Parser

Code

public function parse($string, $debug = false) {
  list($tok, $events) = $this
    ->createTokenizer($string, $debug);
  $tok
    ->parse();
  return $events;
}