GetDesignatorType() public method

Provides the type designated by this designator
public GetDesignatorType ( ) : Type
return DataDictionary.Types.Type
Esempio n. 1
0
        /// <summary>
        /// Provides the type of this expression
        /// </summary>
        /// <param name="context">The interpretation context</param>
        /// <returns></returns>
        public Types.Type GetExpressionType()
        {
            Types.Type retVal = null;

            if (Designator != null)
            {
                retVal = Designator.GetDesignatorType();
            }
            else if (LiteralValue != null)
            {
                retVal = LiteralValue.GetExpressionType();
            }

            return(retVal);
        }