Searched refs:case_list (Results 1 - 3 of 3) sorted by relevance

/PHP_5_4/Zend/
H A Dzend_language_parser.y457 '{' case_list '}' { $$ = $2; }
458 | '{' ';' case_list '}' { $$ = $3; }
459 | ':' case_list T_ENDSWITCH ';' { $$ = $2; }
460 | ':' ';' case_list T_ENDSWITCH ';' { $$ = $3; }
464 case_list: label
466 | case_list T_CASE expr case_separator { zend_do_extended_info(TSRMLS_C); zend_do_case_before_statement(&$1, &$2, &$3 TSRMLS_CC); } inner_statement_list { zend_do_case_after_statement(&$$, &$2 TSRMLS_CC); $$.op_type = IS_CONST; }
467 | case_list T_DEFAULT case_separator { zend_do_extended_info(TSRMLS_C); zend_do_default_before_statement(&$1, &$2 TSRMLS_CC); } inner_statement_list { zend_do_case_after_statement(&$$, &$2 TSRMLS_CC); $$.op_type = IS_CONST; }
H A Dzend_compile.c4650 void zend_do_switch_end(const znode *case_list TSRMLS_DC) /* {{{ */
4666 if (case_list->op_type != IS_UNUSED) { /* non-empty switch */
4669 CG(active_op_array)->opcodes[case_list->u.op.opline_num].op1.opline_num = next_op_number;
4693 void zend_do_case_before_statement(const znode *case_list, znode *case_token, const znode *case_expr TSRMLS_DC) /* {{{ */ argument
4722 if (case_list->op_type==IS_UNUSED) {
4726 CG(active_op_array)->opcodes[case_list->u.op.opline_num].op1.opline_num = next_op_number;
4751 void zend_do_default_before_statement(const znode *case_list, znode *default_token TSRMLS_DC) /* {{{ */ argument
4767 if (case_list->op_type==IS_UNUSED) {
4770 CG(active_op_array)->opcodes[case_list->u.op.opline_num].op1.opline_num = next_op_number;
H A Dzend_compile.h533 void zend_do_switch_end(const znode *case_list TSRMLS_DC);
534 void zend_do_case_before_statement(const znode *case_list, znode *case_token, const znode *case_expr TSRMLS_DC);
536 void zend_do_default_before_statement(const znode *case_list, znode *default_token TSRMLS_DC);

Completed in 23 milliseconds