UNPKG

unified-query

Version:

Composable search input with autocompletion and a rich query-language parser for the Unified Data System

12 lines (11 loc) 408 B
import type { LexToken, MicroParser, Segment } from "./types.js"; export declare const lexerProfiles: { readonly head: MicroParser[]; readonly name: MicroParser[]; readonly content: MicroParser[]; readonly kind: MicroParser[]; readonly id: MicroParser[]; readonly in: MicroParser[]; readonly sort: MicroParser[]; }; export declare function tokenizeBody(seg: Segment): LexToken[];