Examples of toXLoper()


Examples of org.boris.xlloop.util.XLList.toXLoper()

            StandardLispCons c = (StandardLispCons) value;
            XLList coll = new XLList();
            for (int i = 0; i < c.basic_length(); i++) {
                coll.add(makeResult(c.elt(i)));
            }
            return coll.toXLoper();
        } else if (value instanceof StandardLispNIL || value == null) {
            return XLNil.NIL;
        } else {
            return new XLString(registry.put(value));
        }
View Full Code Here

Examples of org.boris.xlloop.util.XLList.toXLoper()

                fi.setCategory(category);
            }
            c.add(fi.encode());
        }

        return c.toXLoper();
    }

    public boolean hasFunction(String name) {
        return GET_FUNCTIONS.equals(name);
    }
View Full Code Here

Examples of org.boris.xlloop.util.XLList.toXLoper()

    private int count;

    public XLoper execute(IFunctionContext context, String name, XLoper[] args) throws RequestException {
        XLList l = new XLList(args);
        l.add(++count);
        return l.toXLoper();
    }

    public boolean hasFunction(String name) {
        return true;
    }
View Full Code Here

Examples of org.boris.xlloop.util.XLList.toXLoper()

            l.add(-1000);
            XLList p = new XLList();
            p.add(123.1213);
            p.add(234234.232);
            p.add(23.3333);
            l.add(p.toXLoper());
            return l.toXLoper();
        } else if (name.equals("Test222")) {
            XLList l = new XLList();
            l.add("m7EA7PaA3COwyuxoVk1YcVvANJjz0g");
            XLList n = new XLList();
View Full Code Here

Examples of org.boris.xlloop.util.XLList.toXLoper()

            XLList l = new XLList();
            l.add("m7EA7PaA3COwyuxoVk1YcVvANJjz0g");
            XLList n = new XLList();
            n.add(XLNil.NIL);
            n.add(XLNil.NIL);
            l.add(n.toXLoper());
            l.add(363.51324173151755);
            l.add(false);
            return l.toXLoper();

        } else if (name.equals("MakeRandomString")) {
View Full Code Here

Examples of org.boris.xlloop.util.XLList.toXLoper()

            er.add(i);
            er.add(i);
            er.add(i);
            er.add(i);
            er.add(i);
            XLoper v = re.execute("Echo", er.toXLoper().array);
            System.out.println(v);
        }
        System.out.println(System.currentTimeMillis() - t0);

        re.disconnect();
View Full Code Here

Examples of org.boris.xlloop.util.XLMap.toXloper()

            s.add("argumentHelp", c);
        }
        if (isVolatile)
            s.add("isVolatile", true);

        return s.toXloper();
    }
}
View Full Code Here

Examples of org.boris.xlloop.util.XLMap.toXloper()

            subs.add(toXLoper(menu.getSubMenu(i)));
        }
        m.add("name", menu.getName());
        m.add("items", items);
        m.add("submenus", subs);
        return m.toXloper();
    }

    public static XLoper toXLoper(MenuItem item) {
        XLMap m = new XLMap();
        m.add("name", item.getName());
View Full Code Here

Examples of org.boris.xlloop.util.XLMap.toXloper()

    }

    public static XLoper toXLoper(MenuItem item) {
        XLMap m = new XLMap();
        m.add("name", item.getName());
        return m.toXloper();
    }

    public static XLoper toXLoper(SubMenu menu) {
        XLMap m = new XLMap();
        XLList items = new XLList();
View Full Code Here

Examples of org.boris.xlloop.util.XLMap.toXloper()

        m.add("name", menu.getName());
        if (menu.getPosition() != null)
            m.add("position", menu.getPosition());
        m.add("items", items);
        return m.toXloper();
    }
}
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.