* logical or, 'x or y' * @return {Node} node * @private
(state)
| 786 | * @private |
| 787 | */ |
| 788 | function parseLogicalOr (state) { |
| 789 | let node = parseLogicalXor(state) |
| 790 | |
| 791 | while (state.token === 'or') { // eslint-disable-line no-unmodified-loop-condition |
| 792 | getTokenSkipNewline(state) |
| 793 | node = new OperatorNode('or', 'or', [node, parseLogicalXor(state)]) |
| 794 | } |
| 795 | |
| 796 | return node |
| 797 | } |
| 798 | |
| 799 | /** |
| 800 | * logical exclusive or, 'x xor y' |
no test coverage detected
searching dependent graphs…