Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MLDOMElementCloseTag<T, O>

Type parameters

  • T: RuleConfigValue

  • O

Hierarchy

Implements

Index

Constructors

constructor

Properties

Private #doc

#doc: Document<T, O>

Readonly Private #endCol

#endCol: number

Readonly Private #endLine

#endLine: number

Readonly Private #endOffset

#endOffset: number

Private #fixed

#fixed: string

Private #fixedNodeName

#fixedNodeName: string

Private #indentaion

#indentaion: MLDOMIndentation<T, O> | null | undefined

indentation cache props

Private #prevToken

#prevToken: AnonymousNode<T, O> | null | undefined

prevToken cache props

Readonly Private #raw

#raw: string

Readonly Private #startCol

#startCol: number

Readonly Private #startLine

#startLine: number

Readonly Private #startOffset

#startOffset: number

Readonly Private #tagOpenChar

#tagOpenChar: string

Protected _astToken

Readonly isForeignElement

isForeignElement: boolean

Readonly nodeName

nodeName: string

Readonly rules

rules: Rules

Readonly startTag

startTag: MLDOMElement<T, O>

Readonly type

type: "ElementCloseTag" = "ElementCloseTag"

Readonly uuid

uuid: string

Accessors

endCol

  • get endCol(): number
  • Returns number

endLine

  • get endLine(): number
  • Returns number

endOffset

  • get endOffset(): number
  • Returns number

indentation

nextNode

nodeStore

originRaw

  • get originRaw(): string
  • Returns string

parentNode

prevNode

prevToken

raw

  • get raw(): string
  • Returns string

rule

  • get rule(): RuleInfo<T, O>

startCol

  • get startCol(): number
  • Returns number

startLine

  • get startLine(): number
  • Returns number

startOffset

  • get startOffset(): number
  • Returns number

syntaxicalParentNode

Methods

fix

  • fix(raw: string): void
  • Parameters

    • raw: string

    Returns void

fixNodeName

  • fixNodeName(name: string): void
  • Parameters

    • name: string

    Returns void

getNameLocation

  • getNameLocation(): { col: number; line: number; offset: number }
  • Returns { col: number; line: number; offset: number }

    • col: number
    • line: number
    • offset: number

is

toString

  • toString(): string

Generated using TypeDoc