internal override void RemoveChild(Node child) { if (_id_ == child) { _id_ = null; return; } if (_lparen_ == child) { _lparen_ = null; return; } if (_arguments_ == child) { _arguments_ = null; return; } if (_rparen_ == child) { _rparen_ = null; return; } if (_eol_ == child) { _eol_ = null; return; } }
internal override void RemoveChild(Node child) { if (_id_ == child) { _id_ = null; return; } }
public ADeclarestmt( TId _typename_, TId _varname_, TEol _eol_ ) { SetTypename(_typename_); SetVarname(_varname_); SetEol(_eol_); }
public AAssignstmt( TId _id_, TAssign _assign_, PExpr _expr_, TEol _eol_ ) { SetId(_id_); SetAssign(_assign_); SetExpr(_expr_); SetEol(_eol_); }
public AFunctioncall( TId _id_, TLparen _lparen_, PArguments _arguments_, TRparen _rparen_, TEol _eol_ ) { SetId(_id_); SetLparen(_lparen_); SetArguments(_arguments_); SetRparen(_rparen_); SetEol(_eol_); }
internal override void RemoveChild(Node child) { if (_typename_ == child) { _typename_ = null; return; } if (_varname_ == child) { _varname_ = null; return; } if (_eol_ == child) { _eol_ = null; return; } }
public void SetId(TId node) { if (_id_ != null) { _id_.Parent(null); } if (node != null) { if (node.Parent() != null) { node.Parent().RemoveChild(node); } node.Parent(this); } _id_ = node; }
public void SetVarname(TId node) { if (_varname_ != null) { _varname_.Parent(null); } if (node != null) { if (node.Parent() != null) { node.Parent().RemoveChild(node); } node.Parent(this); } _varname_ = node; }
internal override void RemoveChild(Node child) { if (_id_ == child) { _id_ = null; return; } if (_assign_ == child) { _assign_ = null; return; } if (_expr_ == child) { _expr_ = null; return; } if (_eol_ == child) { _eol_ = null; return; } }
public AVariableOperand( TId _id_ ) { SetId(_id_); }