public EbiNativeFunction(string?name, EbiNativeFunctionDelegate d, EbiType returnType, params EbiType[] argTypes) { Name = name; ReturnType = returnType; ArgumentTypes = argTypes; Delegate = d; }
public static bool IsValidType(EbiType inType, EbiType outType) { // 型が一致していればtrue // any型に対しては全部true if (inType == outType || outType == EbiType.Any) { return(true); } // TODO: キャストとかをやる return(false); }
public EbiNativeFunction(EbiNativeFunctionDelegate d, EbiType returnType, params EbiType[] argTypes) : this(null, d, returnType, argTypes) { }
public EbiVariable(EbiValueBase value, EbiType suitableType) : base(value, suitableType) { }