Beispiel #1
0
 public EbiNativeFunction(string?name, EbiNativeFunctionDelegate d, EbiType returnType, params EbiType[] argTypes)
 {
     Name          = name;
     ReturnType    = returnType;
     ArgumentTypes = argTypes;
     Delegate      = d;
 }
Beispiel #2
0
        public static bool IsValidType(EbiType inType, EbiType outType)
        {
            // 型が一致していればtrue
            // any型に対しては全部true
            if (inType == outType || outType == EbiType.Any)
            {
                return(true);
            }

            // TODO: キャストとかをやる

            return(false);
        }
Beispiel #3
0
 public EbiNativeFunction(EbiNativeFunctionDelegate d, EbiType returnType, params EbiType[] argTypes) : this(null, d, returnType, argTypes)
 {
 }
Beispiel #4
0
 public EbiVariable(EbiValueBase value, EbiType suitableType) : base(value, suitableType)
 {
 }