* Evaluated when the expression is not yet ended but expected to end * @return {Node} res * @private
(state)
| 1792 | * @private |
| 1793 | */ |
| 1794 | function parseEnd (state) { |
| 1795 | if (state.token === '') { |
| 1796 | // syntax error or unexpected end of expression |
| 1797 | throw createSyntaxError(state, 'Unexpected end of expression') |
| 1798 | } else { |
| 1799 | throw createSyntaxError(state, 'Value expected') |
| 1800 | } |
| 1801 | } |
| 1802 | |
| 1803 | /** |
| 1804 | * Shortcut for getting the current row value (one based) |
no test coverage detected
searching dependent graphs…