node_index Function

private pure function node_index(this, key) result(child_index)

Position of key among the children of a mapping, or 0 if absent.

Arguments

Type IntentOptional Attributes Name
class(cable_yaml_node_t), intent(in) :: this
character(len=*), intent(in) :: key

Return Value integer