@mermanjs/tree-sitter-mermaid 0.3.3 → 0.3.5
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/CHANGELOG.md +11 -0
- package/CMakeLists.txt +1 -1
- package/Makefile +1 -1
- package/README.md +6 -6
- package/grammar/families/class.js +4 -2
- package/grammar/families/flowchart.js +46 -24
- package/grammar/families/swimlane.js +1 -0
- package/grammar.js +3 -0
- package/metadata/derivations.json +19 -0
- package/metadata/provenance.json +1 -1
- package/package.json +1 -1
- package/prebuilds/darwin-arm64/@mermanjs+tree-sitter-mermaid.node +0 -0
- package/prebuilds/darwin-x64/@mermanjs+tree-sitter-mermaid.node +0 -0
- package/prebuilds/linux-x64/@mermanjs+tree-sitter-mermaid.node +0 -0
- package/prebuilds/win32-x64/@mermanjs+tree-sitter-mermaid.node +0 -0
- package/src/grammar.json +508 -193
- package/src/node-types.json +34 -5
- package/src/parser.c +190916 -185540
- package/src/scanner.c +168 -0
- package/tree-sitter-mermaid.wasm +0 -0
- package/tree-sitter.json +1 -1
package/src/grammar.json
CHANGED
|
@@ -10785,6 +10785,15 @@
|
|
|
10785
10785
|
"type": "SYMBOL",
|
|
10786
10786
|
"name": "identifier"
|
|
10787
10787
|
},
|
|
10788
|
+
{
|
|
10789
|
+
"type": "ALIAS",
|
|
10790
|
+
"content": {
|
|
10791
|
+
"type": "SYMBOL",
|
|
10792
|
+
"name": "_class_compact_identifier"
|
|
10793
|
+
},
|
|
10794
|
+
"named": true,
|
|
10795
|
+
"value": "identifier"
|
|
10796
|
+
},
|
|
10788
10797
|
{
|
|
10789
10798
|
"type": "TOKEN",
|
|
10790
10799
|
"content": {
|
|
@@ -10807,6 +10816,18 @@
|
|
|
10807
10816
|
{
|
|
10808
10817
|
"type": "STRING",
|
|
10809
10818
|
"value": "`"
|
|
10819
|
+
},
|
|
10820
|
+
{
|
|
10821
|
+
"type": "CHOICE",
|
|
10822
|
+
"members": [
|
|
10823
|
+
{
|
|
10824
|
+
"type": "PATTERN",
|
|
10825
|
+
"value": "~[^~\\r\\n]+~"
|
|
10826
|
+
},
|
|
10827
|
+
{
|
|
10828
|
+
"type": "BLANK"
|
|
10829
|
+
}
|
|
10830
|
+
]
|
|
10810
10831
|
}
|
|
10811
10832
|
]
|
|
10812
10833
|
},
|
|
@@ -10843,6 +10864,15 @@
|
|
|
10843
10864
|
"named": true,
|
|
10844
10865
|
"value": "identifier"
|
|
10845
10866
|
},
|
|
10867
|
+
{
|
|
10868
|
+
"type": "ALIAS",
|
|
10869
|
+
"content": {
|
|
10870
|
+
"type": "SYMBOL",
|
|
10871
|
+
"name": "_class_compact_identifier"
|
|
10872
|
+
},
|
|
10873
|
+
"named": true,
|
|
10874
|
+
"value": "identifier"
|
|
10875
|
+
},
|
|
10846
10876
|
{
|
|
10847
10877
|
"type": "IMMEDIATE_TOKEN",
|
|
10848
10878
|
"content": {
|
|
@@ -10865,6 +10895,18 @@
|
|
|
10865
10895
|
{
|
|
10866
10896
|
"type": "STRING",
|
|
10867
10897
|
"value": "`"
|
|
10898
|
+
},
|
|
10899
|
+
{
|
|
10900
|
+
"type": "CHOICE",
|
|
10901
|
+
"members": [
|
|
10902
|
+
{
|
|
10903
|
+
"type": "PATTERN",
|
|
10904
|
+
"value": "~[^~\\r\\n]+~"
|
|
10905
|
+
},
|
|
10906
|
+
{
|
|
10907
|
+
"type": "BLANK"
|
|
10908
|
+
}
|
|
10909
|
+
]
|
|
10868
10910
|
}
|
|
10869
10911
|
]
|
|
10870
10912
|
},
|
|
@@ -33840,52 +33882,107 @@
|
|
|
33840
33882
|
}
|
|
33841
33883
|
},
|
|
33842
33884
|
"swimlane_direction_statement": {
|
|
33843
|
-
"type": "
|
|
33844
|
-
"
|
|
33845
|
-
|
|
33846
|
-
|
|
33847
|
-
|
|
33848
|
-
|
|
33849
|
-
"type": "
|
|
33885
|
+
"type": "PREC_DYNAMIC",
|
|
33886
|
+
"value": 1,
|
|
33887
|
+
"content": {
|
|
33888
|
+
"type": "SEQ",
|
|
33889
|
+
"members": [
|
|
33890
|
+
{
|
|
33891
|
+
"type": "REPEAT",
|
|
33850
33892
|
"content": {
|
|
33851
|
-
"type": "
|
|
33893
|
+
"type": "SYMBOL",
|
|
33894
|
+
"name": "_flow_direction_prefix"
|
|
33895
|
+
}
|
|
33896
|
+
},
|
|
33897
|
+
{
|
|
33898
|
+
"type": "FIELD",
|
|
33899
|
+
"name": "keyword",
|
|
33900
|
+
"content": {
|
|
33901
|
+
"type": "ALIAS",
|
|
33852
33902
|
"content": {
|
|
33853
|
-
"type": "
|
|
33854
|
-
"value": 30,
|
|
33903
|
+
"type": "TOKEN",
|
|
33855
33904
|
"content": {
|
|
33856
|
-
"type": "
|
|
33857
|
-
"value":
|
|
33905
|
+
"type": "PREC",
|
|
33906
|
+
"value": -5,
|
|
33907
|
+
"content": {
|
|
33908
|
+
"type": "PATTERN",
|
|
33909
|
+
"value": "direction"
|
|
33910
|
+
}
|
|
33858
33911
|
}
|
|
33859
|
-
}
|
|
33860
|
-
|
|
33861
|
-
|
|
33862
|
-
|
|
33863
|
-
}
|
|
33864
|
-
|
|
33865
|
-
|
|
33866
|
-
"type": "IMMEDIATE_TOKEN",
|
|
33867
|
-
"content": {
|
|
33868
|
-
"type": "PATTERN",
|
|
33869
|
-
"value": "[ \\t]+"
|
|
33870
|
-
}
|
|
33871
|
-
},
|
|
33872
|
-
{
|
|
33873
|
-
"type": "FIELD",
|
|
33874
|
-
"name": "direction",
|
|
33875
|
-
"content": {
|
|
33876
|
-
"type": "ALIAS",
|
|
33912
|
+
},
|
|
33913
|
+
"named": true,
|
|
33914
|
+
"value": "swimlane_statement_keyword"
|
|
33915
|
+
}
|
|
33916
|
+
},
|
|
33917
|
+
{
|
|
33918
|
+
"type": "REPEAT",
|
|
33877
33919
|
"content": {
|
|
33878
|
-
"type": "
|
|
33920
|
+
"type": "SEQ",
|
|
33921
|
+
"members": [
|
|
33922
|
+
{
|
|
33923
|
+
"type": "SYMBOL",
|
|
33924
|
+
"name": "_line_ending"
|
|
33925
|
+
},
|
|
33926
|
+
{
|
|
33927
|
+
"type": "CHOICE",
|
|
33928
|
+
"members": [
|
|
33929
|
+
{
|
|
33930
|
+
"type": "ALIAS",
|
|
33931
|
+
"content": {
|
|
33932
|
+
"type": "TOKEN",
|
|
33933
|
+
"content": {
|
|
33934
|
+
"type": "PATTERN",
|
|
33935
|
+
"value": "%%[^{\\r\\n][^\\r\\n]*"
|
|
33936
|
+
}
|
|
33937
|
+
},
|
|
33938
|
+
"named": true,
|
|
33939
|
+
"value": "comment"
|
|
33940
|
+
},
|
|
33941
|
+
{
|
|
33942
|
+
"type": "BLANK"
|
|
33943
|
+
}
|
|
33944
|
+
]
|
|
33945
|
+
}
|
|
33946
|
+
]
|
|
33947
|
+
}
|
|
33948
|
+
},
|
|
33949
|
+
{
|
|
33950
|
+
"type": "FIELD",
|
|
33951
|
+
"name": "direction",
|
|
33952
|
+
"content": {
|
|
33953
|
+
"type": "ALIAS",
|
|
33879
33954
|
"content": {
|
|
33880
|
-
"type": "
|
|
33881
|
-
"
|
|
33955
|
+
"type": "TOKEN",
|
|
33956
|
+
"content": {
|
|
33957
|
+
"type": "PREC",
|
|
33958
|
+
"value": 1,
|
|
33959
|
+
"content": {
|
|
33960
|
+
"type": "PATTERN",
|
|
33961
|
+
"value": "(?:LR|RL|TB|BT|TD)"
|
|
33962
|
+
}
|
|
33963
|
+
}
|
|
33964
|
+
},
|
|
33965
|
+
"named": true,
|
|
33966
|
+
"value": "swimlane_direction"
|
|
33967
|
+
}
|
|
33968
|
+
},
|
|
33969
|
+
{
|
|
33970
|
+
"type": "CHOICE",
|
|
33971
|
+
"members": [
|
|
33972
|
+
{
|
|
33973
|
+
"type": "IMMEDIATE_TOKEN",
|
|
33974
|
+
"content": {
|
|
33975
|
+
"type": "PATTERN",
|
|
33976
|
+
"value": "[^;\\r\\n]+"
|
|
33977
|
+
}
|
|
33978
|
+
},
|
|
33979
|
+
{
|
|
33980
|
+
"type": "BLANK"
|
|
33882
33981
|
}
|
|
33883
|
-
|
|
33884
|
-
"named": true,
|
|
33885
|
-
"value": "swimlane_direction"
|
|
33982
|
+
]
|
|
33886
33983
|
}
|
|
33887
|
-
|
|
33888
|
-
|
|
33984
|
+
]
|
|
33985
|
+
}
|
|
33889
33986
|
},
|
|
33890
33987
|
"swimlane_edge_statement": {
|
|
33891
33988
|
"type": "PREC_RIGHT",
|
|
@@ -34027,7 +34124,12 @@
|
|
|
34027
34124
|
"type": "FIELD",
|
|
34028
34125
|
"name": "separator",
|
|
34029
34126
|
"content": {
|
|
34030
|
-
"type": "
|
|
34127
|
+
"type": "ALIAS",
|
|
34128
|
+
"content": {
|
|
34129
|
+
"type": "SYMBOL",
|
|
34130
|
+
"name": "_flowchart_group_separator"
|
|
34131
|
+
},
|
|
34132
|
+
"named": false,
|
|
34031
34133
|
"value": "&"
|
|
34032
34134
|
}
|
|
34033
34135
|
},
|
|
@@ -35778,7 +35880,7 @@
|
|
|
35778
35880
|
"type": "IMMEDIATE_TOKEN",
|
|
35779
35881
|
"content": {
|
|
35780
35882
|
"type": "PATTERN",
|
|
35781
|
-
"value": "[
|
|
35883
|
+
"value": "(?:[xo<]?[^-=.xo<\\r\\n])+|[xo<]"
|
|
35782
35884
|
}
|
|
35783
35885
|
},
|
|
35784
35886
|
"swimlane_arrow_start": {
|
|
@@ -37390,31 +37492,37 @@
|
|
|
37390
37492
|
"type": "CHOICE",
|
|
37391
37493
|
"members": [
|
|
37392
37494
|
{
|
|
37393
|
-
"type": "
|
|
37394
|
-
"
|
|
37395
|
-
|
|
37396
|
-
|
|
37397
|
-
|
|
37398
|
-
|
|
37399
|
-
|
|
37400
|
-
"content": {
|
|
37401
|
-
"type": "PATTERN",
|
|
37402
|
-
"value": "classDef(?:[A-Za-z0-9_.!?$%#\\u00c0-\\uffff]|-[A-Za-z0-9_\\u00c0-\\uffff])+"
|
|
37403
|
-
}
|
|
37404
|
-
}
|
|
37405
|
-
},
|
|
37406
|
-
{
|
|
37407
|
-
"type": "TOKEN",
|
|
37408
|
-
"content": {
|
|
37409
|
-
"type": "PREC",
|
|
37410
|
-
"value": 40,
|
|
37411
|
-
"content": {
|
|
37412
|
-
"type": "PATTERN",
|
|
37413
|
-
"value": "(?:subgraph|direction|class|style|linkStyle|click|accTitle|accDescr|end)(?:[A-Za-z0-9_.!?$%#\\u00c0-\\uffff]|-[A-Za-z0-9_\\u00c0-\\uffff])+"
|
|
37414
|
-
}
|
|
37415
|
-
}
|
|
37495
|
+
"type": "TOKEN",
|
|
37496
|
+
"content": {
|
|
37497
|
+
"type": "PREC",
|
|
37498
|
+
"value": 60,
|
|
37499
|
+
"content": {
|
|
37500
|
+
"type": "PATTERN",
|
|
37501
|
+
"value": "classDef(?:[A-Za-z0-9_/&\\u00c0-\\uffff.!?$%#]|-[A-Za-z0-9_/&\\u00c0-\\uffff])+"
|
|
37416
37502
|
}
|
|
37417
|
-
|
|
37503
|
+
}
|
|
37504
|
+
},
|
|
37505
|
+
{
|
|
37506
|
+
"type": "TOKEN",
|
|
37507
|
+
"content": {
|
|
37508
|
+
"type": "PREC",
|
|
37509
|
+
"value": 40,
|
|
37510
|
+
"content": {
|
|
37511
|
+
"type": "PATTERN",
|
|
37512
|
+
"value": "(?:subgraph|class|style|linkStyle|click|accTitle|accDescr|end)(?:[A-Za-z0-9_/&\\u00c0-\\uffff.!?$%#]|-[A-Za-z0-9_/&\\u00c0-\\uffff])+"
|
|
37513
|
+
}
|
|
37514
|
+
}
|
|
37515
|
+
},
|
|
37516
|
+
{
|
|
37517
|
+
"type": "TOKEN",
|
|
37518
|
+
"content": {
|
|
37519
|
+
"type": "PREC",
|
|
37520
|
+
"value": -5,
|
|
37521
|
+
"content": {
|
|
37522
|
+
"type": "PATTERN",
|
|
37523
|
+
"value": "direction"
|
|
37524
|
+
}
|
|
37525
|
+
}
|
|
37418
37526
|
},
|
|
37419
37527
|
{
|
|
37420
37528
|
"type": "TOKEN",
|
|
@@ -37423,9 +37531,37 @@
|
|
|
37423
37531
|
"value": -5,
|
|
37424
37532
|
"content": {
|
|
37425
37533
|
"type": "PATTERN",
|
|
37426
|
-
"value": "[A-Za-
|
|
37534
|
+
"value": "[A-Za-z_./&\\u00c0-\\uffff](?:(?:[A-Za-z0-9_/&\\u00c0-\\uffff.!?$%#]|-[A-Za-z0-9_/&\\u00c0-\\uffff])+)?"
|
|
37427
37535
|
}
|
|
37428
37536
|
}
|
|
37537
|
+
},
|
|
37538
|
+
{
|
|
37539
|
+
"type": "SEQ",
|
|
37540
|
+
"members": [
|
|
37541
|
+
{
|
|
37542
|
+
"type": "PATTERN",
|
|
37543
|
+
"value": "[0-9]+"
|
|
37544
|
+
},
|
|
37545
|
+
{
|
|
37546
|
+
"type": "CHOICE",
|
|
37547
|
+
"members": [
|
|
37548
|
+
{
|
|
37549
|
+
"type": "IMMEDIATE_TOKEN",
|
|
37550
|
+
"content": {
|
|
37551
|
+
"type": "PREC",
|
|
37552
|
+
"value": -5,
|
|
37553
|
+
"content": {
|
|
37554
|
+
"type": "PATTERN",
|
|
37555
|
+
"value": "(?:[A-Za-z0-9_/&\\u00c0-\\uffff.!?$%#]|-[A-Za-z0-9_/&\\u00c0-\\uffff])+"
|
|
37556
|
+
}
|
|
37557
|
+
}
|
|
37558
|
+
},
|
|
37559
|
+
{
|
|
37560
|
+
"type": "BLANK"
|
|
37561
|
+
}
|
|
37562
|
+
]
|
|
37563
|
+
}
|
|
37564
|
+
]
|
|
37429
37565
|
}
|
|
37430
37566
|
]
|
|
37431
37567
|
},
|
|
@@ -50304,52 +50440,107 @@
|
|
|
50304
50440
|
}
|
|
50305
50441
|
},
|
|
50306
50442
|
"flow_direction_statement": {
|
|
50307
|
-
"type": "
|
|
50308
|
-
"
|
|
50309
|
-
|
|
50310
|
-
|
|
50311
|
-
|
|
50312
|
-
|
|
50313
|
-
"type": "
|
|
50443
|
+
"type": "PREC_DYNAMIC",
|
|
50444
|
+
"value": 1,
|
|
50445
|
+
"content": {
|
|
50446
|
+
"type": "SEQ",
|
|
50447
|
+
"members": [
|
|
50448
|
+
{
|
|
50449
|
+
"type": "REPEAT",
|
|
50314
50450
|
"content": {
|
|
50315
|
-
"type": "
|
|
50451
|
+
"type": "SYMBOL",
|
|
50452
|
+
"name": "_flow_direction_prefix"
|
|
50453
|
+
}
|
|
50454
|
+
},
|
|
50455
|
+
{
|
|
50456
|
+
"type": "FIELD",
|
|
50457
|
+
"name": "keyword",
|
|
50458
|
+
"content": {
|
|
50459
|
+
"type": "ALIAS",
|
|
50316
50460
|
"content": {
|
|
50317
|
-
"type": "
|
|
50318
|
-
"value": 30,
|
|
50461
|
+
"type": "TOKEN",
|
|
50319
50462
|
"content": {
|
|
50320
|
-
"type": "
|
|
50321
|
-
"value":
|
|
50463
|
+
"type": "PREC",
|
|
50464
|
+
"value": -5,
|
|
50465
|
+
"content": {
|
|
50466
|
+
"type": "PATTERN",
|
|
50467
|
+
"value": "direction"
|
|
50468
|
+
}
|
|
50322
50469
|
}
|
|
50323
|
-
}
|
|
50324
|
-
|
|
50325
|
-
|
|
50326
|
-
|
|
50327
|
-
}
|
|
50328
|
-
|
|
50329
|
-
|
|
50330
|
-
"type": "IMMEDIATE_TOKEN",
|
|
50331
|
-
"content": {
|
|
50332
|
-
"type": "PATTERN",
|
|
50333
|
-
"value": "[ \\t]+"
|
|
50334
|
-
}
|
|
50335
|
-
},
|
|
50336
|
-
{
|
|
50337
|
-
"type": "FIELD",
|
|
50338
|
-
"name": "direction",
|
|
50339
|
-
"content": {
|
|
50340
|
-
"type": "ALIAS",
|
|
50470
|
+
},
|
|
50471
|
+
"named": true,
|
|
50472
|
+
"value": "flow_statement_keyword"
|
|
50473
|
+
}
|
|
50474
|
+
},
|
|
50475
|
+
{
|
|
50476
|
+
"type": "REPEAT",
|
|
50341
50477
|
"content": {
|
|
50342
|
-
"type": "
|
|
50478
|
+
"type": "SEQ",
|
|
50479
|
+
"members": [
|
|
50480
|
+
{
|
|
50481
|
+
"type": "SYMBOL",
|
|
50482
|
+
"name": "_line_ending"
|
|
50483
|
+
},
|
|
50484
|
+
{
|
|
50485
|
+
"type": "CHOICE",
|
|
50486
|
+
"members": [
|
|
50487
|
+
{
|
|
50488
|
+
"type": "ALIAS",
|
|
50489
|
+
"content": {
|
|
50490
|
+
"type": "TOKEN",
|
|
50491
|
+
"content": {
|
|
50492
|
+
"type": "PATTERN",
|
|
50493
|
+
"value": "%%[^{\\r\\n][^\\r\\n]*"
|
|
50494
|
+
}
|
|
50495
|
+
},
|
|
50496
|
+
"named": true,
|
|
50497
|
+
"value": "comment"
|
|
50498
|
+
},
|
|
50499
|
+
{
|
|
50500
|
+
"type": "BLANK"
|
|
50501
|
+
}
|
|
50502
|
+
]
|
|
50503
|
+
}
|
|
50504
|
+
]
|
|
50505
|
+
}
|
|
50506
|
+
},
|
|
50507
|
+
{
|
|
50508
|
+
"type": "FIELD",
|
|
50509
|
+
"name": "direction",
|
|
50510
|
+
"content": {
|
|
50511
|
+
"type": "ALIAS",
|
|
50343
50512
|
"content": {
|
|
50344
|
-
"type": "
|
|
50345
|
-
"
|
|
50513
|
+
"type": "TOKEN",
|
|
50514
|
+
"content": {
|
|
50515
|
+
"type": "PREC",
|
|
50516
|
+
"value": 1,
|
|
50517
|
+
"content": {
|
|
50518
|
+
"type": "PATTERN",
|
|
50519
|
+
"value": "(?:LR|RL|TB|BT|TD)"
|
|
50520
|
+
}
|
|
50521
|
+
}
|
|
50522
|
+
},
|
|
50523
|
+
"named": true,
|
|
50524
|
+
"value": "flow_direction"
|
|
50525
|
+
}
|
|
50526
|
+
},
|
|
50527
|
+
{
|
|
50528
|
+
"type": "CHOICE",
|
|
50529
|
+
"members": [
|
|
50530
|
+
{
|
|
50531
|
+
"type": "IMMEDIATE_TOKEN",
|
|
50532
|
+
"content": {
|
|
50533
|
+
"type": "PATTERN",
|
|
50534
|
+
"value": "[^;\\r\\n]+"
|
|
50535
|
+
}
|
|
50536
|
+
},
|
|
50537
|
+
{
|
|
50538
|
+
"type": "BLANK"
|
|
50346
50539
|
}
|
|
50347
|
-
|
|
50348
|
-
"named": true,
|
|
50349
|
-
"value": "flow_direction"
|
|
50540
|
+
]
|
|
50350
50541
|
}
|
|
50351
|
-
|
|
50352
|
-
|
|
50542
|
+
]
|
|
50543
|
+
}
|
|
50353
50544
|
},
|
|
50354
50545
|
"flow_edge_statement": {
|
|
50355
50546
|
"type": "PREC_RIGHT",
|
|
@@ -50491,7 +50682,12 @@
|
|
|
50491
50682
|
"type": "FIELD",
|
|
50492
50683
|
"name": "separator",
|
|
50493
50684
|
"content": {
|
|
50494
|
-
"type": "
|
|
50685
|
+
"type": "ALIAS",
|
|
50686
|
+
"content": {
|
|
50687
|
+
"type": "SYMBOL",
|
|
50688
|
+
"name": "_flowchart_group_separator"
|
|
50689
|
+
},
|
|
50690
|
+
"named": false,
|
|
50495
50691
|
"value": "&"
|
|
50496
50692
|
}
|
|
50497
50693
|
},
|
|
@@ -52242,7 +52438,7 @@
|
|
|
52242
52438
|
"type": "IMMEDIATE_TOKEN",
|
|
52243
52439
|
"content": {
|
|
52244
52440
|
"type": "PATTERN",
|
|
52245
|
-
"value": "[
|
|
52441
|
+
"value": "(?:[xo<]?[^-=.xo<\\r\\n])+|[xo<]"
|
|
52246
52442
|
}
|
|
52247
52443
|
},
|
|
52248
52444
|
"flow_arrow_start": {
|
|
@@ -53854,31 +54050,37 @@
|
|
|
53854
54050
|
"type": "CHOICE",
|
|
53855
54051
|
"members": [
|
|
53856
54052
|
{
|
|
53857
|
-
"type": "
|
|
53858
|
-
"
|
|
53859
|
-
|
|
53860
|
-
|
|
53861
|
-
|
|
53862
|
-
|
|
53863
|
-
|
|
53864
|
-
"content": {
|
|
53865
|
-
"type": "PATTERN",
|
|
53866
|
-
"value": "classDef(?:[A-Za-z0-9_.!?$%#\\u00c0-\\uffff]|-[A-Za-z0-9_\\u00c0-\\uffff])+"
|
|
53867
|
-
}
|
|
53868
|
-
}
|
|
53869
|
-
},
|
|
53870
|
-
{
|
|
53871
|
-
"type": "TOKEN",
|
|
53872
|
-
"content": {
|
|
53873
|
-
"type": "PREC",
|
|
53874
|
-
"value": 40,
|
|
53875
|
-
"content": {
|
|
53876
|
-
"type": "PATTERN",
|
|
53877
|
-
"value": "(?:subgraph|direction|class|style|linkStyle|click|accTitle|accDescr|end)(?:[A-Za-z0-9_.!?$%#\\u00c0-\\uffff]|-[A-Za-z0-9_\\u00c0-\\uffff])+"
|
|
53878
|
-
}
|
|
53879
|
-
}
|
|
54053
|
+
"type": "TOKEN",
|
|
54054
|
+
"content": {
|
|
54055
|
+
"type": "PREC",
|
|
54056
|
+
"value": 60,
|
|
54057
|
+
"content": {
|
|
54058
|
+
"type": "PATTERN",
|
|
54059
|
+
"value": "classDef(?:[A-Za-z0-9_/&\\u00c0-\\uffff.!?$%#]|-[A-Za-z0-9_/&\\u00c0-\\uffff])+"
|
|
53880
54060
|
}
|
|
53881
|
-
|
|
54061
|
+
}
|
|
54062
|
+
},
|
|
54063
|
+
{
|
|
54064
|
+
"type": "TOKEN",
|
|
54065
|
+
"content": {
|
|
54066
|
+
"type": "PREC",
|
|
54067
|
+
"value": 40,
|
|
54068
|
+
"content": {
|
|
54069
|
+
"type": "PATTERN",
|
|
54070
|
+
"value": "(?:subgraph|class|style|linkStyle|click|accTitle|accDescr|end)(?:[A-Za-z0-9_/&\\u00c0-\\uffff.!?$%#]|-[A-Za-z0-9_/&\\u00c0-\\uffff])+"
|
|
54071
|
+
}
|
|
54072
|
+
}
|
|
54073
|
+
},
|
|
54074
|
+
{
|
|
54075
|
+
"type": "TOKEN",
|
|
54076
|
+
"content": {
|
|
54077
|
+
"type": "PREC",
|
|
54078
|
+
"value": -5,
|
|
54079
|
+
"content": {
|
|
54080
|
+
"type": "PATTERN",
|
|
54081
|
+
"value": "direction"
|
|
54082
|
+
}
|
|
54083
|
+
}
|
|
53882
54084
|
},
|
|
53883
54085
|
{
|
|
53884
54086
|
"type": "TOKEN",
|
|
@@ -53887,9 +54089,37 @@
|
|
|
53887
54089
|
"value": -5,
|
|
53888
54090
|
"content": {
|
|
53889
54091
|
"type": "PATTERN",
|
|
53890
|
-
"value": "[A-Za-
|
|
54092
|
+
"value": "[A-Za-z_./&\\u00c0-\\uffff](?:(?:[A-Za-z0-9_/&\\u00c0-\\uffff.!?$%#]|-[A-Za-z0-9_/&\\u00c0-\\uffff])+)?"
|
|
53891
54093
|
}
|
|
53892
54094
|
}
|
|
54095
|
+
},
|
|
54096
|
+
{
|
|
54097
|
+
"type": "SEQ",
|
|
54098
|
+
"members": [
|
|
54099
|
+
{
|
|
54100
|
+
"type": "PATTERN",
|
|
54101
|
+
"value": "[0-9]+"
|
|
54102
|
+
},
|
|
54103
|
+
{
|
|
54104
|
+
"type": "CHOICE",
|
|
54105
|
+
"members": [
|
|
54106
|
+
{
|
|
54107
|
+
"type": "IMMEDIATE_TOKEN",
|
|
54108
|
+
"content": {
|
|
54109
|
+
"type": "PREC",
|
|
54110
|
+
"value": -5,
|
|
54111
|
+
"content": {
|
|
54112
|
+
"type": "PATTERN",
|
|
54113
|
+
"value": "(?:[A-Za-z0-9_/&\\u00c0-\\uffff.!?$%#]|-[A-Za-z0-9_/&\\u00c0-\\uffff])+"
|
|
54114
|
+
}
|
|
54115
|
+
}
|
|
54116
|
+
},
|
|
54117
|
+
{
|
|
54118
|
+
"type": "BLANK"
|
|
54119
|
+
}
|
|
54120
|
+
]
|
|
54121
|
+
}
|
|
54122
|
+
]
|
|
53893
54123
|
}
|
|
53894
54124
|
]
|
|
53895
54125
|
},
|
|
@@ -71486,52 +71716,107 @@
|
|
|
71486
71716
|
}
|
|
71487
71717
|
},
|
|
71488
71718
|
"agentflow_direction_statement": {
|
|
71489
|
-
"type": "
|
|
71490
|
-
"
|
|
71491
|
-
|
|
71492
|
-
|
|
71493
|
-
|
|
71494
|
-
|
|
71495
|
-
"type": "
|
|
71719
|
+
"type": "PREC_DYNAMIC",
|
|
71720
|
+
"value": 1,
|
|
71721
|
+
"content": {
|
|
71722
|
+
"type": "SEQ",
|
|
71723
|
+
"members": [
|
|
71724
|
+
{
|
|
71725
|
+
"type": "REPEAT",
|
|
71496
71726
|
"content": {
|
|
71497
|
-
"type": "
|
|
71727
|
+
"type": "SYMBOL",
|
|
71728
|
+
"name": "_flow_direction_prefix"
|
|
71729
|
+
}
|
|
71730
|
+
},
|
|
71731
|
+
{
|
|
71732
|
+
"type": "FIELD",
|
|
71733
|
+
"name": "keyword",
|
|
71734
|
+
"content": {
|
|
71735
|
+
"type": "ALIAS",
|
|
71498
71736
|
"content": {
|
|
71499
|
-
"type": "
|
|
71500
|
-
"value": 30,
|
|
71737
|
+
"type": "TOKEN",
|
|
71501
71738
|
"content": {
|
|
71502
|
-
"type": "
|
|
71503
|
-
"value":
|
|
71739
|
+
"type": "PREC",
|
|
71740
|
+
"value": -5,
|
|
71741
|
+
"content": {
|
|
71742
|
+
"type": "PATTERN",
|
|
71743
|
+
"value": "direction"
|
|
71744
|
+
}
|
|
71504
71745
|
}
|
|
71505
|
-
}
|
|
71506
|
-
|
|
71507
|
-
|
|
71508
|
-
|
|
71509
|
-
}
|
|
71510
|
-
|
|
71511
|
-
|
|
71512
|
-
"type": "IMMEDIATE_TOKEN",
|
|
71513
|
-
"content": {
|
|
71514
|
-
"type": "PATTERN",
|
|
71515
|
-
"value": "[ \\t]+"
|
|
71516
|
-
}
|
|
71517
|
-
},
|
|
71518
|
-
{
|
|
71519
|
-
"type": "FIELD",
|
|
71520
|
-
"name": "direction",
|
|
71521
|
-
"content": {
|
|
71522
|
-
"type": "ALIAS",
|
|
71746
|
+
},
|
|
71747
|
+
"named": true,
|
|
71748
|
+
"value": "agentflow_statement_keyword"
|
|
71749
|
+
}
|
|
71750
|
+
},
|
|
71751
|
+
{
|
|
71752
|
+
"type": "REPEAT",
|
|
71523
71753
|
"content": {
|
|
71524
|
-
"type": "
|
|
71754
|
+
"type": "SEQ",
|
|
71755
|
+
"members": [
|
|
71756
|
+
{
|
|
71757
|
+
"type": "SYMBOL",
|
|
71758
|
+
"name": "_line_ending"
|
|
71759
|
+
},
|
|
71760
|
+
{
|
|
71761
|
+
"type": "CHOICE",
|
|
71762
|
+
"members": [
|
|
71763
|
+
{
|
|
71764
|
+
"type": "ALIAS",
|
|
71765
|
+
"content": {
|
|
71766
|
+
"type": "TOKEN",
|
|
71767
|
+
"content": {
|
|
71768
|
+
"type": "PATTERN",
|
|
71769
|
+
"value": "%%[^{\\r\\n][^\\r\\n]*"
|
|
71770
|
+
}
|
|
71771
|
+
},
|
|
71772
|
+
"named": true,
|
|
71773
|
+
"value": "comment"
|
|
71774
|
+
},
|
|
71775
|
+
{
|
|
71776
|
+
"type": "BLANK"
|
|
71777
|
+
}
|
|
71778
|
+
]
|
|
71779
|
+
}
|
|
71780
|
+
]
|
|
71781
|
+
}
|
|
71782
|
+
},
|
|
71783
|
+
{
|
|
71784
|
+
"type": "FIELD",
|
|
71785
|
+
"name": "direction",
|
|
71786
|
+
"content": {
|
|
71787
|
+
"type": "ALIAS",
|
|
71525
71788
|
"content": {
|
|
71526
|
-
"type": "
|
|
71527
|
-
"
|
|
71789
|
+
"type": "TOKEN",
|
|
71790
|
+
"content": {
|
|
71791
|
+
"type": "PREC",
|
|
71792
|
+
"value": 1,
|
|
71793
|
+
"content": {
|
|
71794
|
+
"type": "PATTERN",
|
|
71795
|
+
"value": "(?:LR|RL|TB|BT|TD)"
|
|
71796
|
+
}
|
|
71797
|
+
}
|
|
71798
|
+
},
|
|
71799
|
+
"named": true,
|
|
71800
|
+
"value": "agentflow_direction"
|
|
71801
|
+
}
|
|
71802
|
+
},
|
|
71803
|
+
{
|
|
71804
|
+
"type": "CHOICE",
|
|
71805
|
+
"members": [
|
|
71806
|
+
{
|
|
71807
|
+
"type": "IMMEDIATE_TOKEN",
|
|
71808
|
+
"content": {
|
|
71809
|
+
"type": "PATTERN",
|
|
71810
|
+
"value": "[^;\\r\\n]+"
|
|
71811
|
+
}
|
|
71812
|
+
},
|
|
71813
|
+
{
|
|
71814
|
+
"type": "BLANK"
|
|
71528
71815
|
}
|
|
71529
|
-
|
|
71530
|
-
"named": true,
|
|
71531
|
-
"value": "agentflow_direction"
|
|
71816
|
+
]
|
|
71532
71817
|
}
|
|
71533
|
-
|
|
71534
|
-
|
|
71818
|
+
]
|
|
71819
|
+
}
|
|
71535
71820
|
},
|
|
71536
71821
|
"agentflow_edge_statement": {
|
|
71537
71822
|
"type": "PREC_RIGHT",
|
|
@@ -75035,31 +75320,37 @@
|
|
|
75035
75320
|
"type": "CHOICE",
|
|
75036
75321
|
"members": [
|
|
75037
75322
|
{
|
|
75038
|
-
"type": "
|
|
75039
|
-
"
|
|
75040
|
-
|
|
75041
|
-
|
|
75042
|
-
|
|
75043
|
-
|
|
75044
|
-
|
|
75045
|
-
"content": {
|
|
75046
|
-
"type": "PATTERN",
|
|
75047
|
-
"value": "classDef(?:[A-Za-z0-9_.!?$%#\\u00c0-\\uffff]|-[A-Za-z0-9_\\u00c0-\\uffff])+"
|
|
75048
|
-
}
|
|
75049
|
-
}
|
|
75050
|
-
},
|
|
75051
|
-
{
|
|
75052
|
-
"type": "TOKEN",
|
|
75053
|
-
"content": {
|
|
75054
|
-
"type": "PREC",
|
|
75055
|
-
"value": 40,
|
|
75056
|
-
"content": {
|
|
75057
|
-
"type": "PATTERN",
|
|
75058
|
-
"value": "(?:subgraph|direction|class|style|linkStyle|click|accTitle|accDescr|end)(?:[A-Za-z0-9_.!?$%#\\u00c0-\\uffff]|-[A-Za-z0-9_\\u00c0-\\uffff])+"
|
|
75059
|
-
}
|
|
75060
|
-
}
|
|
75323
|
+
"type": "TOKEN",
|
|
75324
|
+
"content": {
|
|
75325
|
+
"type": "PREC",
|
|
75326
|
+
"value": 60,
|
|
75327
|
+
"content": {
|
|
75328
|
+
"type": "PATTERN",
|
|
75329
|
+
"value": "classDef(?:[A-Za-z0-9_\\u00c0-\\uffff.!?$%#]|-[A-Za-z0-9_\\u00c0-\\uffff])+"
|
|
75061
75330
|
}
|
|
75062
|
-
|
|
75331
|
+
}
|
|
75332
|
+
},
|
|
75333
|
+
{
|
|
75334
|
+
"type": "TOKEN",
|
|
75335
|
+
"content": {
|
|
75336
|
+
"type": "PREC",
|
|
75337
|
+
"value": 40,
|
|
75338
|
+
"content": {
|
|
75339
|
+
"type": "PATTERN",
|
|
75340
|
+
"value": "(?:subgraph|class|style|linkStyle|click|accTitle|accDescr|end)(?:[A-Za-z0-9_\\u00c0-\\uffff.!?$%#]|-[A-Za-z0-9_\\u00c0-\\uffff])+"
|
|
75341
|
+
}
|
|
75342
|
+
}
|
|
75343
|
+
},
|
|
75344
|
+
{
|
|
75345
|
+
"type": "TOKEN",
|
|
75346
|
+
"content": {
|
|
75347
|
+
"type": "PREC",
|
|
75348
|
+
"value": -5,
|
|
75349
|
+
"content": {
|
|
75350
|
+
"type": "PATTERN",
|
|
75351
|
+
"value": "direction"
|
|
75352
|
+
}
|
|
75353
|
+
}
|
|
75063
75354
|
},
|
|
75064
75355
|
{
|
|
75065
75356
|
"type": "TOKEN",
|
|
@@ -75068,7 +75359,7 @@
|
|
|
75068
75359
|
"value": -5,
|
|
75069
75360
|
"content": {
|
|
75070
75361
|
"type": "PATTERN",
|
|
75071
|
-
"value": "[A-Za-z0-9_
|
|
75362
|
+
"value": "[A-Za-z0-9_.\\u00c0-\\uffff](?:(?:[A-Za-z0-9_\\u00c0-\\uffff.!?$%#]|-[A-Za-z0-9_\\u00c0-\\uffff])+)?"
|
|
75072
75363
|
}
|
|
75073
75364
|
}
|
|
75074
75365
|
}
|
|
@@ -77636,6 +77927,10 @@
|
|
|
77636
77927
|
"_radar_wardley_quoted_string",
|
|
77637
77928
|
"_radar_wardley_unclosed_quoted_string"
|
|
77638
77929
|
],
|
|
77930
|
+
[
|
|
77931
|
+
"agentflow_direction_statement",
|
|
77932
|
+
"agentflow_identifier"
|
|
77933
|
+
],
|
|
77639
77934
|
[
|
|
77640
77935
|
"_agentflow_labeled_edge",
|
|
77641
77936
|
"_agentflow_unlabeled_edge"
|
|
@@ -77680,6 +77975,10 @@
|
|
|
77680
77975
|
[
|
|
77681
77976
|
"event_gwt_then_group"
|
|
77682
77977
|
],
|
|
77978
|
+
[
|
|
77979
|
+
"flow_direction_statement",
|
|
77980
|
+
"flow_identifier"
|
|
77981
|
+
],
|
|
77683
77982
|
[
|
|
77684
77983
|
"_flow_labeled_edge",
|
|
77685
77984
|
"_flow_unlabeled_edge"
|
|
@@ -77715,6 +78014,10 @@
|
|
|
77715
78014
|
"state_composite_declaration",
|
|
77716
78015
|
"state_named_declaration"
|
|
77717
78016
|
],
|
|
78017
|
+
[
|
|
78018
|
+
"swimlane_direction_statement",
|
|
78019
|
+
"swimlane_identifier"
|
|
78020
|
+
],
|
|
77718
78021
|
[
|
|
77719
78022
|
"_swimlane_labeled_edge",
|
|
77720
78023
|
"_swimlane_unlabeled_edge"
|
|
@@ -77819,6 +78122,18 @@
|
|
|
77819
78122
|
{
|
|
77820
78123
|
"type": "SYMBOL",
|
|
77821
78124
|
"name": "_directive_body"
|
|
78125
|
+
},
|
|
78126
|
+
{
|
|
78127
|
+
"type": "SYMBOL",
|
|
78128
|
+
"name": "_class_compact_identifier"
|
|
78129
|
+
},
|
|
78130
|
+
{
|
|
78131
|
+
"type": "SYMBOL",
|
|
78132
|
+
"name": "_flowchart_group_separator"
|
|
78133
|
+
},
|
|
78134
|
+
{
|
|
78135
|
+
"type": "SYMBOL",
|
|
78136
|
+
"name": "_flow_direction_prefix"
|
|
77822
78137
|
}
|
|
77823
78138
|
],
|
|
77824
78139
|
"inline": [],
|