Searched refs:JsonState (Results 1 – 2 of 2) sorted by relevance
59 State.push(JsonState::None); in CoverageExporterJson()76 if (State.top() == JsonState::NonEmptyElement) { in emitComma()78 } else if (State.top() == JsonState::EmptyElement) { in emitComma()81 State.push(JsonState::NonEmptyElement); in emitComma()87 State.push(JsonState::EmptyElement); in emitDictStart()99 State.push(JsonState::EmptyElement); in emitDictKey()110 State.push(JsonState::EmptyElement); in emitArrayStart()170 assert((State.top() == JsonState::None) && in renderRoot()
24 enum JsonState { None, NonEmptyElement, EmptyElement }; enum27 std::stack<JsonState> State;