mirror of
https://github.com/harttle/liquidjs.git
synced 2026-10-02 16:45:14 -07:00
perf: introduce AST to avoid reparse
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import { Token } from './token'
|
||||
import { TokenKind } from '../parser/token-kind'
|
||||
|
||||
export class QuotedToken extends Token {
|
||||
constructor (
|
||||
public input: string,
|
||||
public begin: number,
|
||||
public end: number,
|
||||
public file?: string
|
||||
) {
|
||||
super(TokenKind.Quoted, input, begin, end, file)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user