Skip to content

Commit f2434ed

Browse files
committed
add function Cast
1 parent 5c07d1c commit f2434ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MDX.sublime-syntax

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ contexts:
1616
scope: constant.numeric.mdx
1717
- match: '"[^"]*"'
1818
scope: string.quoted.double.mdx
19-
- match: '\b(RIGHT|LEFT|Now|Year|Round|CatchException|DateAdd|DateAddDays|DateAddWorkdays|DateInPeriod|DateParse|DateSerial|DateToTimestamp|DateWithoutTime|getDate|NextStartDate|Now|StartDate|TimestampToDate|CurrentHierarchy|Hierarchy|Dimension|Dimensions|AnyDateInPeriod|Case|DateAfterPeriodEnd|DateBeforePeriodEnd|DateBetween|DateBetween|getBoolean|IIf|Ancestor|ClosingPeriod|CurrentDateMember|CurrentHierarchyMember|CurrentMember|CurrentUser|CurrentUserEmail|CurrentUserName|DataMember|DateMember|DateMembersBetween|DefaultMember|FirstChild|FirstSibling|GetLinkedMember|GetLinkedMembers|GetLinkedMemberName|GetLinkedMemberNames|GetMemberByKey|GetMembersByKeys|GetMemberNameByKey|GetMemberNamesByKeys|Item|Lag|LastChild|LastSibling|Lead|Members|NextMember|OpeningPeriod|ParallelPeriod|Parent|PrevMember|PreviousPeriods|StrToMember|Abs|Aggregate|Avg|CoalesceEmpty|ConstantColumnValue|ConstantValue|Correlation|Count|Covariance|CovarianceN|CumulativeSum|DateCompare|DateDiffDays|DateDiffWorkdays|DateDiffHours|DateDiffMinutes|DateDiffWorkhours|FirstQ|getNumber|Int|Len|LinRegIntercept|LinRegPoint|LinRegR2|LinRegSlope|Max|Median|Min|NonZero|Ordinal|Percentile|Power|PreviousRowValue|Rank|Round|SparklineData|Stddev|StddevP|Stdev|StdevP|Sum|ThirdQ|Val|Value|Var|VarP|Variance|VarianceP|AddCalculatedMembers|AllMembers|Ascendants|BottomCount|BottomPercent|BottomSum|Cache|CascadingChildrenSet|Children|ChildrenSet|Crossjoin|Descendants|DescendantsSet|Distinct|DrilldownLevel|DrilldownLevelBottom|DrilldownLevelTop|DrilldownMember|Except|Exists|Extract|Filter|Generate|Head|Hierarchize|Intersect|LastPeriods|Members|Mtd|NonEmptyCrossJoin|Order|PeriodsToDate|Qtd|Siblings|StrToSet|StripCalculatedMembers|Subset|Tail|ToggleDrillState|TopCount|TopPercent|TopSum|Union|Unorder|VisibleColumnsSet|VisibleRowsSet|VisualTotals|Wtd|Ytd|AllProperties|CoalesceEmpty|ExtractString|Format|Generate|get|GetCaption|getProperty|getString|GetMemberNameByKey|GetMemberNamesByKeys|IIF|Instr|LCase|LTrim|Left|Mid|Name|NonEmptyString|Properties|RTrim|Replace|Right|SetToStr|Str|Titleize|Trim|TupleToStr|UCase|UniqueName|Current|DefaultContext|Item|StrToTuple)\b'
19+
- match: '\b(RIGHT|LEFT|Now|Year|Round|CatchException|Cast|DateAdd|DateAddDays|DateAddWorkdays|DateInPeriod|DateParse|DateSerial|DateToTimestamp|DateWithoutTime|getDate|NextStartDate|Now|StartDate|TimestampToDate|CurrentHierarchy|Hierarchy|Dimension|Dimensions|AnyDateInPeriod|Case|DateAfterPeriodEnd|DateBeforePeriodEnd|DateBetween|DateBetween|getBoolean|IIf|Ancestor|ClosingPeriod|CurrentDateMember|CurrentHierarchyMember|CurrentMember|CurrentUser|CurrentUserEmail|CurrentUserName|DataMember|DateMember|DateMembersBetween|DefaultMember|FirstChild|FirstSibling|GetLinkedMember|GetLinkedMembers|GetLinkedMemberName|GetLinkedMemberNames|GetMemberByKey|GetMembersByKeys|GetMemberNameByKey|GetMemberNamesByKeys|Item|Lag|LastChild|LastSibling|Lead|Members|NextMember|OpeningPeriod|ParallelPeriod|Parent|PrevMember|PreviousPeriods|StrToMember|Abs|Aggregate|Avg|CoalesceEmpty|ConstantColumnValue|ConstantValue|Correlation|Count|Covariance|CovarianceN|CumulativeSum|DateCompare|DateDiffDays|DateDiffWorkdays|DateDiffHours|DateDiffMinutes|DateDiffWorkhours|FirstQ|getNumber|Int|Len|LinRegIntercept|LinRegPoint|LinRegR2|LinRegSlope|Max|Median|Min|NonZero|Ordinal|Percentile|Power|PreviousRowValue|Rank|Round|SparklineData|Stddev|StddevP|Stdev|StdevP|Sum|ThirdQ|Val|Value|Var|VarP|Variance|VarianceP|AddCalculatedMembers|AllMembers|Ascendants|BottomCount|BottomPercent|BottomSum|Cache|CascadingChildrenSet|Children|ChildrenSet|Crossjoin|Descendants|DescendantsSet|Distinct|DrilldownLevel|DrilldownLevelBottom|DrilldownLevelTop|DrilldownMember|Except|Exists|Extract|Filter|Generate|Head|Hierarchize|Intersect|LastPeriods|Members|Mtd|NonEmptyCrossJoin|Order|PeriodsToDate|Qtd|Siblings|StrToSet|StripCalculatedMembers|Subset|Tail|ToggleDrillState|TopCount|TopPercent|TopSum|Union|Unorder|VisibleColumnsSet|VisibleRowsSet|VisualTotals|Wtd|Ytd|AllProperties|CoalesceEmpty|ExtractString|Format|Generate|get|GetCaption|getProperty|getString|GetMemberNameByKey|GetMemberNamesByKeys|IIF|Instr|LCase|LTrim|Left|Mid|Name|NonEmptyString|Properties|RTrim|Replace|Right|SetToStr|Str|Titleize|Trim|TupleToStr|UCase|UniqueName|Current|DefaultContext|Item|StrToTuple)\b'
2020
scope: support.function.mdx
2121
- match: '(\+|-|\*|/|=|\|\||\{|\})'
2222
scope: keyword.operator.mdx

0 commit comments

Comments
 (0)