Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MLDOMDoctype<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 #indentaion

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

indentation cache props

Private #name

#name: string

Private #prevToken

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

prevToken cache props

Private #publicId

#publicId: string

Readonly Private #raw

#raw: string

Readonly Private #startCol

#startCol: number

Readonly Private #startLine

#startLine: number

Readonly Private #startOffset

#startOffset: number

Private #systemId

#systemId: string

Protected _astToken

_astToken: MLASTNode

Readonly rules

rules: Rules

Readonly type

type: "Doctype" = "Doctype"

Readonly uuid

uuid: string

Accessors

endCol

  • get endCol(): number
  • Returns number

endLine

  • get endLine(): number
  • Returns number

endOffset

  • get endOffset(): number
  • Returns number

indentation

name

  • get name(): string
  • Returns string

nextNode

nodeStore

originRaw

  • get originRaw(): string
  • Returns string

parentNode

prevNode

prevToken

publicId

  • get publicId(): string
  • Returns string

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

systemId

  • get systemId(): string
  • Returns string

Methods

fix

  • fix(raw: string): void
  • Parameters

    • raw: string

    Returns void

is

toString

  • toString(): string

Generated using TypeDoc