package org.warp.picalculator.math.parser.features;

import org.warp.picalculator.Error;
import org.warp.picalculator.math.Function;
import org.warp.picalculator.math.MathContext;
import org.warp.picalculator.math.functions.trigonometry.Sine;

public class FeatureSine extends FeatureSingleImpl {

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

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

}
