![JAR search and dependency download from the Maven repository](/logo.png)
org.snapscript.tree.define.InstanceFieldFactory 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.Evaluation;
import org.snapscript.core.Result;
import org.snapscript.core.ResultType;
import org.snapscript.core.Scope;
import org.snapscript.core.Type;
import org.snapscript.core.TypeFactory;
public class InstanceFieldFactory extends TypeFactory {
private final Evaluation evaluation;
public InstanceFieldFactory(Evaluation evaluation){
this.evaluation = evaluation;
}
@Override
public Result execute(Scope scope, Type type) throws Exception {
if(evaluation != null) {
evaluation.evaluate(scope, null);
}
return ResultType.getNormal();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy