This repository has been archived on 2024-06-20. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
coffee.pygments/tests/snippets/promql/test_function_sum_with_args.txt
Georg Brandl b40b0cca06 Rename "tests/lexers" to "tests/snippets" and update the contribution
docs to point to both snippets and examplefiles.
2021-01-20 10:57:30 +01:00

19 lines
487 B
Text

---input---
sum by (app, proc) (instance_memory_usage_bytes)
---tokens---
'sum' Keyword
' ' Text.Whitespace
'by' Keyword
' ' Text.Whitespace
'(' Operator
'app' Name.Variable
',' Punctuation
' ' Text.Whitespace
'proc' Name.Variable
')' Operator
' ' Text.Whitespace
'(' Operator
'instance_memory_usage_bytes' Name.Variable
')' Operator
'\n' Text.Whitespace