Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Mark

Index

Constructors

constructor

  • new Mark(name: string, buffer: string, position: number, line: number, column: number): Mark
  • Parameters

    • name: string
    • buffer: string
    • position: number
    • line: number
    • column: number

    Returns Mark

Properties

buffer

buffer: string

column

column: number

filePath

filePath: string

line

line: number

name

name: string

position

position: number

Methods

getSnippet

  • getSnippet(indent?: number, maxLength?: number): string
  • Parameters

    • Optional indent: number
    • Optional maxLength: number

    Returns string

toString

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

    • Optional compact: boolean

    Returns string

Generated using TypeDoc