blob: 05e2ff9d767550c22b4bf0f28b68c5b33a1941ef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
import { Filter } from './filter';
import { Expression } from '../render';
import type { FilteredValueToken } from '../tokens';
import type { Liquid } from '../liquid';
import type { Context } from '../context';
export declare class Value {
readonly filters: Filter[];
readonly initial: Expression;
/**
* @param str the value to be valuated, eg.: "foobar" | truncate: 3
*/
constructor(input: string | FilteredValueToken, liquid: Liquid);
value(ctx: Context, lenient?: boolean): Generator<unknown, unknown, unknown>;
private getFilter;
}
|