Exemplo n.º 1
0
        /// <summary>
        /// 状態をポップ
        /// </summary>
        protected void PopNodeState()
        {
            NakoParserNodeState s = stateStack.Pop();

            this.lastNode   = s.lastNode;
            this.parentNode = s.parentNode;
        }
Exemplo n.º 2
0
        /// <summary>
        /// 状態をプッシュ
        /// </summary>
        protected void PushNodeState()
        {
            NakoParserNodeState s = new NakoParserNodeState();

            s.lastNode   = this.lastNode;
            s.parentNode = this.parentNode;
            stateStack.Push(s);
        }
Exemplo n.º 3
0
 /// <summary>
 /// 状態をプッシュ
 /// </summary>
 protected void PushNodeState()
 {
     NakoParserNodeState s = new NakoParserNodeState();
     s.lastNode = this.lastNode;
     s.parentNode = this.parentNode;
     stateStack.Push(s);
 }