Esempio n. 1
0
 internal override void RemoveChild(Node child)
 {
     if (_functioncall_ == child)
     {
         _functioncall_ = null;
         return;
     }
 }
Esempio n. 2
0
        ArrayList New5()
        {
            ArrayList     nodeList           = new ArrayList();
            ArrayList     nodeArrayList1     = (ArrayList)Pop();
            PFunctioncall pfunctioncallNode2 = (PFunctioncall)nodeArrayList1[0];
            AFcStmt       pstmtNode1         = new AFcStmt(
                pfunctioncallNode2
                );

            nodeList.Add(pstmtNode1);
            return(nodeList);
        }
Esempio n. 3
0
        public void SetFunctioncall(PFunctioncall node)
        {
            if (_functioncall_ != null)
            {
                _functioncall_.Parent(null);
            }

            if (node != null)
            {
                if (node.Parent() != null)
                {
                    node.Parent().RemoveChild(node);
                }

                node.Parent(this);
            }

            _functioncall_ = node;
        }
Esempio n. 4
0
 public AFcStmt(
     PFunctioncall _functioncall_
     )
 {
     SetFunctioncall(_functioncall_);
 }