simplified tNode_get_byKey_asIndex and tNode_getKey_byIndex==>get_byIndex_asKey; syntax polishing
This commit is contained in:
parent
c0620037a1
commit
fd24c9c2a1
|
@ -67,9 +67,9 @@ module YAML_types
|
||||||
procedure :: &
|
procedure :: &
|
||||||
tNode_get_byKey_asStrings => tNode_get_byKey_asStrings
|
tNode_get_byKey_asStrings => tNode_get_byKey_asStrings
|
||||||
procedure :: &
|
procedure :: &
|
||||||
getIndex => tNode_get_byKey_asIndex
|
getKey => tNode_get_byIndex_asKey
|
||||||
procedure :: &
|
procedure :: &
|
||||||
getKey => tNode_getKey_byIndex
|
getIndex => tNode_get_byKey_asIndex
|
||||||
procedure :: &
|
procedure :: &
|
||||||
contains => tNode_contains
|
contains => tNode_contains
|
||||||
|
|
||||||
|
@ -602,7 +602,7 @@ end function tNode_get_byIndex_asStrings
|
||||||
!--------------------------------------------------------------------------------------------------
|
!--------------------------------------------------------------------------------------------------
|
||||||
!> @brief Returns the key in a dictionary as a string
|
!> @brief Returns the key in a dictionary as a string
|
||||||
!--------------------------------------------------------------------------------------------------
|
!--------------------------------------------------------------------------------------------------
|
||||||
function tNode_getKey_byIndex(self,i) result(key)
|
function tNode_get_byIndex_asKey(self,i) result(key)
|
||||||
|
|
||||||
class(tNode), intent(in), target :: self
|
class(tNode), intent(in), target :: self
|
||||||
integer, intent(in) :: i
|
integer, intent(in) :: i
|
||||||
|
@ -619,7 +619,7 @@ function tNode_getKey_byIndex(self,i) result(key)
|
||||||
enddo
|
enddo
|
||||||
key = item%key
|
key = item%key
|
||||||
|
|
||||||
end function tNode_getKey_byIndex
|
end function tNode_get_byIndex_asKey
|
||||||
|
|
||||||
|
|
||||||
!-------------------------------------------------------------------------------------------------
|
!-------------------------------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue