MCPcopy Create free account
hub / github.com/GraphLite-AI/GraphLite / graph_initializer

Function graph_initializer

graphlite/src/ast/parser.rs:3421–3426  ·  view source on GitHub ↗

Parse graph initializer: = graph_expression

(tokens: &[Token])

Source from the content-addressed store, hash-verified

3419
3420/// Parse graph initializer: = graph_expression
3421fn graph_initializer(tokens: &[Token]) -> IResult<&[Token], GraphExpression> {
3422 map(
3423 tuple((expect_token(Token::Equal), graph_expression)),
3424 |(_, graph_expr)| graph_expr,
3425 )(tokens)
3426}
3427
3428/// Parse binding table initializer: = query_statement
3429fn binding_table_initializer(tokens: &[Token]) -> IResult<&[Token], Box<Query>> {

Callers

nothing calls this directly

Calls 1

expect_tokenFunction · 0.85

Tested by

no test coverage detected