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

Function is_bitwise_shift_operator

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

Source from the content-addressed store, hash-verified

4039
4040#[inline(always)]
4041fn is_bitwise_shift_operator(tokens: &[Token], position: &usize) -> bool {
4042 *position < tokens.len()
4043 && matches!(
4044 tokens[*position].kind,
4045 TokenKind::BitwiseLeftShift | TokenKind::BitwiseRightShift
4046 )
4047}
4048
4049#[inline(always)]
4050fn is_prefix_unary_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…