feat: multidivert; more tests
This commit is contained in:
@@ -94,24 +94,25 @@ multiDivert_withoutWS:
|
||||
;
|
||||
|
||||
multiDivertArrows_tail:
|
||||
DIVERT_ARROW # MultiDivertArrows_tailDefaultChoice
|
||||
| DIVERT_ARROW divertIdentifierWithArguments # MultiDivertArrows_tailDivert
|
||||
DIVERT_ARROW divertIdentifierWithArguments # MultiDivertArrows_tailDivert
|
||||
| TUNNEL_ARROW divertIdentifierWithArguments # MultiDivertArrows_tailTunnelWithReplacement
|
||||
| DIVERT_ARROW # MultiDivertArrows_tailDefaultChoice
|
||||
| TUNNEL_ARROW # MultiDivertArrows_tailTunnel
|
||||
;
|
||||
|
||||
divertIdentifierWithArguments:
|
||||
divertIdentifierWithArguments_name
|
||||
WS?
|
||||
divertIdentifierWithArguments_name
|
||||
divertIdentifierWithArguments_arguments?
|
||||
WS?
|
||||
;
|
||||
|
||||
divertIdentifierWithArguments_name:
|
||||
WS? identifier WS? ('.' WS? identifier WS? )*
|
||||
identifier (WS? '.' WS? identifier )*
|
||||
;
|
||||
|
||||
divertIdentifierWithArguments_arguments:
|
||||
WS?
|
||||
'('
|
||||
expression (',' WS? expression)*
|
||||
')'
|
||||
|
||||
Reference in New Issue
Block a user