MCPcopy
hub / github.com/uptrace/uptrace / NextToken

Method NextToken

pkg/metrics/mql/ast/lexer.go:81–85  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

79}
80
81func (l *lexer) NextToken() *Token {
82 tok := l.PeekToken()
83 l.pos++
84 return tok
85}
86
87func (l *lexer) PeekToken() *Token {
88 if l.pos < len(l.tokens) {

Callers 15

parseQueryMethod · 0.45
filtersMethod · 0.45
filterMethod · 0.45
filterOpMethod · 0.45
valuesMethod · 0.45
valueMethod · 0.45
boolOpMethod · 0.45
namedExprsMethod · 0.45
termMethod · 0.45
metricExprMethod · 0.45
metricExpr1Method · 0.45
rollupWindowMethod · 0.45

Calls 1

PeekTokenMethod · 0.95

Tested by

no test coverage detected