1 | import { QuotedToken, Token } from '../tokens';
|
2 | import type { Context } from '../context';
|
3 | export declare class Expression {
|
4 | private postfix;
|
5 | constructor(tokens: IterableIterator<Token>);
|
6 | evaluate(ctx: Context, lenient?: boolean): Generator<unknown, unknown, unknown>;
|
7 | valid(): boolean;
|
8 | }
|
9 | export declare function evalToken(token: Token | undefined, ctx: Context, lenient?: boolean): IterableIterator<unknown>;
|
10 | export declare function evalQuotedToken(token: QuotedToken): string;
|