()
| 127 | } |
| 128 | |
| 129 | private LineBreak(): LineBreak | undefined { |
| 130 | if (this.input.slice(this.pointer, this.pointer + 2) === '\r\n') { |
| 131 | this.pointer += 2; |
| 132 | return '\r\n'; |
| 133 | } |
| 134 | if (this.input.charAt(this.pointer) === '\n') { |
| 135 | this.pointer += 1; |
| 136 | return '\n'; |
| 137 | } |
| 138 | if (this.input.charAt(this.pointer) === '\r') { |
| 139 | this.pointer += 1; |
| 140 | return '\r'; |
| 141 | } |
| 142 | } |
| 143 | |
| 144 | private SimpleValue(): Value | undefined { |
| 145 | let value = ''; |