package it.cavallium.warppi.math.parser.features;

import it.cavallium.warppi.math.Function;
import it.cavallium.warppi.math.MathContext;
import it.cavallium.warppi.math.functions.trigonometry.Sine;
import it.cavallium.warppi.util.Error;

public class FeatureSine extends FeatureSingleImpl {

	public FeatureSine(final Object child) {
		super(child);
	}

	@Override
	public Function toFunction(final MathContext context) throws Error {
		return new Sine(context, getFunction1());
	}

}
