MCPcopy Create free account
hub / github.com/segmentio/encoding / push

Method push

json/token.go:378–380  ·  view source on GitHub ↗
(typ scope)

Source from the content-addressed store, hash-verified

376}
377
378func (s *stack) push(typ scope) {
379 s.state = append(s.state, state{typ: typ, len: 1})
380}
381
382func (s *stack) pop(expect scope) bool {
383 i := len(s.state) - 1

Callers 1

pushMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected