MCPcopy Index your code
hub / github.com/XmirrorSecurity/OpenSCA-cli / push

Method push

opensca/sca/java/xml/xml.go:389–400  ·  view source on GitHub ↗
(kind int)

Source from the content-addressed store, hash-verified

387)
388
389func (d *Decoder) push(kind int) *stack {
390 s := d.free
391 if s != nil {
392 d.free = s.next
393 } else {
394 s = new(stack)
395 }
396 s.next = d.stk
397 s.kind = kind
398 d.stk = s
399 return s
400}
401
402func (d *Decoder) pop() *stack {
403 s := d.stk

Callers 2

pushElementMethod · 0.95
pushNsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected