Returns the current character, or the newline character if the position is out of bounds. @return current character, or newline
()
| 1269 | * @return current character, or newline |
| 1270 | */ |
| 1271 | private int curr() { |
| 1272 | return pos < 0 || pos >= size() ? '\n' : cp(text, pos); |
| 1273 | } |
| 1274 | |
| 1275 | /** |
| 1276 | * Returns the current character and moves to the next character. |