Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MLDOMIndentation<T, O>

Type parameters

  • T: RuleConfigValue

  • O = null

Hierarchy

  • MLDOMIndentation

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

  • Parameters

    • parentTextNode: MLDOMText<T, O>
    • raw: string
    • line: number

    Returns MLDOMIndentation

Properties

Private #fixed

#fixed: string

Readonly line

line: number

Readonly node

node: MLDOMText<T, O>

Accessors

raw

  • get raw(): string
  • Returns string

type

  • get type(): "tab" | "space" | "mixed" | "none"
  • Returns "tab" | "space" | "mixed" | "none"

width

  • get width(): number
  • Returns number

Methods

fix

  • fix(raw: string): void
  • Parameters

    • raw: string

    Returns void

Generated using TypeDoc