jdk/src/share/classes/sun/tools/tree/ExprExpression.java
changeset 25799 1afc4675dc75
parent 23010 6dadb192ad81
equal deleted inserted replaced
25798:0b2f54e47bc4 25799:1afc4675dc75
    47 
    47 
    48     /**
    48     /**
    49      * Check a condition.  We must pass it on to our unparenthesised form.
    49      * Check a condition.  We must pass it on to our unparenthesised form.
    50      */
    50      */
    51     public void checkCondition(Environment env, Context ctx, Vset vset,
    51     public void checkCondition(Environment env, Context ctx, Vset vset,
    52                                Hashtable exp, ConditionVars cvars) {
    52                                Hashtable<Object, Object> exp, ConditionVars cvars) {
    53         right.checkCondition(env, ctx, vset, exp, cvars);
    53         right.checkCondition(env, ctx, vset, exp, cvars);
    54         type = right.type;
    54         type = right.type;
    55     }
    55     }
    56 
    56 
    57     /**
    57     /**
    58      * Check the expression if it appears as an lvalue.
    58      * Check the expression if it appears as an lvalue.
    59      * We just pass it on to our unparenthesized subexpression.
    59      * We just pass it on to our unparenthesized subexpression.
    60      * (Part of fix for 4090372)
    60      * (Part of fix for 4090372)
    61      */
    61      */
    62     public Vset checkAssignOp(Environment env, Context ctx,
    62     public Vset checkAssignOp(Environment env, Context ctx,
    63                               Vset vset, Hashtable exp, Expression outside) {
    63                               Vset vset, Hashtable<Object, Object> exp, Expression outside) {
    64         vset = right.checkAssignOp(env, ctx, vset, exp, outside);
    64         vset = right.checkAssignOp(env, ctx, vset, exp, outside);
    65         type = right.type;
    65         type = right.type;
    66         return vset;
    66         return vset;
    67     }
    67     }
    68 
    68 
    78     //
    78     //
    79     // I will hold off on this until I'm sure about it.  Nobody's
    79     // I will hold off on this until I'm sure about it.  Nobody's
    80     // going to clammer for this one.
    80     // going to clammer for this one.
    81     //
    81     //
    82     // public Vset checkLHS(Environment env, Context ctx,
    82     // public Vset checkLHS(Environment env, Context ctx,
    83     //     Vset vset, Hashtable exp) {
    83     //     Vset vset, Hashtable<Object, Object> exp) {
    84     //     vset = right.check(env, ctx, vset, exp);
    84     //     vset = right.check(env, ctx, vset, exp);
    85     //     type = right.type;
    85     //     type = right.type;
    86     //     return vset;
    86     //     return vset;
    87     // }
    87     // }
    88 
    88