Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ValueNull = "null" ValueInt = "int" ValueString = "string" ValueFloat = "float" ValueBoolean = "boolean" )
Functions ¶
func CreateParser ¶
func CreateParser() (*participle.Parser, error)
Types ¶
type FilterFunction ¶
type FirstPseudoClass ¶
type FirstPseudoClass struct{}
func (FirstPseudoClass) Filter ¶
func (fpc FirstPseudoClass) Filter(spans []traces.Span) []traces.Span
func (FirstPseudoClass) Name ¶
func (fpc FirstPseudoClass) Name() string
type LastPseudoClass ¶
type LastPseudoClass struct{}
func (LastPseudoClass) Filter ¶
func (lpc LastPseudoClass) Filter(spans []traces.Span) []traces.Span
func (LastPseudoClass) Name ¶
func (lpc LastPseudoClass) Name() string
type NthChildPseudoClass ¶
type NthChildPseudoClass struct {
N int64
}
func (NthChildPseudoClass) Filter ¶
func (nc NthChildPseudoClass) Filter(spans []traces.Span) []traces.Span
func (NthChildPseudoClass) Name ¶
func (nc NthChildPseudoClass) Name() string
type ParserSelector ¶
type ParserSelector struct {
SpanSelectors []parserSpanSelector `( @@* ( "," @@ )*)*`
}
type PseudoClass ¶
type SelectorParser ¶
type SelectorParser struct {
// contains filtered or unexported fields
}
type SpanSelector ¶
type SpanSelector struct { Filters []filter PseudoClass PseudoClass ChildSelector *SpanSelector }
func (SpanSelector) MatchesFilters ¶
func (ss SpanSelector) MatchesFilters(span traces.Span) bool
Click to show internal directories.
Click to hide internal directories.