Loading...
Searching...
No Matches

Definition

Append macros to a macro table.

Existing definitions with the same name are replaced, while new definitions are appended to the dynamic array.

Overloads support:

  • insertion of a single Macro Expansion object,
  • insertion by name only,
  • insertion by name and replacement text,
  • insertion of a range of macros.

Definition at line 175 of file macro.f90.


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

Methods

◆ add_item()

subroutine add_item ( type(macro), dimension(:), intent(inout), allocatable this,
type(macro), intent(in) m )

Add a complete macro object to the table.

Definition at line 941 of file macro.f90.

◆ add_item_from_name()

subroutine add_item_from_name ( type(macro), dimension(:), intent(inout), allocatable this,
character(*), intent(in) name )

Add macro by name only (value = empty).

Definition at line 949 of file macro.f90.

◆ add_item_from_name_and_value()

subroutine add_item_from_name_and_value ( type(macro), dimension(:), intent(inout), allocatable this,
character(*), intent(in) name,
character(*), intent(in) value )

Add macro with name and replacement text.

Definition at line 958 of file macro.f90.

◆ add_range()

subroutine add_range ( type(macro), dimension(:), intent(inout), allocatable this,
type(macro), dimension(:), intent(in) m )

Add multiple macros at once.

Definition at line 968 of file macro.f90.