MCPcopy
hub / github.com/expr-lang/expr / current

Method current

vm/vm.go:671–676  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

669}
670
671func (vm *VM) current() any {
672 if len(vm.Stack) == 0 {
673 panic("stack underflow")
674 }
675 return vm.Stack[len(vm.Stack)-1]
676}
677
678func (vm *VM) pop() any {
679 if len(vm.Stack) == 0 {

Callers 1

RunMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected