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

Function is_factor_operator

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

Source from the content-addressed store, hash-verified

4060
4061#[inline(always)]
4062fn is_factor_operator(tokens: &[Token], position: &usize) -> bool {
4063 *position < tokens.len()
4064 && matches!(
4065 tokens[*position].kind,
4066 TokenKind::Star | TokenKind::Slash | TokenKind::Percentage | TokenKind::Caret
4067 )
4068}
4069
4070#[inline(always)]
4071fn is_join_or_join_type_token(tokens: &[Token], position: &usize) -> bool {

Callers 1

parse_factor_expressionFunction · 0.85

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…