nodedb-sql 0.6.0

SQL parser, planner, and optimizer for NodeDB
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// SPDX-License-Identifier: Apache-2.0

//! Parser for `{ key: value }` object literal syntax.
//!
//! Two contracts live here, and the difference between them is the point:
//! [`parse_object_literal`] reads one literal off the FRONT of its input and
//! leaves the rest alone, while [`parse_object_literal_complete`] requires the
//! literal to be the whole input and reports anything left over. A caller whose
//! input is supposed to be the literal must use the strict form, or a clause the
//! author wrote is discarded without anyone being told.

pub mod api;
pub mod scan;

pub use api::{
    parse_object_literal, parse_object_literal_array, parse_object_literal_array_complete,
    parse_object_literal_complete,
};