0.6.0
Loading...
Searching...
No Matches
mod_function Module Reference

Data Types

type  t_argument
 List of arguments of a function. More...
 
type  t_function
 Function. More...
 
type  t_function_list
 List of functions. More...
 

Enumerations

enum  {
  fct_void , fct_integer , fct_double , fct_boolean ,
  fct_string
}
 

Functions/Subroutines

recursive subroutine argument_add_argument (argument_list, argument)
 Add an argument to the list.
 
recursive subroutine argument_finalize (argument)
 Finalize an argument list.
 
subroutine function_finalize (funct)
 Finalize a function.
 
recursive subroutine function_list_add_function (list, funct)
 Add a function to the list.
 
recursive subroutine function_list_finalize (list)
 Finalize a function list.
 
recursive subroutine function_list_find_function (list, label, funct)
 Find a function in the list by its name.
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
fct_void 
fct_integer 
fct_double 
fct_boolean 
fct_string 

Function/Subroutine Documentation

◆ argument_add_argument()

recursive subroutine mod_function::argument_add_argument ( type(t_argument), intent(inout), pointer argument_list,
type(t_argument), intent(inout), pointer argument )

Add an argument to the list.

◆ argument_finalize()

recursive subroutine mod_function::argument_finalize ( type(t_argument), intent(inout) argument)

Finalize an argument list.

Parameters
[in,out]argumentlist of argument.

◆ function_finalize()

subroutine mod_function::function_finalize ( type(t_function), intent(inout) funct)

Finalize a function.

Parameters
[in,out]functionfunction.

◆ function_list_add_function()

recursive subroutine mod_function::function_list_add_function ( type(t_function_list), intent(inout), pointer list,
type(t_function), intent(inout), pointer funct )

Add a function to the list.

Parameters
[in,out]listlist of function.
[in,out]functfunction. Deallocated after calling this function.

◆ function_list_finalize()

recursive subroutine mod_function::function_list_finalize ( type(t_function_list), intent(inout) list)

Finalize a function list.

Parameters
[in,out]listlist of function.

◆ function_list_find_function()

recursive subroutine mod_function::function_list_find_function ( type(t_function_list), pointer list,
character(len=*), intent(in) label,
type(t_function), pointer funct )

Find a function in the list by its name.

Return a null pointer if no function is found.

Parameters
[in,out]listlist of function.
[in]labelname of the function.
[in,out]functfunction.