示例#1
0
        /// <summary>
        /// フレームの復元
        /// </summary>
        protected void PopFrame()
        {
            NakoParserFrame f = frameStack.Pop();

            lastNode   = f.lastNode;
            parentNode = f.parentNode;
            localVar   = f.localVar;
        }
示例#2
0
        /// <summary>
        /// フレームを記録
        /// </summary>
        protected void PushFrame()
        {
            NakoParserFrame f = new NakoParserFrame();

            f.lastNode   = lastNode;
            f.parentNode = parentNode;
            f.localVar   = localVar;
            frameStack.Push(f);
        }
示例#3
0
 /// <summary>
 /// フレームを記録
 /// </summary>
 protected void PushFrame()
 {
     NakoParserFrame f = new NakoParserFrame();
     f.lastNode = lastNode;
     f.parentNode = parentNode;
     f.localVar = localVar;
     frameStack.Push(f);
 }