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

Function parameter_name

graphlite/src/ast/parser.rs:3413–3418  ·  view source on GitHub ↗

Parse parameter name: $identifier (returns String for session contexts)

(tokens: &[Token])

Source from the content-addressed store, hash-verified

3411
3412/// Parse parameter name: $identifier (returns String for session contexts)
3413fn parameter_name(tokens: &[Token]) -> IResult<&[Token], String> {
3414 map(
3415 tuple((expect_token(Token::Dollar), identifier)),
3416 |(_, name)| name,
3417 )(tokens)
3418}
3419
3420/// Parse graph initializer: = graph_expression
3421fn graph_initializer(tokens: &[Token]) -> IResult<&[Token], GraphExpression> {

Callers

nothing calls this directly

Calls 1

expect_tokenFunction · 0.85

Tested by

no test coverage detected