ConditionalExpression : LogicalORExpression LogicalORExpression ? AssignmentExpression : AssignmentExpression
450451452453454455456457458459460
return node.toSource(); } @Override public AstNode conditionalExpression(AstNode test, AstNode trueExpr, AstNode falseExpr) { ConditionalExpression c = new ConditionalExpression(); c.setTestExpression(test); c.setTrueExpression(trueExpr); c.setFalseExpression(falseExpr); return c; }