jdk/src/share/classes/sun/tools/tree/BinaryLogicalExpression.java
changeset 25799 1afc4675dc75
parent 5506 202f599c92aa
equal deleted inserted replaced
25798:0b2f54e47bc4 25799:1afc4675dc75
    44 
    44 
    45     /**
    45     /**
    46      * Check a binary expression
    46      * Check a binary expression
    47      */
    47      */
    48     public Vset checkValue(Environment env, Context ctx,
    48     public Vset checkValue(Environment env, Context ctx,
    49                            Vset vset, Hashtable exp) {
    49                            Vset vset, Hashtable<Object, Object> exp) {
    50         ConditionVars cvars = new ConditionVars();
    50         ConditionVars cvars = new ConditionVars();
    51         // evaluate the logical expression, determining which variables are
    51         // evaluate the logical expression, determining which variables are
    52         // set if the resulting value is true or false
    52         // set if the resulting value is true or false
    53         checkCondition(env, ctx, vset, exp, cvars);
    53         checkCondition(env, ctx, vset, exp, cvars);
    54         // return the intersection.
    54         // return the intersection.
    59      * Every subclass of this class must define a genuine implementation
    59      * Every subclass of this class must define a genuine implementation
    60      * of this method.  It cannot inherit the method of Expression.
    60      * of this method.  It cannot inherit the method of Expression.
    61      */
    61      */
    62     abstract
    62     abstract
    63     public void checkCondition(Environment env, Context ctx, Vset vset,
    63     public void checkCondition(Environment env, Context ctx, Vset vset,
    64                                Hashtable exp, ConditionVars cvars);
    64                                Hashtable<Object, Object> exp, ConditionVars cvars);
    65 
    65 
    66 
    66 
    67     /**
    67     /**
    68      * Inline
    68      * Inline
    69      */
    69      */