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

Function distinct_qualifier

graphlite/src/ast/parser.rs:1049–1054  ·  view source on GitHub ↗

Parse DISTINCT qualifier: DISTINCT | ALL

(tokens: &[Token])

Source from the content-addressed store, hash-verified

1047
1048/// Parse DISTINCT qualifier: DISTINCT | ALL
1049fn distinct_qualifier(tokens: &[Token]) -> IResult<&[Token], DistinctQualifier> {
1050 alt((
1051 value(DistinctQualifier::Distinct, expect_token(Token::Distinct)),
1052 value(DistinctQualifier::All, expect_token(Token::All)),
1053 ))(tokens)
1054}
1055
1056/// Parse CALL statement: CALL procedure_name(args...) [YIELD ...] [WHERE ...]
1057/// NOTE: WHERE on CALL is a GraphLite extension (not in ISO GQL standard)

Callers

nothing calls this directly

Calls 1

expect_tokenFunction · 0.85

Tested by

no test coverage detected