Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
/*
* Copyright (C) 2021, Danilo Pianini and contributors listed in the project's build.gradle.kts or pom.xml file.
*
* This file is part of Protelis, and is distributed under the terms of the GNU General Public License,
* with a linking exception, as described in the file LICENSE.txt in this project's top directory.
*/
package org.protelis.lang.interpreter.impl;
import com.google.common.collect.ImmutableList;
import org.eclipse.xtext.common.types.JvmOperation;
import org.protelis.lang.datatype.Field;
import org.protelis.lang.datatype.FunctionDefinition;
import org.protelis.lang.interpreter.ProtelisAST;
import org.protelis.lang.interpreter.util.Bytecode;
import org.protelis.lang.interpreter.util.ReflectionUtils;
import org.protelis.lang.loading.Metadata;
import org.protelis.vm.ExecutionContext;
import java.util.function.BinaryOperator;
import static org.protelis.lang.interpreter.util.Bytecode.GENERIC_HOOD_CALL_DEFAULT;
import static org.protelis.lang.interpreter.util.Bytecode.GENERIC_HOOD_CALL_FIELD;
import static org.protelis.lang.interpreter.util.Bytecode.GENERIC_HOOD_CALL_FUNCTION;
/**
* Reduce a field into a local value by reduction using a {@link org.protelis.lang.interpreter.util.HoodOp}.
*/
@Deprecated
public final class GenericHoodCall extends AbstractProtelisAST