Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

  • new Mark(offset: number, line: number, column: number, note: undefined | string): Mark
  • Parameters

    • offset: number
    • line: number
    • column: number
    • note: undefined | string

    Returns Mark

Properties

Readonly column

column: number

Readonly line

line: number

Readonly note

note: undefined | string

Readonly offset

offset: number

Accessors

end

  • Returns Mark

start

  • Returns Mark

Static zero

  • Returns Mark

Methods

debug

  • debug(output: Output<unknown>): void
  • Parameters

    Returns void

display

  • display(output: Output<unknown>): void
  • Parameters

    Returns void

equals

  • equals(that: unknown): boolean
  • Parameters

    • that: unknown

    Returns boolean

hashCode

  • hashCode(): number
  • Returns number

max

  • Parameters

    Returns Mark

min

  • Parameters

    Returns Mark

shift

  • Parameters

    Returns Mark

toString

  • toString(): string
  • Returns string

union

  • Parameters

    Returns Tag

withNote

  • withNote(note: undefined | string): Mark
  • Parameters

    • note: undefined | string

    Returns Mark

Static at

  • at(offset: number, line: number, column: number, note?: string): Mark
  • Parameters

    • offset: number
    • line: number
    • column: number
    • Optional note: string

    Returns Mark

Generated using TypeDoc