1 | /**
|
2 | * Parses infix boolean expression (using Dijkstra's Shunting Yard algorithm)
|
3 | * and builds a tree of expressions. The root node of the expression is returned.
|
4 | *
|
5 | * This expression can be evaluated by passing in an array of literals that resolve to true
|
6 | */
|
7 | export default function parse(infix: string): Node;
|
8 | interface Node {
|
9 | evaluate(variables: string[]): boolean;
|
10 | }
|
11 | export {};
|