@mermanjs/tree-sitter-mermaid 0.3.4 → 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 +6 -0
- package/CMakeLists.txt +1 -1
- package/Makefile +1 -1
- package/README.md +2 -2
- package/grammar/families/flowchart.js +46 -24
- package/grammar/families/swimlane.js +1 -0
- package/grammar.js +2 -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 +462 -193
- package/src/node-types.json +34 -5
- package/src/parser.c +191361 -186070
- package/src/scanner.c +118 -0
- package/tree-sitter-mermaid.wasm +0 -0
- package/tree-sitter.json +1 -1
package/src/grammar.json
CHANGED
|
@@ -33882,52 +33882,107 @@
|
|
|
33882
33882
|
}
|
|
33883
33883
|
},
|
|
33884
33884
|
"swimlane_direction_statement": {
|
|
33885
|
-
"type": "
|
|
33886
|
-
"
|
|
33887
|
-
|
|
33888
|
-
|
|
33889
|
-
|
|
33890
|
-
|
|
33891
|
-
"type": "
|
|
33885
|
+
"type": "PREC_DYNAMIC",
|
|
33886
|
+
"value": 1,
|
|
33887
|
+
"content": {
|
|
33888
|
+
"type": "SEQ",
|
|
33889
|
+
"members": [
|
|
33890
|
+
{
|
|
33891
|
+
"type": "REPEAT",
|
|
33892
33892
|
"content": {
|
|
33893
|
-
"type": "
|
|
33893
|
+
"type": "SYMBOL",
|
|
33894
|
+
"name": "_flow_direction_prefix"
|
|
33895
|
+
}
|
|
33896
|
+
},
|
|
33897
|
+
{
|
|
33898
|
+
"type": "FIELD",
|
|
33899
|
+
"name": "keyword",
|
|
33900
|
+
"content": {
|
|
33901
|
+
"type": "ALIAS",
|
|
33894
33902
|
"content": {
|
|
33895
|
-
"type": "
|
|
33896
|
-
"value": 30,
|
|
33903
|
+
"type": "TOKEN",
|
|
33897
33904
|
"content": {
|
|
33898
|
-
"type": "
|
|
33899
|
-
"value":
|
|
33905
|
+
"type": "PREC",
|
|
33906
|
+
"value": -5,
|
|
33907
|
+
"content": {
|
|
33908
|
+
"type": "PATTERN",
|
|
33909
|
+
"value": "direction"
|
|
33910
|
+
}
|
|
33900
33911
|
}
|
|
33901
|
-
}
|
|
33902
|
-
|
|
33903
|
-
|
|
33904
|
-
|
|
33905
|
-
}
|
|
33906
|
-
|
|
33907
|
-
|
|
33908
|
-
"type": "IMMEDIATE_TOKEN",
|
|
33909
|
-
"content": {
|
|
33910
|
-
"type": "PATTERN",
|
|
33911
|
-
"value": "[ \\t]+"
|
|
33912
|
-
}
|
|
33913
|
-
},
|
|
33914
|
-
{
|
|
33915
|
-
"type": "FIELD",
|
|
33916
|
-
"name": "direction",
|
|
33917
|
-
"content": {
|
|
33918
|
-
"type": "ALIAS",
|
|
33912
|
+
},
|
|
33913
|
+
"named": true,
|
|
33914
|
+
"value": "swimlane_statement_keyword"
|
|
33915
|
+
}
|
|
33916
|
+
},
|
|
33917
|
+
{
|
|
33918
|
+
"type": "REPEAT",
|
|
33919
33919
|
"content": {
|
|
33920
|
-
"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",
|
|
33921
33954
|
"content": {
|
|
33922
|
-
"type": "
|
|
33923
|
-
"
|
|
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"
|
|
33924
33981
|
}
|
|
33925
|
-
|
|
33926
|
-
"named": true,
|
|
33927
|
-
"value": "swimlane_direction"
|
|
33982
|
+
]
|
|
33928
33983
|
}
|
|
33929
|
-
|
|
33930
|
-
|
|
33984
|
+
]
|
|
33985
|
+
}
|
|
33931
33986
|
},
|
|
33932
33987
|
"swimlane_edge_statement": {
|
|
33933
33988
|
"type": "PREC_RIGHT",
|
|
@@ -34069,7 +34124,12 @@
|
|
|
34069
34124
|
"type": "FIELD",
|
|
34070
34125
|
"name": "separator",
|
|
34071
34126
|
"content": {
|
|
34072
|
-
"type": "
|
|
34127
|
+
"type": "ALIAS",
|
|
34128
|
+
"content": {
|
|
34129
|
+
"type": "SYMBOL",
|
|
34130
|
+
"name": "_flowchart_group_separator"
|
|
34131
|
+
},
|
|
34132
|
+
"named": false,
|
|
34073
34133
|
"value": "&"
|
|
34074
34134
|
}
|
|
34075
34135
|
},
|
|
@@ -35820,7 +35880,7 @@
|
|
|
35820
35880
|
"type": "IMMEDIATE_TOKEN",
|
|
35821
35881
|
"content": {
|
|
35822
35882
|
"type": "PATTERN",
|
|
35823
|
-
"value": "[
|
|
35883
|
+
"value": "(?:[xo<]?[^-=.xo<\\r\\n])+|[xo<]"
|
|
35824
35884
|
}
|
|
35825
35885
|
},
|
|
35826
35886
|
"swimlane_arrow_start": {
|
|
@@ -37432,31 +37492,37 @@
|
|
|
37432
37492
|
"type": "CHOICE",
|
|
37433
37493
|
"members": [
|
|
37434
37494
|
{
|
|
37435
|
-
"type": "
|
|
37436
|
-
"
|
|
37437
|
-
|
|
37438
|
-
|
|
37439
|
-
|
|
37440
|
-
|
|
37441
|
-
|
|
37442
|
-
"content": {
|
|
37443
|
-
"type": "PATTERN",
|
|
37444
|
-
"value": "classDef(?:[A-Za-z0-9_.!?$%#\\u00c0-\\uffff]|-[A-Za-z0-9_\\u00c0-\\uffff])+"
|
|
37445
|
-
}
|
|
37446
|
-
}
|
|
37447
|
-
},
|
|
37448
|
-
{
|
|
37449
|
-
"type": "TOKEN",
|
|
37450
|
-
"content": {
|
|
37451
|
-
"type": "PREC",
|
|
37452
|
-
"value": 40,
|
|
37453
|
-
"content": {
|
|
37454
|
-
"type": "PATTERN",
|
|
37455
|
-
"value": "(?:subgraph|direction|class|style|linkStyle|click|accTitle|accDescr|end)(?:[A-Za-z0-9_.!?$%#\\u00c0-\\uffff]|-[A-Za-z0-9_\\u00c0-\\uffff])+"
|
|
37456
|
-
}
|
|
37457
|
-
}
|
|
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])+"
|
|
37458
37502
|
}
|
|
37459
|
-
|
|
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
|
+
}
|
|
37460
37526
|
},
|
|
37461
37527
|
{
|
|
37462
37528
|
"type": "TOKEN",
|
|
@@ -37465,9 +37531,37 @@
|
|
|
37465
37531
|
"value": -5,
|
|
37466
37532
|
"content": {
|
|
37467
37533
|
"type": "PATTERN",
|
|
37468
|
-
"value": "[A-Za-
|
|
37534
|
+
"value": "[A-Za-z_./&\\u00c0-\\uffff](?:(?:[A-Za-z0-9_/&\\u00c0-\\uffff.!?$%#]|-[A-Za-z0-9_/&\\u00c0-\\uffff])+)?"
|
|
37469
37535
|
}
|
|
37470
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
|
+
]
|
|
37471
37565
|
}
|
|
37472
37566
|
]
|
|
37473
37567
|
},
|
|
@@ -50346,52 +50440,107 @@
|
|
|
50346
50440
|
}
|
|
50347
50441
|
},
|
|
50348
50442
|
"flow_direction_statement": {
|
|
50349
|
-
"type": "
|
|
50350
|
-
"
|
|
50351
|
-
|
|
50352
|
-
|
|
50353
|
-
|
|
50354
|
-
|
|
50355
|
-
"type": "
|
|
50443
|
+
"type": "PREC_DYNAMIC",
|
|
50444
|
+
"value": 1,
|
|
50445
|
+
"content": {
|
|
50446
|
+
"type": "SEQ",
|
|
50447
|
+
"members": [
|
|
50448
|
+
{
|
|
50449
|
+
"type": "REPEAT",
|
|
50356
50450
|
"content": {
|
|
50357
|
-
"type": "
|
|
50451
|
+
"type": "SYMBOL",
|
|
50452
|
+
"name": "_flow_direction_prefix"
|
|
50453
|
+
}
|
|
50454
|
+
},
|
|
50455
|
+
{
|
|
50456
|
+
"type": "FIELD",
|
|
50457
|
+
"name": "keyword",
|
|
50458
|
+
"content": {
|
|
50459
|
+
"type": "ALIAS",
|
|
50358
50460
|
"content": {
|
|
50359
|
-
"type": "
|
|
50360
|
-
"value": 30,
|
|
50461
|
+
"type": "TOKEN",
|
|
50361
50462
|
"content": {
|
|
50362
|
-
"type": "
|
|
50363
|
-
"value":
|
|
50463
|
+
"type": "PREC",
|
|
50464
|
+
"value": -5,
|
|
50465
|
+
"content": {
|
|
50466
|
+
"type": "PATTERN",
|
|
50467
|
+
"value": "direction"
|
|
50468
|
+
}
|
|
50364
50469
|
}
|
|
50365
|
-
}
|
|
50366
|
-
|
|
50367
|
-
|
|
50368
|
-
|
|
50369
|
-
}
|
|
50370
|
-
|
|
50371
|
-
|
|
50372
|
-
"type": "IMMEDIATE_TOKEN",
|
|
50373
|
-
"content": {
|
|
50374
|
-
"type": "PATTERN",
|
|
50375
|
-
"value": "[ \\t]+"
|
|
50376
|
-
}
|
|
50377
|
-
},
|
|
50378
|
-
{
|
|
50379
|
-
"type": "FIELD",
|
|
50380
|
-
"name": "direction",
|
|
50381
|
-
"content": {
|
|
50382
|
-
"type": "ALIAS",
|
|
50470
|
+
},
|
|
50471
|
+
"named": true,
|
|
50472
|
+
"value": "flow_statement_keyword"
|
|
50473
|
+
}
|
|
50474
|
+
},
|
|
50475
|
+
{
|
|
50476
|
+
"type": "REPEAT",
|
|
50383
50477
|
"content": {
|
|
50384
|
-
"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",
|
|
50385
50512
|
"content": {
|
|
50386
|
-
"type": "
|
|
50387
|
-
"
|
|
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"
|
|
50388
50539
|
}
|
|
50389
|
-
|
|
50390
|
-
"named": true,
|
|
50391
|
-
"value": "flow_direction"
|
|
50540
|
+
]
|
|
50392
50541
|
}
|
|
50393
|
-
|
|
50394
|
-
|
|
50542
|
+
]
|
|
50543
|
+
}
|
|
50395
50544
|
},
|
|
50396
50545
|
"flow_edge_statement": {
|
|
50397
50546
|
"type": "PREC_RIGHT",
|
|
@@ -50533,7 +50682,12 @@
|
|
|
50533
50682
|
"type": "FIELD",
|
|
50534
50683
|
"name": "separator",
|
|
50535
50684
|
"content": {
|
|
50536
|
-
"type": "
|
|
50685
|
+
"type": "ALIAS",
|
|
50686
|
+
"content": {
|
|
50687
|
+
"type": "SYMBOL",
|
|
50688
|
+
"name": "_flowchart_group_separator"
|
|
50689
|
+
},
|
|
50690
|
+
"named": false,
|
|
50537
50691
|
"value": "&"
|
|
50538
50692
|
}
|
|
50539
50693
|
},
|
|
@@ -52284,7 +52438,7 @@
|
|
|
52284
52438
|
"type": "IMMEDIATE_TOKEN",
|
|
52285
52439
|
"content": {
|
|
52286
52440
|
"type": "PATTERN",
|
|
52287
|
-
"value": "[
|
|
52441
|
+
"value": "(?:[xo<]?[^-=.xo<\\r\\n])+|[xo<]"
|
|
52288
52442
|
}
|
|
52289
52443
|
},
|
|
52290
52444
|
"flow_arrow_start": {
|
|
@@ -53896,31 +54050,37 @@
|
|
|
53896
54050
|
"type": "CHOICE",
|
|
53897
54051
|
"members": [
|
|
53898
54052
|
{
|
|
53899
|
-
"type": "
|
|
53900
|
-
"
|
|
53901
|
-
|
|
53902
|
-
|
|
53903
|
-
|
|
53904
|
-
|
|
53905
|
-
|
|
53906
|
-
"content": {
|
|
53907
|
-
"type": "PATTERN",
|
|
53908
|
-
"value": "classDef(?:[A-Za-z0-9_.!?$%#\\u00c0-\\uffff]|-[A-Za-z0-9_\\u00c0-\\uffff])+"
|
|
53909
|
-
}
|
|
53910
|
-
}
|
|
53911
|
-
},
|
|
53912
|
-
{
|
|
53913
|
-
"type": "TOKEN",
|
|
53914
|
-
"content": {
|
|
53915
|
-
"type": "PREC",
|
|
53916
|
-
"value": 40,
|
|
53917
|
-
"content": {
|
|
53918
|
-
"type": "PATTERN",
|
|
53919
|
-
"value": "(?:subgraph|direction|class|style|linkStyle|click|accTitle|accDescr|end)(?:[A-Za-z0-9_.!?$%#\\u00c0-\\uffff]|-[A-Za-z0-9_\\u00c0-\\uffff])+"
|
|
53920
|
-
}
|
|
53921
|
-
}
|
|
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])+"
|
|
53922
54060
|
}
|
|
53923
|
-
|
|
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
|
+
}
|
|
53924
54084
|
},
|
|
53925
54085
|
{
|
|
53926
54086
|
"type": "TOKEN",
|
|
@@ -53929,9 +54089,37 @@
|
|
|
53929
54089
|
"value": -5,
|
|
53930
54090
|
"content": {
|
|
53931
54091
|
"type": "PATTERN",
|
|
53932
|
-
"value": "[A-Za-
|
|
54092
|
+
"value": "[A-Za-z_./&\\u00c0-\\uffff](?:(?:[A-Za-z0-9_/&\\u00c0-\\uffff.!?$%#]|-[A-Za-z0-9_/&\\u00c0-\\uffff])+)?"
|
|
53933
54093
|
}
|
|
53934
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
|
+
]
|
|
53935
54123
|
}
|
|
53936
54124
|
]
|
|
53937
54125
|
},
|
|
@@ -71528,52 +71716,107 @@
|
|
|
71528
71716
|
}
|
|
71529
71717
|
},
|
|
71530
71718
|
"agentflow_direction_statement": {
|
|
71531
|
-
"type": "
|
|
71532
|
-
"
|
|
71533
|
-
|
|
71534
|
-
|
|
71535
|
-
|
|
71536
|
-
|
|
71537
|
-
"type": "
|
|
71719
|
+
"type": "PREC_DYNAMIC",
|
|
71720
|
+
"value": 1,
|
|
71721
|
+
"content": {
|
|
71722
|
+
"type": "SEQ",
|
|
71723
|
+
"members": [
|
|
71724
|
+
{
|
|
71725
|
+
"type": "REPEAT",
|
|
71538
71726
|
"content": {
|
|
71539
|
-
"type": "
|
|
71727
|
+
"type": "SYMBOL",
|
|
71728
|
+
"name": "_flow_direction_prefix"
|
|
71729
|
+
}
|
|
71730
|
+
},
|
|
71731
|
+
{
|
|
71732
|
+
"type": "FIELD",
|
|
71733
|
+
"name": "keyword",
|
|
71734
|
+
"content": {
|
|
71735
|
+
"type": "ALIAS",
|
|
71540
71736
|
"content": {
|
|
71541
|
-
"type": "
|
|
71542
|
-
"value": 30,
|
|
71737
|
+
"type": "TOKEN",
|
|
71543
71738
|
"content": {
|
|
71544
|
-
"type": "
|
|
71545
|
-
"value":
|
|
71739
|
+
"type": "PREC",
|
|
71740
|
+
"value": -5,
|
|
71741
|
+
"content": {
|
|
71742
|
+
"type": "PATTERN",
|
|
71743
|
+
"value": "direction"
|
|
71744
|
+
}
|
|
71546
71745
|
}
|
|
71547
|
-
}
|
|
71548
|
-
|
|
71549
|
-
|
|
71550
|
-
|
|
71551
|
-
}
|
|
71552
|
-
|
|
71553
|
-
|
|
71554
|
-
"type": "IMMEDIATE_TOKEN",
|
|
71555
|
-
"content": {
|
|
71556
|
-
"type": "PATTERN",
|
|
71557
|
-
"value": "[ \\t]+"
|
|
71558
|
-
}
|
|
71559
|
-
},
|
|
71560
|
-
{
|
|
71561
|
-
"type": "FIELD",
|
|
71562
|
-
"name": "direction",
|
|
71563
|
-
"content": {
|
|
71564
|
-
"type": "ALIAS",
|
|
71746
|
+
},
|
|
71747
|
+
"named": true,
|
|
71748
|
+
"value": "agentflow_statement_keyword"
|
|
71749
|
+
}
|
|
71750
|
+
},
|
|
71751
|
+
{
|
|
71752
|
+
"type": "REPEAT",
|
|
71565
71753
|
"content": {
|
|
71566
|
-
"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",
|
|
71567
71788
|
"content": {
|
|
71568
|
-
"type": "
|
|
71569
|
-
"
|
|
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"
|
|
71570
71815
|
}
|
|
71571
|
-
|
|
71572
|
-
"named": true,
|
|
71573
|
-
"value": "agentflow_direction"
|
|
71816
|
+
]
|
|
71574
71817
|
}
|
|
71575
|
-
|
|
71576
|
-
|
|
71818
|
+
]
|
|
71819
|
+
}
|
|
71577
71820
|
},
|
|
71578
71821
|
"agentflow_edge_statement": {
|
|
71579
71822
|
"type": "PREC_RIGHT",
|
|
@@ -75077,31 +75320,37 @@
|
|
|
75077
75320
|
"type": "CHOICE",
|
|
75078
75321
|
"members": [
|
|
75079
75322
|
{
|
|
75080
|
-
"type": "
|
|
75081
|
-
"
|
|
75082
|
-
|
|
75083
|
-
|
|
75084
|
-
|
|
75085
|
-
|
|
75086
|
-
|
|
75087
|
-
"content": {
|
|
75088
|
-
"type": "PATTERN",
|
|
75089
|
-
"value": "classDef(?:[A-Za-z0-9_.!?$%#\\u00c0-\\uffff]|-[A-Za-z0-9_\\u00c0-\\uffff])+"
|
|
75090
|
-
}
|
|
75091
|
-
}
|
|
75092
|
-
},
|
|
75093
|
-
{
|
|
75094
|
-
"type": "TOKEN",
|
|
75095
|
-
"content": {
|
|
75096
|
-
"type": "PREC",
|
|
75097
|
-
"value": 40,
|
|
75098
|
-
"content": {
|
|
75099
|
-
"type": "PATTERN",
|
|
75100
|
-
"value": "(?:subgraph|direction|class|style|linkStyle|click|accTitle|accDescr|end)(?:[A-Za-z0-9_.!?$%#\\u00c0-\\uffff]|-[A-Za-z0-9_\\u00c0-\\uffff])+"
|
|
75101
|
-
}
|
|
75102
|
-
}
|
|
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])+"
|
|
75103
75330
|
}
|
|
75104
|
-
|
|
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
|
+
}
|
|
75105
75354
|
},
|
|
75106
75355
|
{
|
|
75107
75356
|
"type": "TOKEN",
|
|
@@ -75110,7 +75359,7 @@
|
|
|
75110
75359
|
"value": -5,
|
|
75111
75360
|
"content": {
|
|
75112
75361
|
"type": "PATTERN",
|
|
75113
|
-
"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])+)?"
|
|
75114
75363
|
}
|
|
75115
75364
|
}
|
|
75116
75365
|
}
|
|
@@ -77678,6 +77927,10 @@
|
|
|
77678
77927
|
"_radar_wardley_quoted_string",
|
|
77679
77928
|
"_radar_wardley_unclosed_quoted_string"
|
|
77680
77929
|
],
|
|
77930
|
+
[
|
|
77931
|
+
"agentflow_direction_statement",
|
|
77932
|
+
"agentflow_identifier"
|
|
77933
|
+
],
|
|
77681
77934
|
[
|
|
77682
77935
|
"_agentflow_labeled_edge",
|
|
77683
77936
|
"_agentflow_unlabeled_edge"
|
|
@@ -77722,6 +77975,10 @@
|
|
|
77722
77975
|
[
|
|
77723
77976
|
"event_gwt_then_group"
|
|
77724
77977
|
],
|
|
77978
|
+
[
|
|
77979
|
+
"flow_direction_statement",
|
|
77980
|
+
"flow_identifier"
|
|
77981
|
+
],
|
|
77725
77982
|
[
|
|
77726
77983
|
"_flow_labeled_edge",
|
|
77727
77984
|
"_flow_unlabeled_edge"
|
|
@@ -77757,6 +78014,10 @@
|
|
|
77757
78014
|
"state_composite_declaration",
|
|
77758
78015
|
"state_named_declaration"
|
|
77759
78016
|
],
|
|
78017
|
+
[
|
|
78018
|
+
"swimlane_direction_statement",
|
|
78019
|
+
"swimlane_identifier"
|
|
78020
|
+
],
|
|
77760
78021
|
[
|
|
77761
78022
|
"_swimlane_labeled_edge",
|
|
77762
78023
|
"_swimlane_unlabeled_edge"
|
|
@@ -77865,6 +78126,14 @@
|
|
|
77865
78126
|
{
|
|
77866
78127
|
"type": "SYMBOL",
|
|
77867
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"
|
|
77868
78137
|
}
|
|
77869
78138
|
],
|
|
77870
78139
|
"inline": [],
|