Movatterモバイル変換


[0]ホーム

URL:


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

Class BaseNodeAbstract

The abstract base class for all nodes.

Hierarchy (view full)

Constructors

constructor

Properties

Abstractname

name:string

The name of the node.

Methods

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.

ProtectedAbstractnodeTreeChildren

  • 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.

ProtectedAbstractnodeTreeHeading

  • nodeTreeHeading():string
  • Gets the heading of the node tree.

    Returnsstring

    The heading of the node tree.

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.

Settings

Member Visibility

Theme

On This Page

Generated usingTypeDoc


[8]ページ先頭

©2009-2025 Movatter.jp