Package r.data

Examples of r.data.RFunction$EnclosingSlot


            }
            return emptyReadSet;
        }
        ArrayList<EnclosingSlot> rsl = new ArrayList<>();
        for (RSymbol s : origRSet) {
            RFunction p = parent;
            int hops = 1;
            while (p != null) {
                int slot = p.localSlot(s);
                if (slot != -1) {
                    rsl.add(new EnclosingSlot(s, hops, slot));
                    break;
                }
                p = p.enclosingFunction();
                hops++;
            }
        }
        return rsl.toArray(new EnclosingSlot[0]); // FIXME: rewrite this to get rid of allocation/copying
    }
View Full Code Here

TOP

Related Classes of r.data.RFunction$EnclosingSlot

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.