org.snapscript.tree.define.ModuleStatement 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.Statement;
import org.snapscript.core.module.Module;
public class ModuleStatement implements ModulePart {
private final Statement statement;
public ModuleStatement(Statement statement) {
this.statement = statement;
}
@Override
public Statement define(ModuleBody body, Module module) throws Exception {
return statement;
}
}