prometheus/pkg/textparse
Fabian Reinartz 76a4a46cb0 pkg/textparse: refactor and add metadata handling
Extends the parser to allow retrieving metadata.
The lexer now yields proper tokens that are fed into a hand-written
parser on top.

Signed-off-by: Fabian Reinartz <freinartz@google.com>
2018-05-25 11:27:25 -04:00
..
lex.l pkg/textparse: refactor and add metadata handling 2018-05-25 11:27:25 -04:00
lex.l.go pkg/textparse: refactor and add metadata handling 2018-05-25 11:27:25 -04:00
parse.go pkg/textparse: refactor and add metadata handling 2018-05-25 11:27:25 -04:00
parse_test.go pkg/textparse: refactor and add metadata handling 2018-05-25 11:27:25 -04:00
testdata.nometa.txt pkg/textparse: add more benchmarking, align lex defs 2017-01-15 17:32:57 +01:00
testdata.txt pkg/textparse: add initial text parser 2017-01-14 16:39:04 +01:00