Browse Source

Stub of adoption agency

ns
J. King 3 years ago
parent
commit
9c3764da65
  1. 10
      lib/TreeBuilder.php

10
lib/TreeBuilder.php

@ -1384,6 +1384,16 @@ class TreeBuilder {
return true;
}
protected function adopt(TagToken $token): void {
# The adoption agency algorithm, which takes as its only argument a
# token 'token' for which the algorithm is being run, consists of
# the following steps:
// STUB
assert(false, new \Exception("Adoption agency not implemented yet"));
}
protected function parseTokenInForeignContent(Token $token): bool {
$currentNode = $this->stack->currentNode;
$currentNodeName = $this->stack->currentNodeName;

Loading…
Cancel
Save