通过Emit优化Script脚本的解释执行;出于后期更新的方向,暂时隐藏表达式节点、条件表达式节点、全局数据节点;流程图转c#代码新增对于Script脚本的支持,Script脚本现在可以原生导出为C#代码。

This commit is contained in:
fengjiayi
2025-07-26 19:36:54 +08:00
parent 9a8de6b571
commit 29f2be5c80
32 changed files with 2175 additions and 432 deletions

View File

@@ -0,0 +1,22 @@
namespace Serein.Script
{
public class SereinScriptMethodInfo
{
public string ClassName { get; set; }
public string MethodName { get; set; }
public Type? ReturnType { get; set; }
public bool IsAsync { get; set; }
public List<SereinScriptParamInfo> ParamInfos { get; set; }
public string CsharpCode { get; set; }
public class SereinScriptParamInfo
{
public string ParamName { get; set; }
public Type ParameterType { get; set; }
}
}
}