CommonMark\Interfaces\IVisitor::enter

Visitation

&reftitle.description; abstract public ``int``IVisitable``null```CommonMark\Interfaces\IVisitor::enter` `IVisitable` `visitable`
&reftitle.parameters;

`visitable`

- The current `CommonMark\Interfaces\IVisitable` being entered

&reftitle.returnvalues;

Returning `CommonMark\Interfaces\IVisitor::Done` will cause the backing iterator to exit.

Returning `CommonMark\Interfaces\IVisitor::Enter` will reset the backing iterator at entering the current `IVisitable`

Returning `CommonMark\Interfaces\IVisitor::Leave` will reset the backing iterator at exiting the current `IVisitable`

Returning an `IVisitable` will reset the backing iterator at entering the given `IVisitable`

Returning nothing will allow the backing iterator to continue

&reftitle.seealso;

- commonmark-interfaces-ivisitable.accept