using Serein.Library;
using Serein.Library.Utils;
using Serein.Script.Node;
using Serein.Script.Node.FlowControl;
using System.Reflection;
using System.Runtime.CompilerServices;
namespace Serein.Script
{
///
/// 脚本解释器,负责执行 Serein 脚本
///
public class SereinScriptInterpreter
{
private readonly Dictionary symbolInfos;
///
/// 缓存对象方法调用节点
///
//private Dictionary MethodNodeDelegateCaches { get; } = new Dictionary();
private static Dictionary ASTDelegateDetails { get; } = new Dictionary();
public SereinScriptInterpreter(Dictionary symbolInfos)
{
this.symbolInfos = symbolInfos;
}
public async Task