Esempio n. 1
0
        /// <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);
        }
Esempio n. 2
0
        /// <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);
        }