Пример #1
0
        public GamaFrame Push()
        {
            var frame = new GamaFrame(Peek());

            Stack.Push(frame);
            Top = frame;
            return(frame);
        }
Пример #2
0
        public GamaStackFrame()
        {
            Root = new GamaFrame();
            Top  = Root;

            Stack = new Stack <GamaFrame>();
            Stack.Push(Root);
        }
Пример #3
0
 public GamaFrame(GamaFrame parent)
 {
     Parent      = parent;
     NamedValues = new Dictionary <string, GamaValueRef>();
 }