@ignore
protected function endState2($t) {
/* expecting a prop, getting a close */
if ($s = $this
->getParentS()) {
$hasClosingTag = isset($s['hasClosingTag']) && !$s['hasClosingTag'] ? 0 : 1;
$this
->popS();
$this->state = 5;
if ($s = $this
->getParentS()) {
/* new s */
if (!isset($s['p']) || !$s['p']) {
/* p close after collection|parseType=Resource|node close after p close */
$this->state = $this->sCount ? 4 : 1;
if (!$hasClosingTag) {
$this->state = 2;
}
}
elseif (!$hasClosingTag) {
$this->state = 2;
}
}
}
}