org.snapscript.core.NoResume 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.core;
public class NoResume implements Resume {
@Override
public Result resume(Scope scope, Object value) throws Exception {
return Result.getNormal();
}
@Override
public Resume suspend(Result result, Resume resume, Object o) throws Exception {
return null;
}
}