MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / peek

Method peek

nodedb-sql/src/parser/array_stmt/parse_impl.rs:25–27  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

23 }
24
25 pub(super) fn peek(&self) -> Option<&Tok> {
26 self.toks.get(self.i).map(|t| &t.tok)
27 }
28
29 pub(super) fn bump(&mut self) -> Option<&'a Token> {
30 let t = self.toks.get(self.i)?;

Callers 6

expect_kwMethod · 0.45
match_kwMethod · 0.45
expectMethod · 0.45
match_tokenMethod · 0.45
parse_alterMethod · 0.45
tokenizeFunction · 0.45

Calls 1

getMethod · 0.45

Tested by

no test coverage detected