MCPcopy
hub / github.com/golang/protobuf / back

Method back

proto/text_decode.go:617–617  ·  view source on GitHub ↗

Back off the parser by one token. Can only be done between calls to next(). It makes the next advance() a no-op.

()

Source from the content-addressed store, hash-verified

615// Back off the parser by one token. Can only be done between calls to next().
616// It makes the next advance() a no-op.
617func (p *textParser) back() { p.backed = true }
618
619// Advances the parser and returns the new current token.
620func (p *textParser) next() *token {

Callers 4

unmarshalValueMethod · 0.95
checkForColonMethod · 0.95
consumeTokenMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected