mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-16 12:50:38 -07:00
feat: precise line/col for tokenization Error, #613
This commit is contained in:
@@ -30,6 +30,9 @@ export class Expression {
|
||||
}
|
||||
return operands[0]
|
||||
}
|
||||
public valid () {
|
||||
return !!this.postfix.length
|
||||
}
|
||||
}
|
||||
|
||||
export function * evalToken (token: Token | undefined, ctx: Context, lenient = false): IterableIterator<unknown> {
|
||||
|
||||
Reference in New Issue
Block a user