function(some)
    if(smth)
    elseif(other)
    else()
        foreach(foo)
            while(bar)
            endwhile()
        endforeach()
    endif()
endfunction()
