PHP Conference Japan 2024

CustomInline 具體 CommonMark\Node

(cmark >= 1.0.0)

類別概要

final class CommonMark\Node\CustomInline extends CommonMark\Node implements CommonMark\Interfaces\IVisitable, Traversable {
/* 繼承的屬性 */
public readonly ?Node $parent;
public readonly ?Node $previous;
public readonly ?Node $next;

=>

公開唯讀 ?Node $next;

public readonly ?Node $lastChild;

=>

公開唯讀 ?Node $lastChild;

public readonly ?Node $firstChild;

=>

公開唯讀 ?Node $firstChild;

public readonly int $startLine;

=>

公開唯讀 int $startLine;

public readonly int $endLine;

=>

公開唯讀 int $endLine;

public readonly int $startColumn;

=>

公開唯讀 int $startColumn;

public readonly int $endColumn;

=>

公開唯讀 int $endColumn;

/* Properties */

=>

/* 屬性 */

public ?string $onEnter;

=>

公開 ?string $onEnter;

public ?string $onLeave;

=>

公開 ?string $onLeave;

/* Inherited methods */

=>

/* 繼承方法 */

public CommonMark\Node::appendChild(CommonMark\Node $child): CommonMark\Node

=>

公開 CommonMark\Node::appendChild(CommonMark\Node $child): CommonMark\Node

(This can mostly stay the same, unless you want to translate the method name to something like `附加子節點`, but it's less common)
... prependChild ...

=> ...prependChild... (similar to appendChild, could be translated as `前置子節點`)
... insertAfter ...

=> ...insertAfter... (could be translated as `插入之後`)
... insertBefore ...

=> ...insertBefore... (could be translated as `插入之前`)
... replace ...

=> ...replace... (could be translated as `取代`)
... unlink ...

=> ...unlink... (could be translated as `移除連結`)
... accept ...

=> ...accept... (could be translated as `接受`)
}
add a note

=>

新增註解

User Contributed Notes

=>

使用者貢獻的註解

此頁面尚無使用者提供的註釋。
To Top