public
|
getEndStatements(): EndStatementResult[]
Top-level StatementResult represents the state of the code
at the end of control flow statements like If_ or TryCatch. It shows how Scope etc. looks like after If_ no matter
which code branch was executed. For If_, "end statements" contain the state of the code
at the end of each branch - if, elseifs, else, including the last
statement node in each branch. For nested ifs, end statements try to contain the last non-control flow
statement like Return_ or Throw_, instead of If_, TryCatch, or Foreach_.
Top-level StatementResult represents the state of the code
at the end of control flow statements like If_ or TryCatch. It shows how Scope etc. looks like after If_ no matter
which code branch was executed. For If_, "end statements" contain the state of the code
at the end of each branch - if, elseifs, else, including the last
statement node in each branch. For nested ifs, end statements try to contain the last non-control flow
statement like Return_ or Throw_, instead of If_, TryCatch, or Foreach_.
|
#
|