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

Function is_prefix_unary_operator

crates/gitql-parser/src/parser.rs:4050–4059  ·  view source on GitHub ↗
(token: &Token)

Source from the content-addressed store, hash-verified

4048
4049#[inline(always)]
4050fn is_prefix_unary_operator(token: &Token) -> bool {
4051 matches!(
4052 token.kind,
4053 TokenKind::Plus
4054 | TokenKind::Bang
4055 | TokenKind::Not
4056 | TokenKind::Minus
4057 | TokenKind::BitwiseNot
4058 )
4059}
4060
4061#[inline(always)]
4062fn is_factor_operator(tokens: &[Token], position: &usize) -> bool {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…