MCPcopy Create free account
hub / github.com/dylan-sutton-chavez/edge-python / peek

Method peek

std/re/src/main/parser.rs:32–32  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

30
31impl<'a> Parser<'a> {
32 fn peek(&self) -> Option<char> { self.p.get(self.pos).copied() }
33 fn at(&self, i: usize) -> Option<char> { self.p.get(self.pos + i).copied() }
34 fn bump(&mut self) -> Option<char> {
35 let c = self.peek();

Callers 14

bumpMethod · 0.45
expectMethod · 0.45
alternationMethod · 0.45
concatMethod · 0.45
quantifiedMethod · 0.45
try_boundMethod · 0.45
read_intMethod · 0.45
atomMethod · 0.45
groupMethod · 0.45
read_nameMethod · 0.45
read_flagsMethod · 0.45
classMethod · 0.45

Calls 1

getMethod · 0.45

Tested by

no test coverage detected