Documentation
¶
Overview ¶
Package lexer contains TraceQL lexer.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TokenType ¶
type TokenType int
TokenType defines TraceQL token type.
const ( Invalid TokenType = iota EOF Ident // Literals String Integer Number Duration Comma Dot OpenBrace CloseBrace OpenParen CloseParen Eq NotEq Re NotRe Gt Gte Lt Lte Add Sub Div Mod Mul Pow True False Nil StatusOk StatusError StatusUnset KindUnspecified KindInternal KindServer KindClient KindProducer KindConsumer And Or Not Pipe Desc Tilde SpanDuration ChildCount Name Status Kind RootName RootServiceName TraceDuration Parent Count Avg Max Min Sum By Coalesce Select )
type TokenizeOptions ¶
type TokenizeOptions struct { // Filename sets filename for the scanner. Filename string }
TokenizeOptions is a Tokenize options structure.
Click to show internal directories.
Click to hide internal directories.