@@ -155,6 +155,7 @@ $variable.Name.Method( )
155
155
# ^^^^ variable.other.member
156
156
# ^ punctuation.accessor.dot
157
157
# ^^^^^^ meta.function-call variable.function
158
+ # @@@@@@ reference
158
159
# ^^^ meta.function-call.arguments
159
160
# ^^^^^^^^^^^^^^^ - variable.other.readwrite
160
161
# ^ - meta.function-call
@@ -606,6 +607,7 @@ There is no @platting here!
606
607
# ^ punctuation.section.brackets.end
607
608
# ^^ punctuation.accessor.double-colon
608
609
# ^^^^^ meta.function-call variable.function
610
+ # @@@@@ reference
609
611
# ^^^^^^^^^^^^^^ meta.function-call.arguments
610
612
# ^ punctuation.section.arguments.begin
611
613
# ^ punctuation.section.arguments.end
@@ -828,46 +830,55 @@ switch ('this') {
828
830
functioN MyFunction {}
829
831
# <- storage.type
830
832
# ^^^^^^^^^^ entity.name.function
833
+ # @@@@@@@@@@ definition
831
834
# ^ punctuation.section.braces.begin
832
835
# ^ punctuation.section.braces.end
833
836
function My-Function {}
834
837
# <- storage.type
835
838
# ^^^^^^^^^^^ entity.name.function
839
+ # @@@@@@@@@@@ definition
836
840
# ^ punctuation.section.braces.begin
837
841
# ^ punctuation.section.braces.end
838
842
Function My.Function {}
839
843
# <- storage.type
840
844
# ^^^^^^^^^^^ entity.name.function
845
+ # @@@@@@@@@@@ definition
841
846
# ^ punctuation.section.braces.begin
842
847
# ^ punctuation.section.braces.end
843
848
function My-Function.Other {}
844
849
# <- storage.type
845
850
# ^^^^^^^^^^^^^^^^^ entity.name.function
851
+ # @@@@@@@@@@@@@@@@@ definition
846
852
# ^ punctuation.section.braces.begin
847
853
# ^ punctuation.section.braces.end
848
854
function Some.other.function {}
849
855
# <- storage.type
850
856
# ^^^^^^^^^^^^^^^^^^^ entity.name.function
857
+ # @@@@@@@@@@@@@@@@@@@ definition
851
858
# ^ punctuation.section.braces.begin
852
859
# ^ punctuation.section.braces.end
853
860
FUNCTION MyFunction2 {}
854
861
# <- storage.type
855
862
# ^^^^^^^^^^^ entity.name.function
863
+ # @@@@@@@@@@ definition
856
864
# ^ punctuation.section.braces.begin
857
865
# ^ punctuation.section.braces.end
858
866
function New-File { }
859
867
# <- storage.type
860
868
# ^^^^^^^^ entity.name.function
869
+ # @@@@@@@@ definition
861
870
# ^ punctuation.section.braces.begin
862
871
# ^ punctuation.section.braces.end
863
872
function New-File ($Name ) { }
864
873
# <- storage.type
865
874
# ^^^^^^^^ entity.name.function
875
+ # @@@@@@@@ definition
866
876
# ^ punctuation.section.braces.begin
867
877
# ^ punctuation.section.braces.end
868
878
function NewFile ($Name ) { }
869
879
# <- storage.type
870
880
# ^^^^^^^ entity.name.function
881
+ # @@@@@@@ definition
871
882
# ^ punctuation.section.group.begin
872
883
# ^ punctuation.definition.variable
873
884
# ^ variable.other.readwrite
@@ -877,6 +888,7 @@ function NewFile($Name) { }
877
888
filter myfilter ($param ) {}
878
889
# <- storage.type
879
890
# ^^^^^^^^ entity.name.function
891
+ # @@@@@@@@ definition
880
892
# ^ punctuation.section.group.begin
881
893
# ^ punctuation.definition.variable
882
894
# ^ variable.other.readwrite
@@ -886,6 +898,7 @@ filter myfilter($param) {}
886
898
Filter my-Filter ($param ){}
887
899
# <- storage.type
888
900
# ^^^^^^^^^ entity.name.function
901
+ # @@@@@@@@@ definition
889
902
# ^ punctuation.section.group.begin
890
903
# ^ punctuation.definition.variable
891
904
# ^ variable.other.readwrite
@@ -897,6 +910,7 @@ Filter my-Filter ($param){}
897
910
function Test-Drive ([string ]$roman ) {
898
911
# <- storage.type
899
912
# ^^^^^^^^^^ entity.name.function
913
+ # @@@@@@@@@@ definition
900
914
# ^ punctuation.section.group.begin
901
915
# ^ punctuation.section.brackets.begin
902
916
# ^^^^^^ storage.type
@@ -915,8 +929,10 @@ function Test-Drive([string]$roman) {
915
929
# <- punctuation.section.braces.end
916
930
917
931
function Verb-Noun
918
- # <- meta.function storage.type
919
- # ^ meta.function entity.name.function
932
+ # ^^^^^^^^^^^^^^^^^ meta.function
933
+ # ^^^^^^^ storage.type
934
+ # ^^^^^^^^^ meta.function entity.name.function
935
+ # @@@@@@@@@ definition
920
936
{
921
937
# <- punctuation.section.braces.begin
922
938
@@ -1042,6 +1058,7 @@ function Verb-Noun
1042
1058
class Vehicle {
1043
1059
# <- storage.type.class
1044
1060
# ^^^^^^^ entity.name.class
1061
+ # @@@@@@@ definition
1045
1062
# ^ punctuation.section.braces.begin
1046
1063
Vehicle() {}
1047
1064
# ^ punctuation.section.group.begin
@@ -1109,7 +1126,8 @@ catch { }
1109
1126
# Reserved words
1110
1127
Configuration Crazyness {
1111
1128
# <- storage.type
1112
- # ^ entity.name.function
1129
+ # ^^^^^^^^^ entity.name.function
1130
+ # @@@@@@@@@ definition
1113
1131
# ^ punctuation.section.braces.begin
1114
1132
Node Whatever {
1115
1133
# ^ punctuation.section.braces.begin
@@ -1360,6 +1378,7 @@ $file = join-path $env:SystemDrive "$([System.io.path]::GetRandomFileName()).ps1
1360
1378
# ^ variable.other.readwrite
1361
1379
# ^ string.quoted.double punctuation.definition.variable
1362
1380
# ^ storage.type
1381
+ # @@@@@@@@@@@@@@@@@ reference
1363
1382
$ScriptBlock | Out-File $file - Force
1364
1383
# <- punctuation.definition.variable
1365
1384
# ^ keyword.operator.logical.pipe
@@ -1368,12 +1387,14 @@ $ScriptBlock | Out-File $file -Force
1368
1387
# ^^^^^^ variable.parameter.option
1369
1388
workflow w1 {}
1370
1389
# <- storage.type
1371
- # ^ entity.name.function
1390
+ # ^^ entity.name.function
1391
+ # @@ definition
1372
1392
# ^ punctuation.section.braces.begin
1373
1393
# ^ punctuation.section.braces.end
1374
1394
Workflow work { sequence {} }
1375
1395
# <- storage.type
1376
- # ^ entity.name.function
1396
+ # ^^^^ entity.name.function
1397
+ # @@@@ definition
1377
1398
# ^ punctuation.section.braces.begin
1378
1399
# ^^^^^^^^ keyword.control
1379
1400
# ^ punctuation.section.braces.begin
@@ -1408,6 +1429,7 @@ get-thing | Out-WithYou > $null # destroy
1408
1429
# ^^^^^^ storage.type
1409
1430
# ^^ punctuation.accessor.double-colon
1410
1431
# ^^^^^^ meta.function-call variable.function
1432
+ # @@@@@@ reference
1411
1433
# ^ meta.group.complex.subexpression punctuation.section.arguments.begin
1412
1434
# ^ meta.group.complex.subexpression punctuation.section.arguments.end
1413
1435
# ^ meta.group.complex.subexpression punctuation.section.group.end
0 commit comments