MCPcopy
hub / github.com/uptrace/uptrace / ResetPos

Method ResetPos

pkg/metrics/mql/ast/lexer.go:99–101  ·  view source on GitHub ↗
(pos int)

Source from the content-addressed store, hash-verified

97}
98
99func (l *lexer) ResetPos(pos int) {
100 l.pos = pos
101}
102
103func (l *lexer) readToken() (*Token, error) {
104 if !l.lex.Valid() {

Callers 15

parseQueryMethod · 0.45
filtersMethod · 0.45
whereMethod · 0.45
filterMethod · 0.45
filterOpMethod · 0.45
valuesMethod · 0.45
valueMethod · 0.45
boolOpMethod · 0.45
namedExprsMethod · 0.45
namedExprMethod · 0.45
exprMethod · 0.45
termMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected