MCPcopy Create free account
hub / github.com/SeldonIO/goven / Push

Method Push

parser/stack.go:13–15  ·  view source on GitHub ↗

Push pushes a token to the TokenStack.

(v TokenInfo)

Source from the content-addressed store, hash-verified

11
12// Push pushes a token to the TokenStack.
13func (s *TokenStack) Push(v TokenInfo) {
14 s.stack = append(s.stack, v)
15}
16
17// Pop removes and returns a token from the TokenStack.
18func (s *TokenStack) Pop() (TokenInfo, error) {

Callers 2

TestTokenStackFunction · 0.95
unscanMethod · 0.80

Calls

no outgoing calls

Tested by 1

TestTokenStackFunction · 0.76