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

Method is_current_char

crates/gitql-parser/src/tokenizer.rs:801–803  ·  view source on GitHub ↗
(&self, ch: char)

Source from the content-addressed store, hash-verified

799 }
800
801 fn is_current_char(&self, ch: char) -> bool {
802 self.index < self.content_len && self.content[self.index] == ch
803 }
804
805 fn is_next_char(&self, ch: char) -> bool {
806 self.index + 1 < self.content_len && self.content[self.index + 1] == ch

Calls

no outgoing calls

Tested by

no test coverage detected