コード例 #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>();
 }