/*public question_colon_expression ConvertToQCE1(dot_question_node dqn) * { * addressed_value left = dqn.left; * addressed_value right = dqn.right; * * var eq = new bin_expr(left, new nil_const(), Operators.Equal, left.source_context); * * var nr = Into(left, right); * * var q = new question_colon_expression(eq, new nil_const(), nr, dqn.source_context); * nr.Parent = q; * return q; * }*/ public question_colon_expression ConvertToQCE1(dot_question_node dqn, string name) { addressed_value right = dqn.right; var eq = new bin_expr(new ident(name, dqn.source_context), new nil_const(), Operators.Equal, dqn.left.source_context); var nr = Into(new ident(name), right); nr.source_context = dqn.source_context; var nc = new nil_const(); nc.source_context = dqn.source_context; var q = new question_colon_expression(eq, nc, nr, dqn.source_context); nr.Parent = q; return(q); }
public override void visit(nil_const _nil_const) { }
public virtual void visit(nil_const _nil_const) { DefaultVisit(_nil_const); }
public virtual void post_do_visit(nil_const _nil_const) { }
public override void visit(nil_const _nil_const) { DefaultVisit(_nil_const); pre_do_visit(_nil_const); post_do_visit(_nil_const); }
public virtual void visit(nil_const _nil_const) { }
public override void visit(nil_const _nil_const) { AddPossibleComments(_nil_const, true, true); }
public override void visit(nil_const _nil_const) { executer.visit(_nil_const); if (_nil_const.attributes != null) this.visit((dynamic)_nil_const.attributes); }