public XmlElement Visit(ReturnParseNode rpn) { var el = makeNode(rpn, "return"); addProperty(el, "returnvalue", rpn.ReturnValue); return(el); }
/// <inheritdoc/> public virtual ParseNode Visit(ReturnParseNode rpn) { if (rpn.ReturnValue != null) { rpn.ReturnValue.Visit(this); } return(rpn); }
/// <inheritdoc /> public Node Visit(ReturnParseNode rpn) { if (rpn.ReturnValue == null) { return(new ReturnNode(rpn.Token, rpn, null)); } return(new ReturnNode(rpn.Token, rpn, rpn.ReturnValue.Visit(this))); }