assert Module Procedure

module procedure assert pure module module subroutine assert(assertion, description, diagnostic_data)

Uses

  • proc~~assert~~UsesGraph proc~assert assert module~characterizable_m characterizable_m proc~assert->module~characterizable_m

Arguments

TypeIntentOptionalAttributesName
logical, intent(in) :: assertion

Most assertions will be expressions such as i>0

character(len=*), intent(in) :: description

A brief statement of what is being asserted such as "i>0" or "positive i"

class(*), intent(in), optional :: diagnostic_data

Data to include in an error ouptput: may be of an intrinsic type or a type that extends characterizable_t


Called by

proc~~assert~~CalledByGraph proc~assert assert interface~assert assert interface~assert->proc~assert proc~as_character as_character proc~as_character->interface~assert interface~as_character as_character interface~as_character->proc~as_character

Contents

None