react-filter-box
Version:
Conditional filter supports OR/AND, bracket, Highlighting, Autocomplete, and high extensibility
18 lines (17 loc) • 410 B
TypeScript
export default class ParseTrace {
private arr;
constructor();
push(item: TraceItem): void;
clear(): void;
getLastOperator(): string;
getLastCategory(): string;
getLastTokenType(): string;
pushOperator(operator: string): void;
pushCategory(category: string): void;
pushValue(value: string): void;
}
interface TraceItem {
type: string;
value: string;
}
export {};