# 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 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
public 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