Beispiel #1
0
        /// <summary>
        /// Ends a while statement
        /// </summary>
        /// <param name="WhileCommand">While statement to end</param>
        public virtual void EndWhile(While WhileCommand)
        {
            SetCurrentMethod();
            EndWhile TempCommand = new EndWhile(WhileCommand);

            TempCommand.Setup();
            Commands.Add(TempCommand);
        }
Beispiel #2
0
        /// <summary>
        ///     Ends a while statement
        /// </summary>
        /// <param name="whileCommand">While statement to end</param>
        public virtual void EndWhile(While whileCommand)
        {
            SetCurrentMethod();
            var tempCommand = new EndWhile(whileCommand);

            tempCommand.Setup();
            Commands.Add(tempCommand);
        }