/// <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); }
/// <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); }