Files
liquidjs/src/parser/token.ts
T
2019-08-26 10:15:43 -05:00

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