UnwrapBlock(IStatement)
Returns an IStatementList from the statements of a given block, or a singleton IStatementList containing the given statement itself if the statement is not a block.
Declaration
public static IStatementList UnwrapBlock(IStatement statement)
Parameters
Type | Name | Description |
---|---|---|
IStatement | statement |
Returns
Type | Description |
---|---|
IStatementList |