UNPKG

create-query-language

Version:

A flexible TypeScript library for parsing and building query languages with support for lexical analysis, AST generation, and token stream processing

16 lines (15 loc) 484 B
export declare const AstTypes: { readonly Key: "key"; readonly Value: "value"; readonly Comparator: "comparator"; readonly LogicalOperator: "logical-operator"; readonly Condition: "condition"; readonly Group: "group"; readonly Boolean: "boolean"; readonly Not: "not"; readonly Query: "query"; }; type TypOfAstTypes = typeof AstTypes; export type AstTypeKeys = keyof TypOfAstTypes; export type AstTypeValues = TypOfAstTypes[AstTypeKeys]; export {};