Crate jaq_syn

Crate jaq_syn 

Source
Expand description

JSON query language syntax.

Re-exports§

pub use lex::Lexer;
pub use parse::Parser;
pub use string::Str;

Modules§

filter
Functions from values to streams of values.
lex
Lexing.
parse
Parsing.
path
Value access and iteration.
string
Interpolated strings.
test
Unit tests.

Structs§

Call
Call to a filter identified by a name type N with arguments of type A.
Def
A definition, such as def map(f): [.[] | f];.
Main
(Potentially empty) sequence of definitions, followed by a filter.

Enums§

Arg
Argument of a definition, such as $v or f in def foo($v; f): ....
MathOp
Arithmetic operation, such as +, -, *, /, %.
OrdOp
An operation that orders two values, such as <, <=, >, >=, ==, !=.

Functions§

parse
Lex a string and parse resulting tokens, returning None if any error occurred.

Type Aliases§

Span
Position information.
Spanned
An object with position information.