The Liqe AST (Abstract Syntax Tree)
mainThe Liqe AST is a public API. Developers can implement their own search engines or custom logic by traversing the 11 available token types. If you are building a custom serializer, you must implement all 11 tokens to ensure complete coverage of the LQL syntax.
import {
type BooleanOperatorToken,
type ComparisonOperatorToken,
type EmptyExpression,
type FieldToken,
type ImplicitBooleanOperatorToken,
type ImplicitFieldToken,
type LiteralExpressionToken,
type LogicalExpressionToken,
type RangeExpressionToken,
type RegexExpressionToken,
type TagToken,
type UnaryOperatorToken,
} from 'liqe';