Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_kw
Method · 0.45
match_kw
Method · 0.45
expect
Method · 0.45
match_token
Method · 0.45
parse_alter
Method · 0.45
tokenize
Function · 0.45
Calls
1
get
Method · 0.45
Tested by
no test coverage detected