Constants |
public League\CommonMark\Extension\Attributes\Node\Attributes::TARGET_NEXT = 2 |
public League\CommonMark\Extension\Attributes\Node\Attributes::TARGET_PARENT = 0 |
public League\CommonMark\Extension\Attributes\Node\Attributes::TARGET_PREVIOUS = 1 |
Properties |
public Dflydev\DotAccessData\Data League\CommonMark\Node\Node::$data |
Methods |
public League\CommonMark\Node\Node::__clone() Clone the current node and its children WARNING: This is a recursive function and should not be called on deeply-nested node trees! |
public __construct(array $attributes) - param array<string,mixed> $attributes
|
public League\CommonMark\Node\Node::appendChild(League\CommonMark\Node\Node $child) : void |
public static League\CommonMark\Node\Node::assertInstanceOf(League\CommonMark\Node\Node $node) : void |
public League\CommonMark\Node\Node::children() : iterable |
public League\CommonMark\Node\Node::detach() : void |
public League\CommonMark\Node\Node::detachChildren() : void Detaches all child nodes of given node |
public League\CommonMark\Node\Node::firstChild() : ?League\CommonMark\Node\Node |
public getAttributes() : array - return array<string,mixed>
|
public League\CommonMark\Node\Node::getDepth() : int |
public League\CommonMark\Node\Block\AbstractBlock::getEndLine() : ?int |
public League\CommonMark\Node\Block\AbstractBlock::getStartLine() : ?int |
public getTarget() : int |
public League\CommonMark\Node\Node::hasChildren() : bool |
public League\CommonMark\Node\Node::insertAfter(League\CommonMark\Node\Node $sibling) : void Inserts the $sibling node after $this |
public League\CommonMark\Node\Node::insertBefore(League\CommonMark\Node\Node $sibling) : void Inserts the $sibling node before $this |
public League\CommonMark\Node\Node::iterator(int $flags = 0) : League\CommonMark\Node\NodeIterator |
public League\CommonMark\Node\Node::lastChild() : ?League\CommonMark\Node\Node |
public League\CommonMark\Node\Node::next() : ?League\CommonMark\Node\Node |
public League\CommonMark\Node\Node::parent() : ?League\CommonMark\Node\Node |
public League\CommonMark\Node\Node::prependChild(League\CommonMark\Node\Node $child) : void Adds $child as the very first child of $this |
public League\CommonMark\Node\Node::previous() : ?League\CommonMark\Node\Node |
public League\CommonMark\Node\Node::replaceChildren(iterable $children) : void Replace all children of given node with collection of another - param iterable<\Node> $children
|
public League\CommonMark\Node\Node::replaceWith(League\CommonMark\Node\Node $replacement) : void |
public setAttributes(array $attributes) : void - param array<string,mixed> $attributes
|
public League\CommonMark\Node\Block\AbstractBlock::setEndLine(?int $endLine) : void |
public League\CommonMark\Node\Block\AbstractBlock::setStartLine(?int $startLine) : void |
public setTarget(int $target) : void |
public League\CommonMark\Node\Node::walker() : League\CommonMark\Node\NodeWalker |