├── .editorconfig ├── .github └── workflows │ ├── phpunit.yml │ └── psalm.yml ├── .gitignore ├── LICENSE ├── README.md ├── composer.json ├── ebnf.pp2 ├── phpunit.xml ├── psalm.xml ├── src ├── Ast │ ├── CommentNode.php │ ├── HelpNode.php │ ├── LabelNode.php │ ├── LabelsNode.php │ ├── MetricDataNode.php │ ├── MetricNode.php │ ├── MetricTimestampNode.php │ ├── MetricValueNode.php │ ├── SchemaNode.php │ └── TypeNode.php ├── Exceptions │ └── GrammarFileNotFoundException.php ├── Parser.php ├── ParserFactory.php └── grammar.php └── tests ├── Ast ├── SchemaNodeTest.php └── TestCase.php ├── Parsers ├── HelpTest.php └── TestCase.php ├── TestCase.php └── schema.txt /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butschster/prometheus-parser/HEAD/.editorconfig -------------------------------------------------------------------------------- /.github/workflows/phpunit.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butschster/prometheus-parser/HEAD/.github/workflows/phpunit.yml -------------------------------------------------------------------------------- /.github/workflows/psalm.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butschster/prometheus-parser/HEAD/.github/workflows/psalm.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butschster/prometheus-parser/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butschster/prometheus-parser/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butschster/prometheus-parser/HEAD/README.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butschster/prometheus-parser/HEAD/composer.json -------------------------------------------------------------------------------- /ebnf.pp2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butschster/prometheus-parser/HEAD/ebnf.pp2 -------------------------------------------------------------------------------- /phpunit.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butschster/prometheus-parser/HEAD/phpunit.xml -------------------------------------------------------------------------------- /psalm.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butschster/prometheus-parser/HEAD/psalm.xml -------------------------------------------------------------------------------- /src/Ast/CommentNode.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butschster/prometheus-parser/HEAD/src/Ast/CommentNode.php -------------------------------------------------------------------------------- /src/Ast/HelpNode.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butschster/prometheus-parser/HEAD/src/Ast/HelpNode.php -------------------------------------------------------------------------------- /src/Ast/LabelNode.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butschster/prometheus-parser/HEAD/src/Ast/LabelNode.php -------------------------------------------------------------------------------- /src/Ast/LabelsNode.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butschster/prometheus-parser/HEAD/src/Ast/LabelsNode.php -------------------------------------------------------------------------------- /src/Ast/MetricDataNode.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butschster/prometheus-parser/HEAD/src/Ast/MetricDataNode.php -------------------------------------------------------------------------------- /src/Ast/MetricNode.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butschster/prometheus-parser/HEAD/src/Ast/MetricNode.php -------------------------------------------------------------------------------- /src/Ast/MetricTimestampNode.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butschster/prometheus-parser/HEAD/src/Ast/MetricTimestampNode.php -------------------------------------------------------------------------------- /src/Ast/MetricValueNode.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butschster/prometheus-parser/HEAD/src/Ast/MetricValueNode.php -------------------------------------------------------------------------------- /src/Ast/SchemaNode.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butschster/prometheus-parser/HEAD/src/Ast/SchemaNode.php -------------------------------------------------------------------------------- /src/Ast/TypeNode.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butschster/prometheus-parser/HEAD/src/Ast/TypeNode.php -------------------------------------------------------------------------------- /src/Exceptions/GrammarFileNotFoundException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butschster/prometheus-parser/HEAD/src/Exceptions/GrammarFileNotFoundException.php -------------------------------------------------------------------------------- /src/Parser.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butschster/prometheus-parser/HEAD/src/Parser.php -------------------------------------------------------------------------------- /src/ParserFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butschster/prometheus-parser/HEAD/src/ParserFactory.php -------------------------------------------------------------------------------- /src/grammar.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butschster/prometheus-parser/HEAD/src/grammar.php -------------------------------------------------------------------------------- /tests/Ast/SchemaNodeTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butschster/prometheus-parser/HEAD/tests/Ast/SchemaNodeTest.php -------------------------------------------------------------------------------- /tests/Ast/TestCase.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butschster/prometheus-parser/HEAD/tests/Ast/TestCase.php -------------------------------------------------------------------------------- /tests/Parsers/HelpTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butschster/prometheus-parser/HEAD/tests/Parsers/HelpTest.php -------------------------------------------------------------------------------- /tests/Parsers/TestCase.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butschster/prometheus-parser/HEAD/tests/Parsers/TestCase.php -------------------------------------------------------------------------------- /tests/TestCase.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butschster/prometheus-parser/HEAD/tests/TestCase.php -------------------------------------------------------------------------------- /tests/schema.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butschster/prometheus-parser/HEAD/tests/schema.txt --------------------------------------------------------------------------------