refact: 重构类型和符号表部分 (#25)

Reviewed-on: PostGuard/Canon#25
This commit is contained in:
2024-04-07 16:10:34 +08:00
parent 1a0d3c37db
commit c0a8e25d45
14 changed files with 537 additions and 1064 deletions

View File

@@ -0,0 +1,25 @@
namespace Canon.Core.Enums;
public enum BasicType
{
/// <summary>
/// 整数类型
/// </summary>
Integer,
/// <summary>
/// 浮点数类型
/// </summary>
Real,
/// <summary>
/// 布尔类型
/// </summary>
Boolean,
/// <summary>
/// 字符类型
/// </summary>
Character,
/// <summary>
/// 空类型
/// </summary>
Void
}