org.snapscript.tree.define.PrimitiveState 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.scope.Scope;
import org.snapscript.core.type.TypeState;
import org.snapscript.core.type.Type;
import org.snapscript.core.result.Result;
public class PrimitiveState extends TypeState {
@Override
public Result execute(Scope scope, Type type) throws Exception {
Scope outer = scope.getScope();
return Result.getNormal(outer);
}
}