public void EmitReturnStatement(ReturnStatement node, int si) { Emit(node.Expression, si); this.Text.Emit("leave"); this.Text.Emit("ret"); }
public override void VisitReturnStatement (ReturnStatement node) { WriteKeyword ("return"); if (node.Expression != null) { WriteSpace (); Visit (node.Expression); } WriteToken (";"); WriteLine (); }
public virtual void VisitReturnStatement(ReturnStatement node) { Visit(node.Expression); }
public virtual void VisitReturnStatement (ReturnStatement node) { Visit (node.Expression); }
public virtual ICodeNode VisitReturnStatement(ReturnStatement node) { node.Expression = (Expression)Visit(node.Expression); return(node); }