MCPcopy Create free account
hub / github.com/dim-an/cod / ReadByte

Method ReadByte

shells/tokenize.go:93–99  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

91}
92
93func (s *positionedScanner) ReadByte() (b byte, err error) {
94 b, err = s.scanner.ReadByte()
95 if err != nil {
96 s.pos += 1
97 }
98 return
99}
100
101func (s *positionedScanner) UnreadByte() (err error) {
102 err = s.scanner.UnreadByte()

Callers 5

tokenizeMethod · 0.80
parseSingleQuoteMethod · 0.80
parseDoubleQuoteMethod · 0.80
parseAsciiStringMethod · 0.80
parseAsciiCharMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected