mirror of
https://gitee.com/langsisi_admin/serein-flow
synced 2026-03-02 15:50:47 +08:00
25 lines
563 B
C#
25 lines
563 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 ClassTypeDefinitionNode : ASTNode
|
|
{
|
|
public string ClassName { get; }
|
|
public Dictionary<string, Type> Fields { get; }
|
|
|
|
public ClassTypeDefinitionNode(Dictionary<string, Type> fields, string className)
|
|
{
|
|
this.Fields = fields;
|
|
this.ClassName = className;
|
|
}
|
|
}
|
|
|
|
}
|