File: Internal\SrgsParser\IRule.cs
Web Access
Project: src\src\runtime\src\libraries\System.Speech\src\System.Speech.csproj (System.Speech)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.

namespace System.Speech.Internal.SrgsParser
{
    internal interface IRule : IElement
    {
        string? BaseClass { get; set; }

        void CreateScript(IGrammar grammar, string rule, string method, RuleMethodScript type);
    }

    #region Internal Enums

    internal enum RuleDynamic
    {
        True,
        False,
        NotSet
    };

    internal enum RulePublic
    {
        True,
        False,
        NotSet
    };

    #endregion
}