Options
All
  • Public
  • Public/Protected
  • All
Menu

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

_astToken: MLASTText

Readonly isRawText

isRawText: boolean

Readonly ownModels

ownModels: Set<ContentModel> = new Set()

Readonly rules

rules: Rules

Readonly type

type: "Text" = "Text"

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

is

isWhitespace

  • isWhitespace(): boolean
  • Returns boolean

toString

  • toString(): string

Generated using TypeDoc