![JAR search and dependency download from the Maven repository](/logo.png)
org.snapscript.tree.define.StaticBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of snap-all Show documentation
Show all versions of snap-all Show documentation
Dynamic scripting for the JVM
package org.snapscript.tree.define;
import org.snapscript.core.Result;
import org.snapscript.core.Scope;
import org.snapscript.core.Statement;
import org.snapscript.core.Type;
import org.snapscript.core.TypeFactory;
public class StaticBody extends Statement {
private final TypeFactory factory;
private final Type type;
public StaticBody(TypeFactory factory, Type type) {
this.factory = factory;
this.type = type;
}
@Override
public Result compile(Scope scope) throws Exception {
return factory.compile(scope, type);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy