Abstract CommonMark\Node

(cmark >= 1.0.0)

Introduction

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

Class synopsis

final abstract CommonMark\Node implements CommonMark\Interfaces\IVisitable , Traversable {
/* Properties */
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 ;
/* Methods */
public appendChild ( CommonMark\Node $child ) : CommonMark\Node
public prependChild ( CommonMark\Node $child ) : CommonMark\Node
public insertAfter ( CommonMark\Node $sibling ) : CommonMark\Node
public insertBefore ( CommonMark\Node $sibling ) : CommonMark\Node
public replace ( CommonMark\Node $target ) : CommonMark\Node
public unlink ( void ) : void
public accept ( CommonMark\Interfaces\IVisitor $visitor ) : void
}

Table of Contents