< prev index next >

src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/visitor/NodeOperatorVisitor.java

Print this page




 116         case ASSIGN_BIT_AND:
 117             return enterASSIGN_BIT_AND(binaryNode);
 118         case ASSIGN_BIT_OR:
 119             return enterASSIGN_BIT_OR(binaryNode);
 120         case ASSIGN_BIT_XOR:
 121             return enterASSIGN_BIT_XOR(binaryNode);
 122         case ASSIGN_DIV:
 123             return enterASSIGN_DIV(binaryNode);
 124         case ASSIGN_MOD:
 125             return enterASSIGN_MOD(binaryNode);
 126         case ASSIGN_MUL:
 127             return enterASSIGN_MUL(binaryNode);
 128         case ASSIGN_SAR:
 129             return enterASSIGN_SAR(binaryNode);
 130         case ASSIGN_SHL:
 131             return enterASSIGN_SHL(binaryNode);
 132         case ASSIGN_SHR:
 133             return enterASSIGN_SHR(binaryNode);
 134         case ASSIGN_SUB:
 135             return enterASSIGN_SUB(binaryNode);
 136         case BIND:
 137             return enterBIND(binaryNode);
 138         case BIT_AND:
 139             return enterBIT_AND(binaryNode);
 140         case BIT_OR:
 141             return enterBIT_OR(binaryNode);
 142         case BIT_XOR:
 143             return enterBIT_XOR(binaryNode);
 144         case COMMARIGHT:
 145             return enterCOMMARIGHT(binaryNode);
 146         case COMMALEFT:
 147             return enterCOMMALEFT(binaryNode);
 148         case DIV:
 149             return enterDIV(binaryNode);
 150         case EQ:
 151             return enterEQ(binaryNode);
 152         case EQ_STRICT:
 153             return enterEQ_STRICT(binaryNode);
 154         case GE:
 155             return enterGE(binaryNode);
 156         case GT:
 157             return enterGT(binaryNode);


 200         case ASSIGN_BIT_AND:
 201             return leaveASSIGN_BIT_AND(binaryNode);
 202         case ASSIGN_BIT_OR:
 203             return leaveASSIGN_BIT_OR(binaryNode);
 204         case ASSIGN_BIT_XOR:
 205             return leaveASSIGN_BIT_XOR(binaryNode);
 206         case ASSIGN_DIV:
 207             return leaveASSIGN_DIV(binaryNode);
 208         case ASSIGN_MOD:
 209             return leaveASSIGN_MOD(binaryNode);
 210         case ASSIGN_MUL:
 211             return leaveASSIGN_MUL(binaryNode);
 212         case ASSIGN_SAR:
 213             return leaveASSIGN_SAR(binaryNode);
 214         case ASSIGN_SHL:
 215             return leaveASSIGN_SHL(binaryNode);
 216         case ASSIGN_SHR:
 217             return leaveASSIGN_SHR(binaryNode);
 218         case ASSIGN_SUB:
 219             return leaveASSIGN_SUB(binaryNode);
 220         case BIND:
 221             return leaveBIND(binaryNode);
 222         case BIT_AND:
 223             return leaveBIT_AND(binaryNode);
 224         case BIT_OR:
 225             return leaveBIT_OR(binaryNode);
 226         case BIT_XOR:
 227             return leaveBIT_XOR(binaryNode);
 228         case COMMARIGHT:
 229             return leaveCOMMARIGHT(binaryNode);
 230         case COMMALEFT:
 231             return leaveCOMMALEFT(binaryNode);
 232         case DIV:
 233             return leaveDIV(binaryNode);
 234         case EQ:
 235             return leaveEQ(binaryNode);
 236         case EQ_STRICT:
 237             return leaveEQ_STRICT(binaryNode);
 238         case GE:
 239             return leaveGE(binaryNode);
 240         case GT:
 241             return leaveGT(binaryNode);


 718      * Binary enter - callback for entering -= operator
 719      *
 720      * @param  binaryNode the node
 721      * @return true if traversal should continue and node children be traversed, false otherwise
 722      */
 723     public boolean enterASSIGN_SUB(final BinaryNode binaryNode) {
 724         return enterDefault(binaryNode);
 725     }
 726 
 727     /**
 728      * Binary leave - callback for leaving a -= operator
 729      *
 730      * @param  binaryNode the node
 731      * @return processed node, which will replace the original one, or the original node
 732      */
 733     public Node leaveASSIGN_SUB(final BinaryNode binaryNode) {
 734         return leaveDefault(binaryNode);
 735     }
 736 
 737     /**
 738      * Binary enter - callback for entering a bind operator
 739      *
 740      * @param  binaryNode the node
 741      * @return true if traversal should continue and node children be traversed, false otherwise
 742      */
 743     public boolean enterBIND(final BinaryNode binaryNode) {
 744         return enterDefault(binaryNode);
 745     }
 746 
 747     /**
 748      * Binary leave - callback for leaving a bind operator
 749      *
 750      * @param  binaryNode the node
 751      * @return processed node, which will replace the original one, or the original node
 752      */
 753     public Node leaveBIND(final BinaryNode binaryNode) {
 754         return leaveDefault(binaryNode);
 755     }
 756 
 757     /**
 758      * Binary enter - callback for entering {@literal &} operator
 759      *
 760      * @param  binaryNode the node
 761      * @return true if traversal should continue and node children be traversed, false otherwise
 762      */
 763     public boolean enterBIT_AND(final BinaryNode binaryNode) {
 764         return enterDefault(binaryNode);
 765     }
 766 
 767     /**
 768      * Binary leave - callback for leaving a {@literal &} operator
 769      *
 770      * @param  binaryNode the node
 771      * @return processed node, which will replace the original one, or the original node
 772      */
 773     public Node leaveBIT_AND(final BinaryNode binaryNode) {




 116         case ASSIGN_BIT_AND:
 117             return enterASSIGN_BIT_AND(binaryNode);
 118         case ASSIGN_BIT_OR:
 119             return enterASSIGN_BIT_OR(binaryNode);
 120         case ASSIGN_BIT_XOR:
 121             return enterASSIGN_BIT_XOR(binaryNode);
 122         case ASSIGN_DIV:
 123             return enterASSIGN_DIV(binaryNode);
 124         case ASSIGN_MOD:
 125             return enterASSIGN_MOD(binaryNode);
 126         case ASSIGN_MUL:
 127             return enterASSIGN_MUL(binaryNode);
 128         case ASSIGN_SAR:
 129             return enterASSIGN_SAR(binaryNode);
 130         case ASSIGN_SHL:
 131             return enterASSIGN_SHL(binaryNode);
 132         case ASSIGN_SHR:
 133             return enterASSIGN_SHR(binaryNode);
 134         case ASSIGN_SUB:
 135             return enterASSIGN_SUB(binaryNode);
 136         case ARROW:
 137             return enterARROW(binaryNode);
 138         case BIT_AND:
 139             return enterBIT_AND(binaryNode);
 140         case BIT_OR:
 141             return enterBIT_OR(binaryNode);
 142         case BIT_XOR:
 143             return enterBIT_XOR(binaryNode);
 144         case COMMARIGHT:
 145             return enterCOMMARIGHT(binaryNode);
 146         case COMMALEFT:
 147             return enterCOMMALEFT(binaryNode);
 148         case DIV:
 149             return enterDIV(binaryNode);
 150         case EQ:
 151             return enterEQ(binaryNode);
 152         case EQ_STRICT:
 153             return enterEQ_STRICT(binaryNode);
 154         case GE:
 155             return enterGE(binaryNode);
 156         case GT:
 157             return enterGT(binaryNode);


 200         case ASSIGN_BIT_AND:
 201             return leaveASSIGN_BIT_AND(binaryNode);
 202         case ASSIGN_BIT_OR:
 203             return leaveASSIGN_BIT_OR(binaryNode);
 204         case ASSIGN_BIT_XOR:
 205             return leaveASSIGN_BIT_XOR(binaryNode);
 206         case ASSIGN_DIV:
 207             return leaveASSIGN_DIV(binaryNode);
 208         case ASSIGN_MOD:
 209             return leaveASSIGN_MOD(binaryNode);
 210         case ASSIGN_MUL:
 211             return leaveASSIGN_MUL(binaryNode);
 212         case ASSIGN_SAR:
 213             return leaveASSIGN_SAR(binaryNode);
 214         case ASSIGN_SHL:
 215             return leaveASSIGN_SHL(binaryNode);
 216         case ASSIGN_SHR:
 217             return leaveASSIGN_SHR(binaryNode);
 218         case ASSIGN_SUB:
 219             return leaveASSIGN_SUB(binaryNode);
 220         case ARROW:
 221             return leaveARROW(binaryNode);
 222         case BIT_AND:
 223             return leaveBIT_AND(binaryNode);
 224         case BIT_OR:
 225             return leaveBIT_OR(binaryNode);
 226         case BIT_XOR:
 227             return leaveBIT_XOR(binaryNode);
 228         case COMMARIGHT:
 229             return leaveCOMMARIGHT(binaryNode);
 230         case COMMALEFT:
 231             return leaveCOMMALEFT(binaryNode);
 232         case DIV:
 233             return leaveDIV(binaryNode);
 234         case EQ:
 235             return leaveEQ(binaryNode);
 236         case EQ_STRICT:
 237             return leaveEQ_STRICT(binaryNode);
 238         case GE:
 239             return leaveGE(binaryNode);
 240         case GT:
 241             return leaveGT(binaryNode);


 718      * Binary enter - callback for entering -= operator
 719      *
 720      * @param  binaryNode the node
 721      * @return true if traversal should continue and node children be traversed, false otherwise
 722      */
 723     public boolean enterASSIGN_SUB(final BinaryNode binaryNode) {
 724         return enterDefault(binaryNode);
 725     }
 726 
 727     /**
 728      * Binary leave - callback for leaving a -= operator
 729      *
 730      * @param  binaryNode the node
 731      * @return processed node, which will replace the original one, or the original node
 732      */
 733     public Node leaveASSIGN_SUB(final BinaryNode binaryNode) {
 734         return leaveDefault(binaryNode);
 735     }
 736 
 737     /**
 738      * Binary enter - callback for entering a arrow operator
 739      *
 740      * @param  binaryNode the node
 741      * @return true if traversal should continue and node children be traversed, false otherwise
 742      */
 743     public boolean enterARROW(final BinaryNode binaryNode) {
 744         return enterDefault(binaryNode);
 745     }
 746 
 747     /**
 748      * Binary leave - callback for leaving a arrow operator
 749      *
 750      * @param  binaryNode the node
 751      * @return processed node, which will replace the original one, or the original node
 752      */
 753     public Node leaveARROW(final BinaryNode binaryNode) {
 754         return leaveDefault(binaryNode);
 755     }
 756 
 757     /**
 758      * Binary enter - callback for entering {@literal &} operator
 759      *
 760      * @param  binaryNode the node
 761      * @return true if traversal should continue and node children be traversed, false otherwise
 762      */
 763     public boolean enterBIT_AND(final BinaryNode binaryNode) {
 764         return enterDefault(binaryNode);
 765     }
 766 
 767     /**
 768      * Binary leave - callback for leaving a {@literal &} operator
 769      *
 770      * @param  binaryNode the node
 771      * @return processed node, which will replace the original one, or the original node
 772      */
 773     public Node leaveBIT_AND(final BinaryNode binaryNode) {


< prev index next >