compiler_explorer Derived Type

type, public :: compiler_explorer


Inherits

type~~compiler_explorer~~InheritsGraph type~compiler_explorer compiler_explorer type~options options type~compiler_explorer->type~options options type~compileroptions compilerOptions type~options->type~compileroptions compilerOptions type~filters filters type~options->type~filters filters type~libraries libraries type~options->type~libraries libraries type~tools tools type~options->type~tools tools

Contents

Source Code


Components

Type Visibility Attributes Name Initial
character(len=19), public :: api_url = "https://godbolt.org"
character(len=:), public, allocatable :: compiler_id
character(len=:), public, allocatable :: source
character(len=:), public, allocatable :: lang
logical, public :: allowStoreCodeDebug
type(options), public :: options

Type-Bound Procedures

procedure, public, :: list_languages

  • private subroutine list_languages(this)

    Author
    Seyed Ali Ghasemi

    Arguments

    Type IntentOptional Attributes Name
    class(compiler_explorer), intent(inout) :: this

procedure, public, :: list_compilers

  • private subroutine list_compilers(this, language_id)

    Author
    Seyed Ali Ghasemi

    Arguments

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

procedure, public, :: list_libraries

  • private subroutine list_libraries(this, language_id)

    Author
    Seyed Ali Ghasemi

    Arguments

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

procedure, public, :: list_formatters

  • private subroutine list_formatters(this)

    Author
    Seyed Ali Ghasemi

    Arguments

    Type IntentOptional Attributes Name
    class(compiler_explorer), intent(inout) :: this

procedure, public, :: set_compiler_id

  • private pure elemental subroutine set_compiler_id(this, compiler_id)

    Author
    Seyed Ali Ghasemi

    Arguments

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

procedure, public, :: set_source

  • private pure elemental subroutine set_source(this, source)

    Author
    Seyed Ali Ghasemi

    Arguments

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

procedure, public, :: set_lang

  • private pure elemental subroutine set_lang(this, lang)

    Author
    Seyed Ali Ghasemi

    Arguments

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

procedure, public, :: set_allowStoreCodeDebug

  • private pure elemental subroutine set_allowStoreCodeDebug(this, allowStoreCodeDebug)

    Author
    Seyed Ali Ghasemi

    Arguments

    Type IntentOptional Attributes Name
    class(compiler_explorer), intent(inout) :: this
    logical, intent(in) :: allowStoreCodeDebug

procedure, public, :: compile

  • private impure elemental subroutine compile(this)

    Author
    Seyed Ali Ghasemi

    Arguments

    Type IntentOptional Attributes Name
    class(compiler_explorer), intent(inout) :: this

procedure, private :: deallocate_compiler_id

procedure, private :: deallocate_source

  • private pure elemental subroutine deallocate_source(this)

    Author
    Seyed Ali Ghasemi

    Arguments

    Type IntentOptional Attributes Name
    class(compiler_explorer), intent(inout) :: this

procedure, private :: deallocate_lang

  • private pure elemental subroutine deallocate_lang(this)

    Author
    Seyed Ali Ghasemi

    Arguments

    Type IntentOptional Attributes Name
    class(compiler_explorer), intent(inout) :: this

procedure, public, :: finalize => deallocate_comnpiler_explorer

Source Code

   type compiler_explorer
      character(len=19) :: api_url = "https://godbolt.org"
      character(len=:), allocatable :: compiler_id
      character(len=:), allocatable :: source
      character(len=:), allocatable :: lang
      logical                       :: allowStoreCodeDebug
      type(options)                 :: options
   contains
      procedure :: list_languages
      procedure :: list_compilers
      procedure :: list_libraries
      procedure :: list_formatters
      procedure :: set_compiler_id
      procedure :: set_source
      procedure :: set_lang
      procedure :: set_allowStoreCodeDebug
      procedure :: compile
      procedure, private :: deallocate_compiler_id
      procedure, private :: deallocate_source
      procedure, private :: deallocate_lang
      procedure :: finalize => deallocate_comnpiler_explorer
   end type compiler_explorer