DataDictionary.Interpreter.Call.GetExpressionType C# (CSharp) Method

GetExpressionType() public method

Provides the type of this expression
public GetExpressionType ( ) : Type
return DataDictionary.Types.Type
        public override Type GetExpressionType()
        {
            Type retVal = null;

            Function function = Called.GetStaticCallable() as Function;
            if (function != null)
            {
                retVal = function.ReturnType;
            }
            else
            {
                AddError("Cannot get type of function call " + ToString(), RuleChecksEnum.SemanticAnalysisError);
            }

            return retVal;
        }