Example #1
0
        public static OP parse(bool rightAssoc, int precedence, Parser parser, OP left, String token)
        {
            OP right = parser.parseExpression(precedence - (rightAssoc ? 1 : 0));

            return(new BinaryOp(left, token, right));
        }