/// <inheritdoc /> public Node Visit(IdentifierParseNode i) { var ret = new ImplicitReceiverRequestNode(i.Token, i); var rpn = new RequestPartNode(i.Name, new List <Node>(), new List <Node>()); ret.AddPart(rpn); return(ret); }
/// <inheritdoc /> public Node Visit(ImplicitBracketRequestParseNode ibrpn) { ImplicitReceiverRequestNode ret = new ImplicitReceiverRequestNode(ibrpn.Token, ibrpn); RequestPartNode rpn = new RequestPartNode("circumfix" + ibrpn.Name, new List <Node>(), map(ibrpn.Arguments), false); ret.AddPart(rpn); return(ret); }