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
When I reuse the same alternative rule label for multiple alternatives, ANTLR only generates accessor methods for the last alternative with the given label.
When I reuse the same alternative rule label for multiple alternatives, ANTLR only generates accessor methods for the last alternative with the given label.
For example, with the following rule:
The generated
BinaryNumericExpressionContext
class will only havePlus()
andMinus()
accessors, but notCaret()
,Times()
,DividedBy()
, orModuloDiv()
.The text was updated successfully, but these errors were encountered: