blob: 107cde5a333bb62bdcc199f6e15e16b33e9ab783 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
'/*' 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
|