MCPcopy Create free account
hub / github.com/expr-lang/expr / scope

Method scope

vm/vm.go:694–696  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

692}
693
694func (vm *VM) scope() *Scope {
695 return vm.Scopes[len(vm.Scopes)-1]
696}
697
698// allocScope returns a pointer to a Scope from the pool, growing the pool if needed.
699// Callers must set Len and exactly one of: Ints, Floats, Strings, Anys, or Array.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected