Package org.jatha.compile.args

Examples of org.jatha.compile.args.RestArgument


        list4_a_default = lisp.makeInteger(2);
        list4.getOptionalArguments().add(new OptionalArgument(a_sym,list4_a_default,b_sym));
        list4_c_default = lisp.makeInteger(3);
        list4.getOptionalArguments().add(new OptionalArgument(c_sym,list4_c_default,d_sym));
        list4.setRestArgument(new RestArgument(x_sym));

        list5.getNormalArguments().add(new NormalArgument(a_sym));
        list5.getNormalArguments().add(new NormalArgument(b_sym));
        list5.getKeyArguments().put(c_key,new KeyArgument(c_sym,c_key));
        list5.getKeyArguments().put(d_key,new KeyArgument(d_sym,d_key));

        list6.getNormalArguments().add(new NormalArgument(a_sym));
        list6_b_default = lisp.makeInteger(3);
        list6.getOptionalArguments().add(new OptionalArgument(b_sym,list6_b_default));
        list6.setRestArgument(new RestArgument(x_sym));
        list6.getKeyArguments().put(c_key,new KeyArgument(c_sym,c_key));
        list6.getKeyArguments().put(d_key,new KeyArgument(d_sym,d_key,a_sym));

        list7.getNormalArguments().add(new NormalArgument(a_sym));
        list7_b_default = lisp.makeInteger(3);
        list7.getOptionalArguments().add(new OptionalArgument(b_sym,list7_b_default));
        list7.setRestArgument(new RestArgument(x_sym));
        list7.getKeyArguments().put(c_key,new KeyArgument(c_sym,c_key));
        list7.getKeyArguments().put(d_key,new KeyArgument(d_sym,d_key,a_sym));
        list7.setAllowOtherKeys(true);

        list8.getNormalArguments().add(new NormalArgument(a_sym));
View Full Code Here

TOP

Related Classes of org.jatha.compile.args.RestArgument

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.