You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The super-splice operator (...) can be used to append and/or prepend cases to the supergrammar rule body. E.g., if the supergrammar defines comment = multiLineComment, then comment := ... | singleLineComment is equivalent to comment := multiLineComment | singleLineComment.
The text was updated successfully, but these errors were encountered:
In Ohm v15.3.0 a new operator was added:
ohmjs/ohm@b519a05
https://github.com/harc/ohm/blob/master/doc/syntax-reference.md#defining-extending-and-overriding-rules
The super-splice operator (
...
) can be used to append and/or prepend cases to the supergrammar rule body. E.g., if the supergrammar definescomment = multiLineComment
, thencomment := ... | singleLineComment
is equivalent tocomment := multiLineComment | singleLineComment
.The text was updated successfully, but these errors were encountered: