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/examplefiles/dax/dax_example1.dax.output
Greg de Lima 4ae9e07ddc
Add new lexer for DAX (#2335)
Co-authored-by: Jean Abou-Samra <jean@abou-samra.fr>
2023-02-13 17:12:01 +01:00

45 lines
1.3 KiB
Text
Generated

'/*' Comment.Multiline
' This calculation sums sales divided\nby days in the month \nmultiplied by current MTD\n' Comment.Multiline
'*/' Comment.Multiline
'\n' Text.Whitespace
'Total Sales Spread = (\n' Text
' ' Text.Whitespace
'--This line does a calculate\n' Comment.Single
' ' Text.Whitespace
'CALCULATE' Name.Function
' ' Text.Whitespace
'(' Punctuation
'\n ' Text.Whitespace
'SUM' Name.Function
' ' Text.Whitespace
'(' Punctuation
' ' Text.Whitespace
'TABLE1[SALES]' Name.Attribute
')' Punctuation
',' Punctuation
'\n ' Text.Whitespace
'PBCS_PLAN_FCST[Scenario]' Name.Attribute
' ' Text.Whitespace
'=' Operator
' ' Text.Whitespace
'"' Literal.String
'Plan' Literal.String
'"' Literal.String
'\n ' Text.Whitespace
')' Punctuation
' ' Text.Whitespace
'/' Operator
' ' Text.Whitespace
"'Days in Month'[Days in Month Value]" Name.Attribute
'\n' Text.Whitespace
')' Punctuation
' ' Text.Whitespace
'*' Operator
' ' Text.Whitespace
"'Current MTD'[Current MTD Value]" Name.Attribute
'\n' Text.Whitespace