@allgemein/expressions
Version:
Library for mango expressions
18 lines (17 loc) • 514 B
TypeScript
import { ExprDesc } from "../descriptors/ExprDesc";
export declare class ExpressionInterpreter {
groupLevel: number;
ops: any[];
res: ExprDesc[];
queue: any[];
regex: RegExp;
constructor();
interprete(str: string): ExprDesc;
fragmentize(str: string): void;
onKey(match: string, str: string): void;
onOperator(match: string, str: string): void;
onValue(match: string, str: string): void;
visitGroup(): void;
leaveGroup(): void;
onBool(match: string): void;
}