MCPcopy
hub / github.com/gogo/protobuf / errorf

Method errorf

proto/text_parser.go:101–106  ·  view source on GitHub ↗
(format string, a ...interface{})

Source from the content-addressed store, hash-verified

99}
100
101func (p *textParser) errorf(format string, a ...interface{}) *ParseError {
102 pe := &ParseError{fmt.Sprintf(format, a...), p.cur.line, p.cur.offset}
103 p.cur.err = pe
104 p.done = true
105 return pe
106}
107
108// Numbers and identifiers are matched by [-+._A-Za-z0-9]
109func isIdentOrNumberChar(c byte) bool {

Callers 6

advanceMethod · 0.95
consumeTokenMethod · 0.95
checkForColonMethod · 0.95
readStructMethod · 0.95
consumeExtNameMethod · 0.95
readAnyMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected