using System.Linq.Expressions;
using System.Reflection;
using JetBrains.Annotations;
using PkmnLib.Dynamic.Libraries;
using PkmnLib.Static;
using PkmnLib.Static.Utils;
namespace PkmnLib.Dynamic.ScriptHandling.Registry;
///
/// A helper data class that's passed through all plugins when initializing a library, so they can
/// register their scripts and other data.
///
public class ScriptRegistry
{
private readonly Dictionary<(ScriptCategory category, StringKey name), Func