2025-04-22 10:42:58 +08:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
|
|
namespace Obfuz.Virtualization
|
2025-04-20 14:23:40 +08:00
|
|
|
|
{
|
|
|
|
|
public interface IFunction
|
|
|
|
|
{
|
2025-04-20 15:20:13 +08:00
|
|
|
|
DataNodeType ReturnType { get; }
|
|
|
|
|
|
2025-04-22 10:42:58 +08:00
|
|
|
|
ConstExpression CreateExpr(DataNodeType type, object value, CreateExpressionOptions options);
|
|
|
|
|
|
|
|
|
|
void Compile(CompileContext ctx, List<IDataNode> inputs, ConstValue result);
|
2025-04-20 14:23:40 +08:00
|
|
|
|
}
|
|
|
|
|
}
|