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

Method at_eof

nodedb/src/control/promql/parser.rs:46–48  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

44 }
45
46 fn at_eof(&self) -> bool {
47 matches!(self.peek(), Token::Eof)
48 }
49
50 fn expect(&mut self, expected: &Token) -> Result<(), PromqlError> {
51 let tok = self.advance().clone();

Callers 1

parseFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected