fix: 重构类型系统 (#79)

Reviewed-on: PostGuard/Canon#79
This commit is contained in:
2024-05-12 14:29:18 +08:00
parent 1908561d31
commit b34383ea74
13 changed files with 162 additions and 218 deletions

View File

@@ -59,6 +59,11 @@ public class TypeSyntaxNode : NonTerminatedSyntaxNode
}
}
/// <summary>
/// 是否为定义引用变量
/// </summary>
public bool IsReference { get; set; }
public static TypeSyntaxNode Create(List<SyntaxNodeBase> children)
{
return new TypeSyntaxNode { Children = children };