mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-16 12:50:38 -07:00
20 lines
456 B
TypeScript
20 lines
456 B
TypeScript
export class Token {
|
|
public trimLeft = false
|
|
public trimRight = false
|
|
public type = 'notset'
|
|
public line: number
|
|
public col: number
|
|
public raw: string
|
|
public input: string
|
|
public file?: string
|
|
public value: string
|
|
public constructor (raw: string, input: string, line: number, col: number, file?: string) {
|
|
this.col = col
|
|
this.line = line
|
|
this.raw = raw
|
|
this.value = raw
|
|
this.input = input
|
|
this.file = file
|
|
}
|
|
}
|