MCPcopy
hub / github.com/grafana/tempo / lexer

Struct lexer

pkg/traceql/lexer.go:118–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116}
117
118type lexer struct {
119 scanner.Scanner
120 expr *RootExpr
121 parser *yyParserImpl
122 errs []*ParseError
123
124 parsingAttribute bool
125 currentScope int
126}
127
128func (l *lexer) Lex(lval *yySymType) int {
129 // if we are currently parsing an attribute and the next rune suggests that

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected