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

Method at

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

Source from the content-addressed store, hash-verified

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();
36 if c.is_some() { self.pos += 1; }

Callers 1

classMethod · 0.45

Calls 1

getMethod · 0.45

Tested by

no test coverage detected