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