scopeCode

If statement has code that needs to run in a finally clause at the end of the current scope, return that code in the form of a Statement.

Parameters

statement Statement

the statement

sc Scope*

context

sentry Statement

set to code executed upon entry to the scope

sexception Statement

set to code executed upon exit from the scope via exception

sfinally Statement

set to code executed in finally block

Return Value

Type: Statement

code to be run in the finally clause

Meta