MCPcopy Index your code
hub / github.com/wavetermdev/waveterm / pushElemStack

Function pushElemStack

pkg/vdom/vdom_html.go:36–41  ·  view source on GitHub ↗
(stack []*VDomElem, elem *VDomElem)

Source from the content-addressed store, hash-verified

34}
35
36func pushElemStack(stack []*VDomElem, elem *VDomElem) []*VDomElem {
37 if elem == nil {
38 return stack
39 }
40 return append(stack, elem)
41}
42
43func popElemStack(stack []*VDomElem) []*VDomElem {
44 if len(stack) <= 1 {

Callers 1

BindFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected