Consumes all whitespace characters from the remaining query. @return true if whitespace was found @throws QueryException query exception
()
| 4648 | * @throws QueryException query exception |
| 4649 | */ |
| 4650 | private boolean skipWs() throws QueryException { |
| 4651 | final int i = pos; |
| 4652 | while(more()) { |
| 4653 | final int cp = current(); |
| 4654 | if(cp == '(' && next() == ':') { |
| 4655 | comment(); |
| 4656 | } else { |
| 4657 | if(cp == 0 || cp > ' ') return i != pos; |
| 4658 | ++pos; |
| 4659 | } |
| 4660 | } |
| 4661 | return i != pos; |
| 4662 | } |
| 4663 | |
| 4664 | /** |
| 4665 | * Consumes a comment. |
no test coverage detected