Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MLDOMPreprocessorSpecificBlock<T, O>

Type parameters

  • T: RuleConfigValue

  • O = null

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 #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

Protected _astToken

Readonly nodeName

nodeName: string

Readonly rules

rules: Rules

Readonly type

type: "PSBlock" = "PSBlock"

Readonly uuid

uuid: string

Accessors

childNodes

  • Returns AnonymousNode<T, O>[]

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

is

toString

  • toString(): string

Generated using TypeDoc