Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(fson_value), | pointer | :: | this | |||
integer, | intent(in) | :: | index |
function get_by_index(this, index) result(p)
type(fson_value), pointer :: this, p
integer, intent(in) :: index
integer :: i
p => this % children
do i = 1, index - 1
p => p % next
end do
end function get_by_index