This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def p_block_if_statement(t): | |
| '''block_if_statement : RULE_OPEN IF data RULE_CLOSE statements else_blocks''' | |
| t[0] = _AstNode(Interpreter.r_if, t[3], t[5], t[6]) | |
| def p_else_if_blocks(t): | |
| '''else_blocks : else_if_block | |
| | else_block | |
| | RULE_OPEN END RULE_CLOSE''' | |
| t[0] = t[1] |