Abstract CommonMark\Node

Introduction

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

Class synopsis

CommonMark\Node
final abstract class CommonMark\Node implements CommonMark\Interfaces\IVisitable, Traversable {
/* Properties */
public readonly Nodenull $parent;
public readonly Nodenull $previous;
public readonly Nodenull $next;
public readonly Nodenull $lastChild;
public readonly Nodenull $firstChild;
public readonly int $startLine;
public readonly int $endLine;
public readonly int $startColumn;
public readonly int $endColumn;
/* Methods */
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()
public void accept(CommonMark\Interfaces\IVisitor $visitor)
}
Table of Contents