# Abstract CommonMark\Node

(cmark >= 1.0.0)

## はじめに

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

## クラス概要

final abstract class 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 function appendChild(CommonMark\Node `$child`): CommonMark\Node
public function prependChild(CommonMark\Node `$child`): CommonMark\Node
public function insertAfter(CommonMark\Node `$sibling`): CommonMark\Node
public function insertBefore(CommonMark\Node `$sibling`): CommonMark\Node
public function replace(CommonMark\Node `$target`): CommonMark\Node
public function unlink(): void
public function accept(CommonMark\Interfaces\IVisitor `$visitor`): void
}

## 目次

- CommonMark\Node::appendChild — AST Manipulation
- CommonMark\Node::prependChild — AST Manipulation
- CommonMark\Node::insertAfter — AST Manipulation
- CommonMark\Node::insertBefore — AST Manipulation
- CommonMark\Node::replace — AST Manipulation
- CommonMark\Node::unlink — AST Manipulation
- CommonMark\Node::accept — Visitation

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open