kubernetes/vendor/github.com/golang/protobuf/proto/text_decode.go

const wrapTextUnmarshalV2

type ParseError

func (e *ParseError) Error() string {}

// UnmarshalText parses a proto text formatted string into m.
func UnmarshalText(s string, m Message) error {}

type textParser

type token

func newTextParser(s string) *textParser {}

func (p *textParser) unmarshalMessage(m protoreflect.Message, terminator string) (err error) {}

func (p *textParser) unmarshalExtensionOrAny(m protoreflect.Message, seen map[protoreflect.FieldNumber]bool) error {}

func (p *textParser) unmarshalValue(v protoreflect.Value, fd protoreflect.FieldDescriptor) (protoreflect.Value, error) {}

func (p *textParser) unmarshalSingularValue(v protoreflect.Value, fd protoreflect.FieldDescriptor) (protoreflect.Value, error) {}

// Consume a ':' from the input stream (if the next token is a colon),
// returning an error if a colon is needed but not present.
func (p *textParser) checkForColon(fd protoreflect.FieldDescriptor) *ParseError {}

// consumeExtensionOrAnyName consumes an extension name or an Any type URL and
// the following ']'. It returns the name or URL consumed.
func (p *textParser) consumeExtensionOrAnyName() (string, error) {}

// consumeOptionalSeparator consumes an optional semicolon or comma.
// It is used in unmarshalMessage to provide backward compatibility.
func (p *textParser) consumeOptionalSeparator() error {}

func (p *textParser) errorf(format string, a ...interface{}

func (p *textParser) skipWhitespace() {}

func (p *textParser) advance() {}

// Back off the parser by one token. Can only be done between calls to next().
// It makes the next advance() a no-op.
func (p *textParser) back() {}

// Advances the parser and returns the new current token.
func (p *textParser) next() *token {}

func (p *textParser) consumeToken(s string) error {}

var errBadUTF8

func unquoteC(s string, quote rune) (string, error) {}

func unescape(s string) (ch string, tail string, err error) {}

func isIdentOrNumberChar(c byte) bool {}

func isWhitespace(c byte) bool {}

func isQuote(c byte) bool {}