Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(node), | intent(inout) | :: | this |
Deallocates the value stored within the node.
subroutine unset_contents(this)
!* Author: Chris MacMackin
! Date: February 2016
!
! Deallocates the value stored within the node.
!
class(node), intent(inout) :: this
if (this%has_contents()) deallocate(this%contents)
end subroutine unset_contents