All Downloads are FREE. Search and download functionalities are using the official Maven repository.

riddley.Util Maven / Gradle / Ivy

The newest version!
package riddley;

import clojure.lang.Symbol;
import clojure.lang.Compiler;

public class Util {

    public static Compiler.LocalBinding localBinding(int num, Symbol sym, Symbol tag, Object form) {
        return new Compiler.LocalBinding(num, sym, tag, Compiler.analyze(Compiler.C.EXPRESSION, form), false, null);
    }

    public static Compiler.LocalBinding localArgument(int num, Symbol sym, Symbol tag) {
        return new Compiler.LocalBinding(num, sym, tag, null, true, null);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy