Semantic predicates in ANTLR4?
In ANTLR v4, there are no longer gated semantic predicates, { … }?=>, and there are also no longer syntactic predicates, ( … )=>, because the parsing algorithm used in v4 can resolve the ambiguities (the need for such predicates are no longer needed). So, this should just work for you: expr : refIdentifier | … Read more