| 158 | }; |
| 159 | |
| 160 | class JSONParser : protected BasicLexer{ |
| 161 | protected: |
| 162 | std::vector<char> buffer; |
| 163 | |
| 164 | std::string ParseString(); |
| 165 | |
| 166 | int ParseValue(JSONValue& val); |
| 167 | |
| 168 | JSONValue ParseObject(); |
| 169 | JSONValue ParseArray(); |
| 170 | |
| 171 | public: |
| 172 | JSONParser(std::string_view& v); |
| 173 | JSONParser(const char* path); |
| 174 | |
| 175 | JSONValue Parse(); |
| 176 | }; |
| 177 | } |
no outgoing calls
no test coverage detected