func NewFrame(s *util.Stack) *Frame { f := &Frame{ util.NewFrame(s), nil, make(map[string]int), } return f }
// PushFrame pushes a new frame to the frame stack func (st *State) PushFrame() *util.Frame { f := util.NewFrame(st.framestack) st.frames.Push(f) f.SetMark(st.frames.Cur()) return f }