using System;
using System.Collections.Generic;
using System.Text;

namespace FormulaEditor
{
    /// <summary>
    /// Detector of operation
    /// </summary>
    public interface IOperationDetector
    {
        /// <summary>
        /// Detects operation
        /// </summary>
        /// <param name="s">First symbol of the formula</param>
        /// <returns>Acceptor of operation</returns>
        IOperationAcceptor Detect(MathSymbol s);
    }
}
