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

Function is_logical_or_operator

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

Source from the content-addressed store, hash-verified

4011
4012#[inline(always)]
4013pub(crate) fn is_logical_or_operator(tokens: &[Token], position: &usize) -> bool {
4014 *position < tokens.len()
4015 && matches!(
4016 tokens[*position].kind,
4017 TokenKind::OrOr | TokenKind::OrKeyword
4018 )
4019}
4020
4021#[inline(always)]
4022pub(crate) fn is_logical_and_operator(tokens: &[Token], position: &usize) -> 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…