(state)
| 11380 | } |
| 11381 | |
| 11382 | function readLineBreak(state) { |
| 11383 | var ch; |
| 11384 | |
| 11385 | ch = state.input.charCodeAt(state.position); |
| 11386 | |
| 11387 | if (ch === 0x0A/* LF */) { |
| 11388 | state.position++; |
| 11389 | } else if (ch === 0x0D/* CR */) { |
| 11390 | state.position++; |
| 11391 | if (state.input.charCodeAt(state.position) === 0x0A/* LF */) { |
| 11392 | state.position++; |
| 11393 | } |
| 11394 | } else { |
| 11395 | throwError(state, 'a line break is expected'); |
| 11396 | } |
| 11397 | |
| 11398 | state.line += 1; |
| 11399 | state.lineStart = state.position; |
| 11400 | } |
| 11401 | |
| 11402 | function skipSeparationSpace(state, allowComments, checkIndent) { |
| 11403 | var lineBreaks = 0, |
no test coverage detected