« CommonMark\Node::accept CommonMark\Interfaces\IVisitor::enter » PHP Manual CommonMark The CommonMark\Interfaces\IVisitor interface The CommonMark\Interfaces\IVisitor interface (cmark >= 1.0.0) 简介 类摘要 final CommonMark\Interfaces\IVisitor { /* Constants */ const integer Done ; const integer Enter ; const integer Leave ; /* 方法 */ abstract public enter ( IVisitable $visitable ) : ?int|IVisitable abstract public leave ( IVisitable $visitable ) : ?int|IVisitable } Table of Contents CommonMark\Interfaces\IVisitor::enter — Visitation CommonMark\Interfaces\IVisitor::leave — Visitation