![JAR search and dependency download from the Maven repository](/logo.png)
org.snapscript.tree.compile.ClosureScopeCompiler Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of snap Show documentation
Show all versions of snap Show documentation
Dynamic scripting for the JVM
package org.snapscript.tree.compile;
import org.snapscript.core.function.Function;
import org.snapscript.core.scope.Scope;
import org.snapscript.core.type.Type;
public class ClosureScopeCompiler extends ScopeCompiler{
public ClosureScopeCompiler() {
super();
}
public Scope compile(Scope closure, Type type, Function function) throws Exception {
Scope scope = closure.getStack();
compileParameters(scope, function);
compileProperties(scope, type);
return scope;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy