Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MLDOMAttribute

Hierarchy

Index

Constructors

constructor

Properties

Readonly Private #endCol

#endCol: number

Readonly Private #endLine

#endLine: number

Readonly Private #endOffset

#endOffset: number

Private #fixed

#fixed: string

Readonly Private #raw

#raw: string

Readonly Private #startCol

#startCol: number

Readonly Private #startLine

#startLine: number

Readonly Private #startOffset

#startOffset: number

Protected Readonly _astToken

_astToken: MLASTHTMLAttr

Readonly attrType

attrType: "html-attr" = "html-attr"

Readonly endQuote

endQuote: MLDOMToken<MLToken>

Readonly equal

Optional Readonly isDirective

isDirective: undefined | true

Optional Readonly isDynamicValue

isDynamicValue: undefined | true

Readonly name

Readonly potentialName

potentialName: string

Readonly rules

rules: Rules

Readonly spacesAfterEqual

spacesAfterEqual: MLDOMToken<MLToken>

Readonly spacesBeforeEqual

spacesBeforeEqual: MLDOMToken<MLToken>

Readonly spacesBeforeName

spacesBeforeName: MLDOMToken<MLToken>

Readonly startQuote

startQuote: MLDOMToken<MLToken>

Readonly uuid

uuid: string

Readonly value

Accessors

endCol

  • get endCol(): number
  • Returns number

endLine

  • get endLine(): number
  • Returns number

endOffset

  • get endOffset(): number
  • Returns number

originRaw

  • get originRaw(): string
  • Returns string

raw

  • get raw(): string
  • Returns string

startCol

  • get startCol(): number
  • Returns number

startLine

  • get startLine(): number
  • Returns number

startOffset

  • get startOffset(): number
  • Returns number

Methods

fix

  • fix(raw: string): void
  • Parameters

    • raw: string

    Returns void

getName

  • getName(): { col: number; line: number; potential: string; raw: string }
  • Returns { col: number; line: number; potential: string; raw: string }

    • col: number
    • line: number
    • potential: string
    • raw: string

getValue

  • getValue(): { col: number; line: number; potential: string; raw: string }
  • Returns { col: number; line: number; potential: string; raw: string }

    • col: number
    • line: number
    • potential: string
    • raw: string

toString

  • toString(withSpace?: boolean): string
  • Parameters

    • Default value withSpace: boolean = true

    Returns string

Generated using TypeDoc