You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
416 B
18 lines
416 B
namespace EC.Helper.RabbitFunc.Syntax;
|
|
|
|
internal class OperatorToken : Token
|
|
{
|
|
private string @operator;
|
|
private byte precedence;
|
|
|
|
public OperatorToken(TokenKind kind, string @operator, byte precedence)
|
|
: base(kind)
|
|
{
|
|
this.@operator = @operator;
|
|
this.precedence = precedence;
|
|
}
|
|
|
|
public override string Text => @operator;
|
|
|
|
public byte Precedence => precedence;
|
|
}
|