Loading...
Searching...
No Matches
arg_base Module Reference

Inherited by arg.

Definition

Represents an abstract type of the method argument. Method arguments are simple types containing a name for display and a polymorphic value.

type, public :: arg_base 

Examples

The following example demonstrates how to use arg_base to create the concrete type arg

type, extends(arg_base), public :: arg
private
contains
procedure, pass(lhs), private :: any_assign_argument
generic :: assignment(=) => any_assign_argument
procedure, pass(this), public :: to_string
end type

Remarks

arg_base is an abstract base class of arg, which contains the type bound procedures.

Definition at line 21 of file ArgumentBase.f90.


The documentation for this module was generated from the following file:

Variables

character(:), allocatable display
 String characterizing the argument.
If not specified, the numeric value is stringified.
 
class(*), allocatable value
 Unlimited polymorphic value of the argument.
This property is used to store any value of any type.