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.
113 lines
1.4 KiB
113 lines
1.4 KiB
namespace EC.Helper.RabbitFunc.Syntax;
|
|
|
|
internal enum TokenKind : byte
|
|
{
|
|
EndOfFile,
|
|
NewLine,
|
|
Error,
|
|
Identifier,
|
|
Constant,
|
|
Comment,
|
|
|
|
/// <summary>
|
|
/// +
|
|
/// </summary>
|
|
Add,
|
|
|
|
/// <summary>
|
|
/// -
|
|
/// </summary>
|
|
Subtract,
|
|
|
|
/// <summary>
|
|
/// *
|
|
/// </summary>
|
|
Multiply,
|
|
|
|
/// <summary>
|
|
/// /
|
|
/// </summary>
|
|
Divide,
|
|
|
|
/// <summary>
|
|
/// %
|
|
/// </summary>
|
|
Mod,
|
|
|
|
/// <summary>
|
|
/// ^
|
|
/// </summary>
|
|
Power,
|
|
|
|
/// <summary>
|
|
/// ,
|
|
/// </summary>
|
|
Comma,
|
|
|
|
/// <summary>
|
|
/// =
|
|
/// </summary>
|
|
Assign,
|
|
|
|
/// <summary>
|
|
/// .
|
|
/// </summary>
|
|
Dot,
|
|
|
|
/// <summary>
|
|
/// (
|
|
/// </summary>
|
|
LeftParen,
|
|
|
|
/// <summary>
|
|
/// )
|
|
/// </summary>
|
|
RightParen,
|
|
|
|
/// <summary>
|
|
/// [
|
|
/// </summary>
|
|
LeftBracket,
|
|
|
|
/// <summary>
|
|
/// ]
|
|
/// </summary>
|
|
RightBracket,
|
|
|
|
/// <summary>
|
|
/// !
|
|
/// </summary>
|
|
Not,
|
|
|
|
/// <summary>
|
|
/// <
|
|
/// </summary>
|
|
LessThan,
|
|
|
|
/// <summary>
|
|
/// <=
|
|
/// </summary>
|
|
LessThanOrEqual,
|
|
|
|
/// <summary>
|
|
/// ==
|
|
/// </summary>
|
|
Equal,
|
|
|
|
/// <summary>
|
|
/// >=
|
|
/// </summary>
|
|
GreaterThanOrEqual,
|
|
|
|
/// <summary>
|
|
/// >
|
|
/// </summary>
|
|
GreaterThan,
|
|
|
|
/// <summary>
|
|
/// !=
|
|
/// </summary>
|
|
NotEqual,
|
|
|
|
IF,
|
|
}
|