@Override public R visit(final MemberValuePair n, final A arg) { { R result = n.getValue().accept(this, arg); if (result != null) { return result; } } return null; }
final public Expression Expression() throws ParseException { Expression ret; AssignExpr.Operator op; Expression value; ret = ConditionalExpression(); if (jj_2_18(2)) { op = AssignmentOperator(); value = Expression(); ret = new AssignExpr(ret.getBeginLine(), ret.getBeginColumn(), token.endLine, token.endColumn, ret, value, op); } else { ; } {if (true) return ret;} throw new Error("Missing return statement in function"); }
@Override public R visit(final UnaryExpr n, final A arg) { { R result = n.getExpr().accept(this, arg); if (result != null) { return result; } } return null; }
final public Expression Expression() throws ParseException { Expression ret; AssignExpr.Operator op; Expression value; ret = ConditionalExpression(); if (jj_2_18(2)) { op = AssignmentOperator(); value = Expression(); ret = new AssignExpr(ret.getBeginLine(), ret.getBeginColumn(), token.endLine, token.endColumn, ret, value, op); } else { ; } {if (true) return ret;} throw new Error("Missing return statement in function"); }
@Override public XAnnotationField<T[]> visitDefault(Expression n, Void arg) { final XAnnotationValue<T> v = n.accept(expressionVisitor, null); @SuppressWarnings({ "unchecked", "rawtypes" }) final XArrayAnnotationField<T> arrayAnnotationField = new XArrayAnnotationField( name, type, new XAnnotationValue[]{v}); return arrayAnnotationField; }
final public Expression InstanceOfExpression() throws ParseException { Expression ret; Type type; ret = RelationalExpression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case INSTANCEOF: jj_consume_token(INSTANCEOF); type = Type(); ret = new InstanceOfExpr(ret.getBeginLine(), ret.getBeginColumn(), token.endLine, token.endColumn, ret, type); break; default: jj_la1[68] = jj_gen; ; } {if (true) return ret;} throw new Error("Missing return statement in function"); }
@Override public R visit(final EnclosedExpr n, final A arg) { { R result = n.getInner().accept(this, arg); if (result != null) { return result; } } return null; }
final public Expression InstanceOfExpression() throws ParseException { Expression ret; Type type; ret = RelationalExpression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case INSTANCEOF: jj_consume_token(INSTANCEOF); type = Type(); ret = new InstanceOfExpr(ret.getBeginLine(), ret.getBeginColumn(), token.endLine, token.endColumn, ret, type); break; default: jj_la1[69] = jj_gen; ; } {if (true) return ret;} throw new Error("Missing return statement in function"); }
@Override public R visit(final ThrowStmt n, final A arg) { { R result = n.getExpr().accept(this, arg); if (result != null) { return result; } } return null; }
final public Expression ConditionalAndExpression() throws ParseException { Expression ret; Expression right; ret = InclusiveOrExpression(); label_26: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case SC_AND: ; break; default: jj_la1[63] = jj_gen; break label_26; } jj_consume_token(SC_AND); right = InclusiveOrExpression(); ret = new BinaryExpr(ret.getBeginLine(), ret.getBeginColumn(), token.endLine, token.endColumn, ret, right, BinaryExpr.Operator.and); } {if (true) return ret;} throw new Error("Missing return statement in function"); }
@Override public R visit(final ExpressionStmt n, final A arg) { { R result = n.getExpression().accept(this, arg); if (result != null) { return result; } } return null; }
final public Expression InclusiveOrExpression() throws ParseException { Expression ret; Expression right; ret = ExclusiveOrExpression(); label_27: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case BIT_OR: ; break; default: jj_la1[64] = jj_gen; break label_27; } jj_consume_token(BIT_OR); right = ExclusiveOrExpression(); ret = new BinaryExpr(ret.getBeginLine(), ret.getBeginColumn(), token.endLine, token.endColumn, ret, right, BinaryExpr.Operator.binOr); } {if (true) return ret;} throw new Error("Missing return statement in function"); }
@Override public R visit(final FieldAccessExpr n, final A arg) { { R result = n.getScope().accept(this, arg); if (result != null) { return result; } } return null; }
final public Expression AndExpression() throws ParseException { Expression ret; Expression right; ret = EqualityExpression(); label_29: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case BIT_AND: ; break; default: jj_la1[65] = jj_gen; break label_29; } jj_consume_token(BIT_AND); right = EqualityExpression(); ret = new BinaryExpr(ret.getBeginLine(), ret.getBeginColumn(), token.endLine, token.endColumn, ret, right, BinaryExpr.Operator.binAnd); } {if (true) return ret;} throw new Error("Missing return statement in function"); }
final public Expression ConditionalOrExpression() throws ParseException { Expression ret; Expression right; ret = ConditionalAndExpression(); label_25: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case SC_OR: ; break; default: jj_la1[62] = jj_gen; break label_25; } jj_consume_token(SC_OR); right = ConditionalAndExpression(); ret = new BinaryExpr(ret.getBeginLine(), ret.getBeginColumn(), token.endLine, token.endColumn, ret, right, BinaryExpr.Operator.or); } {if (true) return ret;} throw new Error("Missing return statement in function"); }
@Override public Node visit(final ArrayInitializerExpr n, final A arg) { if (n.getValues() != null) { final List<Expression> values = n.getValues(); if (values != null) { for (int i = 0; i < values.size(); i++) { values.set(i, (Expression) values.get(i).accept(this, arg)); } removeNulls(values); } } return n; }
final public Expression InclusiveOrExpression() throws ParseException { Expression ret; Expression right; ret = ExclusiveOrExpression(); label_27: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case BIT_OR: ; break; default: jj_la1[63] = jj_gen; break label_27; } jj_consume_token(BIT_OR); right = ExclusiveOrExpression(); ret = new BinaryExpr(ret.getBeginLine(), ret.getBeginColumn(), token.endLine, token.endColumn, ret, right, BinaryExpr.Operator.binOr); } {if (true) return ret;} throw new Error("Missing return statement in function"); }
final public Expression ExclusiveOrExpression() throws ParseException { Expression ret; Expression right; ret = AndExpression(); label_28: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case XOR: ; break; default: jj_la1[64] = jj_gen; break label_28; } jj_consume_token(XOR); right = AndExpression(); ret = new BinaryExpr(ret.getBeginLine(), ret.getBeginColumn(), token.endLine, token.endColumn, ret, right, BinaryExpr.Operator.xor); } {if (true) return ret;} throw new Error("Missing return statement in function"); }