Closed Siva-Harish98 closed 3 months ago
T.RULE('additionExpression', () => { T.SUBRULE(T.multiplicationExpression, { LABEL: 'lhs' }); T.MANY(() => { T.CONSUME(ArithmeticOperator); T.OR([ { ALT: () => T.SUBRULE3(T.onKey) }, { ALT: () => T.SUBRULE2(T.multiplicationExpression, { LABEL: 'rhs' }) } ]) }); });
in above code i dont want to restrict the subrule more than one time
I'm closing this in favor of https://github.com/Chevrotain/chevrotain/discussions/2020, since this isn't an actionable issue.
in above code i dont want to restrict the subrule more than one time