Movatterモバイル変換


[0]ホーム

URL:


  • Preparing search index...
  • The search index is not available
bbcode-ast

Class ChildrenHolderNodeAbstract

An interface for nodes that can hold children.

Hierarchy (view full)

Implements

Constructors

constructor

Properties

children

children:BaseNode[] = []

The children of the node.

Ref:ChildrenHolder.children

Implementation ofChildrenHolder.children

Abstractname

name:string

The name of the node.

Inherited fromBaseNode.name

Methods

addChild

Abstractclone

nodeTree

  • nodeTree(indentWidth?):string
  • Converts the node into a tree-like overview of all children.

    Parameters

    • indentWidth:number = 2

      The number of spaces to indent the output. Defaults to2.

    Returnsstring

    The tree-like overview of all children.

    Inherited fromBaseNode.nodeTree

ProtectednodeTreeChildren

  • nodeTreeChildren(indentWidth):string
  • Gets the children of the node tree.

    Parameters

    • indentWidth:number

      The number of spaces to indent the output.

    Returnsstring

    The children of the node tree.

    OverridesBaseNode.nodeTreeChildren

ProtectedAbstractnodeTreeHeading

toBBCode

AbstracttoString

  • toString():string
  • Converts the node into a textual representation of the node as BBCode.A node should return the exact same string as the input toParser.parse providedindented isfalse.

    Returnsstring

    The textual representation of the node as BBCode.

    Inherited fromBaseNode.toString

Settings

Member Visibility

Theme

On This Page

Generated usingTypeDoc


[8]ページ先頭

©2009-2025 Movatter.jp