MCPcopy Create free account
hub / github.com/apache/thrift / resetContextStack

Method resetContextStack

lib/go/thrift/simple_json_protocol.go:1319–1322  ·  view source on GitHub ↗

Reset the context stack to its initial state.

()

Source from the content-addressed store, hash-verified

1317
1318// Reset the context stack to its initial state.
1319func (p *TSimpleJSONProtocol) resetContextStack() {
1320 p.parseContextStack = jsonContextStack{_CONTEXT_IN_TOPLEVEL}
1321 p.dumpContext = jsonContextStack{_CONTEXT_IN_TOPLEVEL}
1322}
1323
1324func (p *TSimpleJSONProtocol) write(b []byte) (int, error) {
1325 n, err := p.writer.Write(b)

Callers 6

WriteMessageBeginMethod · 0.95
ReadMessageBeginMethod · 0.95
ResetMethod · 0.95
WriteMessageBeginMethod · 0.80
ReadMessageBeginMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected