The open constructs, outermost first.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(scope_stack_t), | intent(in) | :: | self |
the stack |
pure function stack_snapshot(self) result(scopes) !! The open constructs, outermost first. class(scope_stack_t), intent(in) :: self !! the stack type(scope_t), allocatable :: scopes(:) if (allocated(self%s)) then scopes = self%s(1:self%top) else allocate (scopes(0)) end if end function stack_snapshot