(stream)
| 35 | } |
| 36 | |
| 37 | function parseValue(stream) { |
| 38 | let next = stream.next |
| 39 | if (next == 123) return parseObj(stream) |
| 40 | if (next == 91) return parseArr(stream) |
| 41 | if (next == 34) return parseStr(stream) |
| 42 | return parseWord(stream) |
| 43 | } |
| 44 | |
| 45 | function parseObj(stream) { |
| 46 | stream.ahead(1) |