MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / parse_expr

Function parse_expr

nodedb-query/src/expr_parse/parser.rs:58–64  ·  view source on GitHub ↗
(
    tokens: &[Token],
    pos: &mut usize,
    depth: &mut usize,
)

Source from the content-addressed store, hash-verified

56const MAX_EXPR_DEPTH: usize = 128;
57
58fn parse_expr(
59 tokens: &[Token],
60 pos: &mut usize,
61 depth: &mut usize,
62) -> Result<SqlExpr, ExprParseError> {
63 parse_or(tokens, pos, depth)
64}
65
66fn parse_or(
67 tokens: &[Token],

Callers 4

parse_generated_exprFunction · 0.70
parse_primaryFunction · 0.70
parse_caseFunction · 0.70
parse_arg_listFunction · 0.70

Calls 1

parse_orFunction · 0.70

Tested by

no test coverage detected