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

Method is_current_char_func

crates/gitql-parser/src/tokenizer.rs:809–811  ·  view source on GitHub ↗
(&self, func: fn(char) -> bool)

Source from the content-addressed store, hash-verified

807 }
808
809 fn is_current_char_func(&self, func: fn(char) -> bool) -> bool {
810 self.index < self.content_len && func(self.content[self.index])
811 }
812
813 fn has_next(&self) -> bool {
814 self.index < self.content_len

Callers 6

consume_identifierMethod · 0.80
consume_numberMethod · 0.80
consume_binary_numberMethod · 0.80
consume_octal_numberMethod · 0.80
consume_hex_numberMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected