Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NodeDB-Lab/nodedb
/ advance
Method
advance
nodedb/src/control/promql/parser.rs:40–44 ·
view source on GitHub ↗
(&mut self)
Source
from the content-addressed store, hash-verified
38
}
39
40
fn advance(&mut self) -> &Token {
41
let tok = self.tokens.get(self.pos).unwrap_or(&Token::Eof);
42
self.pos += 1;
43
tok
44
}
45
46
fn at_eof(&self) -> bool {
47
matches!(self.peek(), Token::Eof)
Callers
12
expect
Method · 0.45
parse_expr
Method · 0.45
parse_unary
Method · 0.45
parse_postfix
Method · 0.45
parse_primary
Method · 0.45
parse_function_call
Method · 0.45
parse_aggregation
Method · 0.45
parse_label_matchers
Method · 0.45
parse_one_matcher
Method · 0.45
parse_duration
Method · 0.45
parse_label_list
Method · 0.45
try_keyword
Method · 0.45
Calls
1
get
Method · 0.45
Tested by
no test coverage detected