mirror of
https://github.com/prometheus/prometheus
synced 2024-12-25 07:52:28 +00:00
32b7595c47
This commit creates a (so far unused) package. It contains the a custom lexer/parser for the query language. ast.go: New AST that interacts well with the parser. lex.go: Custom lexer (new). lex_test.go: Lexer tests (new). parse.go: Custom parser (new). parse_test.go: Parser tests (new). functions.go: Changed function type, dummies for parser testing (barely changed/dummies). printer.go: Adapted from rules/ and adjusted to new AST (mostly unchanged, few additions). |
||
---|---|---|
.. | ||
labelpair_test.go | ||
labelpair.go | ||
matcher.go | ||
sample.go |