MCPcopy
hub / github.com/google/mtail / Push

Method Push

internal/runtime/vm/vm.go:84–86  ·  view source on GitHub ↗

Push a value onto the stack.

(value interface{})

Source from the content-addressed store, hash-verified

82
83// Push a value onto the stack.
84func (t *thread) Push(value interface{}) {
85 t.stack = append(t.stack, value)
86}
87
88// Pop a value off the stack.
89func (t *thread) Pop() (value interface{}) {

Callers 7

TestInstrsFunction · 0.80
TestDatumSetInstrsFunction · 0.80
TestStrptimeWithTimezoneFunction · 0.80
TestDatumFetchInstrsFunction · 0.80
TestDeleteInstrsFunction · 0.80
executeMethod · 0.80

Calls

no outgoing calls

Tested by 6

TestInstrsFunction · 0.64
TestDatumSetInstrsFunction · 0.64
TestStrptimeWithTimezoneFunction · 0.64
TestDatumFetchInstrsFunction · 0.64
TestDeleteInstrsFunction · 0.64