Hierarchy

  • AstComponent
    • Tag

Properties

attributes: Record<string, string> = {}

The tag attributes. For example, section related tags can have a label: {start_of_verse: label="Verse 1"}

Accessors

  • get name(): string
  • The tag full name. When the original tag used the short name, name will return the full name.

    Returns string

  • get originalName(): string
  • The original tag name that was used to construct the tag.

    Returns string

Methods

  • Checks whether the tag value is a non-empty string.

    Returns boolean

  • Checks whether the tag is either a standard meta tag or a custom meta directive ({x_some_name})

    Returns boolean

  • Checks whether the tag is usually rendered inline. It currently only applies to comment tags.

    Returns boolean

  • Returns a string representation of an object.

    Returns string