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

namespace FormulaEditor
{
    /// <summary>
    /// Detector of binary operations
    /// </summary>
    public interface IBinaryDetector
    {

        /// <summary>
        /// Association direction
        /// </summary>
        BinaryAssociationDirection AssociationDirection
        {
            get;
        }

        /// <summary>
        /// Detects operation acceptor
        /// </summary>
        /// <param name="s">Operation symbol</param>
        /// <returns>The acceptor</returns>
        IBinaryAcceptor Detect(MathSymbol s);
    }
}
