set_source Subroutine

private pure elemental subroutine set_source(this, source)

Type Bound

compiler_explorer

Arguments

Type IntentOptional Attributes Name
class(compiler_explorer), intent(inout) :: this
character(len=*), intent(in) :: source

Contents

Source Code


Source Code

   elemental pure subroutine set_source(this, source)
      class(compiler_explorer), intent(inout) :: this
      character(len=*), intent(in)           :: source

      this%source = trim(source)
   end subroutine set_source