com.togethersoft.openapi.sci
Interface SciCompoundStatement

All Known Subinterfaces:
SciCatchBlockStatement, SciParametrizedCompoundStatement, SciSwitchStatement

public interface SciCompoundStatement
extends SciStatement

Represents compound statements (statements with code block).
For example SciStatementKind.COMPOUND, SciStatementKind.TRY_BLOCK, SciStatementKind.FINALLY_BLOCK.

Author:
TogetherSoft
Since: Together 3.0
See Also: SciStatementKind

Method Summary
 SciCodeBlockgetCodeBlock()
          Returns code block of compound statement.

Methods inherited from interface com.togethersoft.openapi.sci.SciStatement
accept, getContainingBlock, getKind, visitExpressions, visitExpressions, visitReferences, visitReferences

Methods inherited from interface com.togethersoft.openapi.sci.SciObject
canCut, canDelete, canReplace, copy, cut, delete, getContainingFile, getContainingScope, getLanguage, getPositions, getText, getUserProperty, isReadOnly, replace, setUserProperty

Method Detail

getCodeBlock

public SciCodeBlock getCodeBlock()
Returns code block of compound statement.
Returns: code block of compound statement