internal override void RemoveChild(Node child) { if (_operand_ == child) { _operand_ = null; return; } }
public AMultExpr2( PExpr2 _expr2_, TMult _mult_, POperand _operand_ ) { SetExpr2(_expr2_); SetMult(_mult_); SetOperand(_operand_); }
ArrayList New15() { ArrayList nodeList = new ArrayList(); ArrayList nodeArrayList1 = (ArrayList)Pop(); POperand poperandNode2 = (POperand)nodeArrayList1[0]; APassExpr2 pexpr2Node1 = new APassExpr2( poperandNode2 ); nodeList.Add(pexpr2Node1); return(nodeList); }
ArrayList New14() { ArrayList nodeList = new ArrayList(); ArrayList nodeArrayList3 = (ArrayList)Pop(); ArrayList nodeArrayList2 = (ArrayList)Pop(); ArrayList nodeArrayList1 = (ArrayList)Pop(); PExpr2 pexpr2Node2 = (PExpr2)nodeArrayList1[0]; TMult tmultNode3 = (TMult)nodeArrayList2[0]; POperand poperandNode4 = (POperand)nodeArrayList3[0]; AMultExpr2 pexpr2Node1 = new AMultExpr2( pexpr2Node2, tmultNode3, poperandNode4 ); nodeList.Add(pexpr2Node1); return(nodeList); }
public void SetOperand(POperand node) { if (_operand_ != null) { _operand_.Parent(null); } if (node != null) { if (node.Parent() != null) { node.Parent().RemoveChild(node); } node.Parent(this); } _operand_ = node; }
public APassExpr2( POperand _operand_ ) { SetOperand(_operand_); }