| 319 | public: |
| 320 | template<typename Stream> |
| 321 | void encode(lua_State* L, Stream* s, int idx) |
| 322 | { |
| 323 | if (pretty) |
| 324 | { |
| 325 | PrettyWriter<Stream> writer(*s); |
| 326 | encodeValue(L, &writer, idx); |
| 327 | } |
| 328 | else |
| 329 | { |
| 330 | Writer<Stream> writer(*s); |
| 331 | encodeValue(L, &writer, idx); |
| 332 | } |
| 333 | } |
| 334 | }; |
| 335 | |
| 336 |
no outgoing calls
no test coverage detected