MCPcopy Create free account
hub / github.com/AmrDeveloper/GQL / is_logical_and_operator

Function is_logical_and_operator

crates/gitql-parser/src/parser.rs:4022–4028  ·  view source on GitHub ↗
(tokens: &[Token], position: &usize)

Source from the content-addressed store, hash-verified

4020
4021#[inline(always)]
4022pub(crate) fn is_logical_and_operator(tokens: &[Token], position: &usize) -> bool {
4023 *position < tokens.len()
4024 && matches!(
4025 tokens[*position].kind,
4026 TokenKind::AndAnd | TokenKind::AndKeyword
4027 )
4028}
4029
4030#[inline(always)]
4031fn is_assignment_operator(token: &Token) -> bool {

Callers 1

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…