@astronautlabs/jsonpath
Version:
Query JavaScript objects with JSONPath expressions. Robust / safe JSONPath engine for Node.js.
35 lines (34 loc) • 984 B
TypeScript
/**
* @internal
* @hidden
*/
export declare const GRAMMAR: {
lex: {
macros: {
esc: string;
int: string;
};
rules: string[][];
};
start: string;
bnf: {
JSON_PATH: string[][];
PATH_COMPONENTS: string[][];
PATH_COMPONENT: string[][];
MEMBER_COMPONENT: string[][];
CHILD_MEMBER_COMPONENT: string[][];
LEADING_CHILD_MEMBER_EXPRESSION: string[][];
DESCENDANT_MEMBER_COMPONENT: string[][];
MEMBER_EXPRESSION: string[][];
SUBSCRIPT_COMPONENT: string[][];
CHILD_SUBSCRIPT_COMPONENT: string[][];
DESCENDANT_SUBSCRIPT_COMPONENT: string[][];
SUBSCRIPT: string[][];
SUBSCRIPT_EXPRESSION_LIST: string[][];
SUBSCRIPT_EXPRESSION_LISTABLE: string[][];
SUBSCRIPT_EXPRESSION: string[][];
STRING_LITERAL: string[][];
};
moduleInclude: any;
actionInclude: any;
};