@salesforce/apex-tmlanguage 2.0.2 → 2.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/grammars/apex.tmLanguage
CHANGED
|
@@ -2921,6 +2921,10 @@
|
|
|
2921
2921
|
<dict>
|
|
2922
2922
|
<key>patterns</key>
|
|
2923
2923
|
<array>
|
|
2924
|
+
<dict>
|
|
2925
|
+
<key>include</key>
|
|
2926
|
+
<string>#multiline-string-literal</string>
|
|
2927
|
+
</dict>
|
|
2924
2928
|
<dict>
|
|
2925
2929
|
<key>include</key>
|
|
2926
2930
|
<string>#string-literal</string>
|
|
@@ -2941,6 +2945,10 @@
|
|
|
2941
2945
|
<dict>
|
|
2942
2946
|
<key>patterns</key>
|
|
2943
2947
|
<array>
|
|
2948
|
+
<dict>
|
|
2949
|
+
<key>include</key>
|
|
2950
|
+
<string>#multiline-string-literal</string>
|
|
2951
|
+
</dict>
|
|
2944
2952
|
<dict>
|
|
2945
2953
|
<key>include</key>
|
|
2946
2954
|
<string>#string-literal</string>
|
|
@@ -3686,9 +3694,9 @@
|
|
|
3686
3694
|
<key>multiline-string-literal</key>
|
|
3687
3695
|
<dict>
|
|
3688
3696
|
<key>name</key>
|
|
3689
|
-
<string>string.quoted.single.multiline.apex</string>
|
|
3697
|
+
<string>string.quoted.single.apex string.quoted.single.multiline.apex</string>
|
|
3690
3698
|
<key>begin</key>
|
|
3691
|
-
<string>'''</string>
|
|
3699
|
+
<string>'''(?=$)</string>
|
|
3692
3700
|
<key>beginCaptures</key>
|
|
3693
3701
|
<dict>
|
|
3694
3702
|
<key>0</key>
|
|
@@ -3713,10 +3721,6 @@
|
|
|
3713
3721
|
<key>include</key>
|
|
3714
3722
|
<string>#string-character-escape</string>
|
|
3715
3723
|
</dict>
|
|
3716
|
-
<dict>
|
|
3717
|
-
<key>include</key>
|
|
3718
|
-
<string>#string-template-expression</string>
|
|
3719
|
-
</dict>
|
|
3720
3724
|
</array>
|
|
3721
3725
|
</dict>
|
|
3722
3726
|
<key>string-literal</key>
|
|
@@ -3772,7 +3776,7 @@
|
|
|
3772
3776
|
<key>name</key>
|
|
3773
3777
|
<string>meta.template-expression.apex</string>
|
|
3774
3778
|
<key>begin</key>
|
|
3775
|
-
<string
|
|
3779
|
+
<string>(?<!\\)\$\{</string>
|
|
3776
3780
|
<key>beginCaptures</key>
|
|
3777
3781
|
<dict>
|
|
3778
3782
|
<key>0</key>
|
|
@@ -3797,7 +3801,7 @@
|
|
|
3797
3801
|
<key>name</key>
|
|
3798
3802
|
<string>variable.other.readwrite.apex</string>
|
|
3799
3803
|
<key>match</key>
|
|
3800
|
-
<string
|
|
3804
|
+
<string>\G@?[A-Za-z_][A-Za-z0-9_]*(?:\.[A-Za-z_][A-Za-z0-9_]*)*</string>
|
|
3801
3805
|
</dict>
|
|
3802
3806
|
</array>
|
|
3803
3807
|
</dict>
|
|
@@ -1720,6 +1720,9 @@ repository:
|
|
|
1720
1720
|
name: 'keyword.control.switch.when.apex'
|
|
1721
1721
|
'2':
|
|
1722
1722
|
patterns: [
|
|
1723
|
+
{
|
|
1724
|
+
include: '#multiline-string-literal'
|
|
1725
|
+
}
|
|
1723
1726
|
{
|
|
1724
1727
|
include: '#string-literal'
|
|
1725
1728
|
}
|
|
@@ -1732,6 +1735,9 @@ repository:
|
|
|
1732
1735
|
]
|
|
1733
1736
|
'5':
|
|
1734
1737
|
patterns: [
|
|
1738
|
+
{
|
|
1739
|
+
include: '#multiline-string-literal'
|
|
1740
|
+
}
|
|
1735
1741
|
{
|
|
1736
1742
|
include: '#string-literal'
|
|
1737
1743
|
}
|
|
@@ -2178,8 +2184,8 @@ repository:
|
|
|
2178
2184
|
}
|
|
2179
2185
|
]
|
|
2180
2186
|
'multiline-string-literal':
|
|
2181
|
-
name: 'string.quoted.single.multiline.apex'
|
|
2182
|
-
begin: "'''"
|
|
2187
|
+
name: 'string.quoted.single.apex string.quoted.single.multiline.apex'
|
|
2188
|
+
begin: "'''(?=$)"
|
|
2183
2189
|
beginCaptures:
|
|
2184
2190
|
'0':
|
|
2185
2191
|
name: 'punctuation.definition.string.begin.apex'
|
|
@@ -2191,9 +2197,6 @@ repository:
|
|
|
2191
2197
|
{
|
|
2192
2198
|
include: '#string-character-escape'
|
|
2193
2199
|
}
|
|
2194
|
-
{
|
|
2195
|
-
include: '#string-template-expression'
|
|
2196
|
-
}
|
|
2197
2200
|
]
|
|
2198
2201
|
'string-literal':
|
|
2199
2202
|
name: 'string.quoted.single.apex'
|
|
@@ -2220,7 +2223,7 @@ repository:
|
|
|
2220
2223
|
match: '\\\\.'
|
|
2221
2224
|
'string-template-expression':
|
|
2222
2225
|
name: 'meta.template-expression.apex'
|
|
2223
|
-
begin: '\\$\\{'
|
|
2226
|
+
begin: '(?<!\\\\)\\$\\{'
|
|
2224
2227
|
beginCaptures:
|
|
2225
2228
|
'0':
|
|
2226
2229
|
name: 'punctuation.definition.template-expression.begin.apex'
|
|
@@ -2231,7 +2234,7 @@ repository:
|
|
|
2231
2234
|
patterns: [
|
|
2232
2235
|
{
|
|
2233
2236
|
name: 'variable.other.readwrite.apex'
|
|
2234
|
-
match: '@?[
|
|
2237
|
+
match: '\\G@?[A-Za-z_][A-Za-z0-9_]*(?:\\.[A-Za-z_][A-Za-z0-9_]*)*'
|
|
2235
2238
|
}
|
|
2236
2239
|
]
|
|
2237
2240
|
'expression-operators':
|
package/grammars/soql.tmLanguage
CHANGED
|
@@ -2903,6 +2903,10 @@
|
|
|
2903
2903
|
<dict>
|
|
2904
2904
|
<key>patterns</key>
|
|
2905
2905
|
<array>
|
|
2906
|
+
<dict>
|
|
2907
|
+
<key>include</key>
|
|
2908
|
+
<string>#multiline-string-literal</string>
|
|
2909
|
+
</dict>
|
|
2906
2910
|
<dict>
|
|
2907
2911
|
<key>include</key>
|
|
2908
2912
|
<string>#string-literal</string>
|
|
@@ -2923,6 +2927,10 @@
|
|
|
2923
2927
|
<dict>
|
|
2924
2928
|
<key>patterns</key>
|
|
2925
2929
|
<array>
|
|
2930
|
+
<dict>
|
|
2931
|
+
<key>include</key>
|
|
2932
|
+
<string>#multiline-string-literal</string>
|
|
2933
|
+
</dict>
|
|
2926
2934
|
<dict>
|
|
2927
2935
|
<key>include</key>
|
|
2928
2936
|
<string>#string-literal</string>
|
|
@@ -3668,9 +3676,9 @@
|
|
|
3668
3676
|
<key>multiline-string-literal</key>
|
|
3669
3677
|
<dict>
|
|
3670
3678
|
<key>name</key>
|
|
3671
|
-
<string>string.quoted.single.multiline.apex</string>
|
|
3679
|
+
<string>string.quoted.single.apex string.quoted.single.multiline.apex</string>
|
|
3672
3680
|
<key>begin</key>
|
|
3673
|
-
<string>'''</string>
|
|
3681
|
+
<string>'''(?=$)</string>
|
|
3674
3682
|
<key>beginCaptures</key>
|
|
3675
3683
|
<dict>
|
|
3676
3684
|
<key>0</key>
|
|
@@ -3695,10 +3703,6 @@
|
|
|
3695
3703
|
<key>include</key>
|
|
3696
3704
|
<string>#string-character-escape</string>
|
|
3697
3705
|
</dict>
|
|
3698
|
-
<dict>
|
|
3699
|
-
<key>include</key>
|
|
3700
|
-
<string>#string-template-expression</string>
|
|
3701
|
-
</dict>
|
|
3702
3706
|
</array>
|
|
3703
3707
|
</dict>
|
|
3704
3708
|
<key>string-literal</key>
|
|
@@ -3754,7 +3758,7 @@
|
|
|
3754
3758
|
<key>name</key>
|
|
3755
3759
|
<string>meta.template-expression.apex</string>
|
|
3756
3760
|
<key>begin</key>
|
|
3757
|
-
<string
|
|
3761
|
+
<string>(?<!\\)\$\{</string>
|
|
3758
3762
|
<key>beginCaptures</key>
|
|
3759
3763
|
<dict>
|
|
3760
3764
|
<key>0</key>
|
|
@@ -3779,7 +3783,7 @@
|
|
|
3779
3783
|
<key>name</key>
|
|
3780
3784
|
<string>variable.other.readwrite.apex</string>
|
|
3781
3785
|
<key>match</key>
|
|
3782
|
-
<string
|
|
3786
|
+
<string>\G@?[A-Za-z_][A-Za-z0-9_]*(?:\.[A-Za-z_][A-Za-z0-9_]*)*</string>
|
|
3783
3787
|
</dict>
|
|
3784
3788
|
</array>
|
|
3785
3789
|
</dict>
|