| 27 | MessageHandler() : messages_(), state_(kExpectObjectStart), name_() {} |
| 28 | |
| 29 | bool StartObject() { |
| 30 | switch (state_) { |
| 31 | case kExpectObjectStart: |
| 32 | state_ = kExpectNameOrObjectEnd; |
| 33 | return true; |
| 34 | default: |
| 35 | return false; |
| 36 | } |
| 37 | } |
| 38 | |
| 39 | bool String(const char* str, SizeType length, bool) { |
| 40 | switch (state_) { |
nothing calls this directly
no outgoing calls
no test coverage detected