All Superinterfaces:
ICElement, ICStatement, ICTerminalStatement

@Ser public interface ICThrow extends ICTerminalStatement
C AST interface to represent throw statements.

Example:

 throw something;
 
  • Method Details

    • getExpression

      ICExpression getExpression()
      Get the thrown expression.
      Specified by:
      getExpression in interface ICTerminalStatement
      Returns:
      the thrown expression, non null
    • setExpression

      void setExpression(ICExpression e)
      Set the thrown expression.
      Parameters:
      e - mandatory thrown expression