# CodeBlock concrete CommonMark\Node

(cmark >= 1.0.0)

## Sinopsis de la Clase

final class CommonMark\Node\CodeBlock extends CommonMark\Node\Text implements CommonMark\Interfaces\IVisitable, Traversable {
/* Propiedades heredadas */
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 ?string $literal;
/* Propiedades */
public ?string $fence;
/* Constructor */
public CommonMark\Node\Text::__construct()
public CommonMark\Node\Text::__construct(string `$literal`)
public __construct(string `$fence`, string `$literal`)
/* Métodos heredados */
public CommonMark\Node::appendChild(CommonMark\Node `$child`): CommonMark\Node
public CommonMark\Node::prependChild(CommonMark\Node `$child`): CommonMark\Node
public CommonMark\Node::insertAfter(CommonMark\Node `$sibling`): CommonMark\Node
public CommonMark\Node::insertBefore(CommonMark\Node `$sibling`): CommonMark\Node
public CommonMark\Node::replace(CommonMark\Node `$target`): CommonMark\Node
public CommonMark\Node::unlink(): void
public CommonMark\Node::accept(CommonMark\Interfaces\IVisitor `$visitor`): void
}

## Tabla de contenidos

- CommonMark\Node\CodeBlock::__construct — CodeBlock Construction