internal override void RemoveChild(Node child) { if (_declarestmt_ == child) { _declarestmt_ = null; return; } }
ArrayList New4() { ArrayList nodeList = new ArrayList(); ArrayList nodeArrayList1 = (ArrayList)Pop(); PDeclarestmt pdeclarestmtNode2 = (PDeclarestmt)nodeArrayList1[0]; ADeclStmt pstmtNode1 = new ADeclStmt( pdeclarestmtNode2 ); nodeList.Add(pstmtNode1); return(nodeList); }
public void SetDeclarestmt(PDeclarestmt node) { if (_declarestmt_ != null) { _declarestmt_.Parent(null); } if (node != null) { if (node.Parent() != null) { node.Parent().RemoveChild(node); } node.Parent(this); } _declarestmt_ = node; }
public ADeclStmt( PDeclarestmt _declarestmt_ ) { SetDeclarestmt(_declarestmt_); }