namespace ZelWiki.Engine.Function
{
    public class OrdinalParameter
    {
        /// <summary>
        /// 
        /// </summary>
        /// <param name="value"></param>
        public OrdinalParameter(string value)
        {
            Value = value;
            IsMatched = false;
            ParameterName = string.Empty;
        }
        public string Value { get; set; }

        /// <summary>
        ///
        /// </summary>
        public bool IsMatched { get; set; }

        /// <summary>
        ///
        /// </summary>
        public string ParameterName { get; set; }
        
        public void AssociateWithPrototypeParam(string paramName)
        {
            IsMatched = true;
            ParameterName = paramName;
        }
    }
}