obfuz/Editor/Emit/Functions/NodeCreatorBase.cs

15 lines
459 B
C#
Raw Normal View History

using System.Collections.Generic;
namespace Obfuz.Emit
{
public abstract class NodeCreatorBase : IFunction
{
void IFunction.Compile(CompileContext ctx, List<IDataNode> inputs, ConstValue result)
{
throw new System.NotSupportedException("This function is not supported in this context.");
}
public abstract IDataNode CreateExpr(DataNodeType type, object value, CreateExpressionOptions options);
}
}