MCPcopy Create free account
hub / github.com/egonelbre/exp / pushEnd

Method pushEnd

ber/decoder.go:49–55  ·  view source on GitHub ↗
(t *Token, cur int, h header)

Source from the content-addressed store, hash-verified

47}
48
49func (s *stack) pushEnd(t *Token, cur int, h header) {
50 if h.indefinite {
51 s.push(t, 0)
52 } else {
53 s.push(t, cur+h.length)
54 }
55}
56
57func (s *stack) tryPop(at int) (bool, *Token, error) {
58 // no open types

Callers 1

TokenMethod · 0.45

Calls 1

pushMethod · 0.95

Tested by

no test coverage detected