コード例 #1
0
        //#region RuntimeFreshTypeExpressionPromotion()

        ///// <summary>
        ///// Converts a fresh type variable on the stack (object) to another type
        ///// <param name="indent">Indentation level</param>
        ///// <param name="typeExpression">The type expression to promote to</param>
        ///// </summary>
        //public  abstract void RuntimeFreshTypeExpressionPromotion(int indent, TypeExpression typeExpression);
        //#endregion

        #region RuntimeIsInstruction()

        /// <summary>
        /// Checks if the type variable on the stack is a specified type or can be to promotion.
        /// <param name="indent">Indentation level</param>
        /// <param name="typeExpression">The type expression to promote to</param>
        /// </summary>
        ///public abstract void RuntimeIsInstruction(int indent, TypeExpression typeExpression);

        #endregion

        #region WriteThrowException

        /// <summary>
        /// Writes the generation code to throw a specified exception.
        /// </summary>
        /// <param name="indent">Identation to use.</param>
        /// <param name="dynException">Exception to throw.</param>
        public abstract void WriteThrowException(int indent, DynamicExceptionManager dynException);
コード例 #2
0
 /// <summary>
 /// Algorithm used in WriteCodeException
 /// </summary>
 /// <param name="d">The exception to write in the code</param>
 protected abstract void WriteCodeOfExceptionsTemplateMethod(DynamicExceptionManager d);