CommonMark
PHP Manual

Abstract CommonMark\Node

(cmark >= 1.0.0)

简介

Represents an Abstract Node, this final abstract is not for direct use by the programmer.

类摘要

final abstract CommonMark\Node implements CommonMark\Interfaces\IVisitable , Traversable {
/* 属性 */
public readonly ?Node $parent ;
public readonly ?Node $previous ;
public readonly ?Node $next ;
public readonly ?Node $lastChild ;
public readonly ?Node $firstChild ;
public readonly int $startLine ;
public readonly int $endLine ;
public readonly int $startColumn ;
public readonly int $endColumn ;
/* 方法 */
public CommonMark\Node appendChild ( CommonMark\Node $child )
public CommonMark\Node prependChild ( CommonMark\Node $child )
public CommonMark\Node insertAfter ( CommonMark\Node $sibling )
public CommonMark\Node insertBefore ( CommonMark\Node $sibling )
public CommonMark\Node replace ( CommonMark\Node $target )
public void unlink ( void )
public void accept ( CommonMark\Interfaces\IVisitor $visitor )
}

Table of Contents


CommonMark
PHP Manual