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
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