11 lines
372 B
C#
11 lines
372 B
C#
namespace Qrakhen.Qamp.Core.Compilation;
|
|
|
|
public delegate void RuleDelegate(Digester digester, bool canAssign);
|
|
|
|
public readonly struct Rule(RuleDelegate? prefix = null, RuleDelegate? infix = null, Weight weight = Weight.None)
|
|
{
|
|
public readonly RuleDelegate? Prefix = prefix;
|
|
public readonly RuleDelegate? Infix = infix;
|
|
public readonly Weight Weight = weight;
|
|
}
|