mirror of
https://gitee.com/langsisi_admin/serein-flow
synced 2026-03-03 00:00:49 +08:00
30 lines
568 B
C#
30 lines
568 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Serein.Script.Node
|
|
{
|
|
/// <summary>
|
|
/// 类型节点
|
|
/// </summary>
|
|
public class TypeNode : ASTNode
|
|
{
|
|
/// <summary>
|
|
/// 类型名称
|
|
/// </summary>
|
|
public string TypeName { get; }
|
|
|
|
public TypeNode(string typeName)
|
|
{
|
|
TypeName = typeName;
|
|
}
|
|
|
|
public override string ToString()
|
|
{
|
|
return $"[type]{TypeName}";
|
|
}
|
|
}
|
|
}
|