# Package org.codehaus.groovy.ast.stmt

## Package org.codehaus.groovy.ast.stmt Description

AST nodes for Groovy statements

- Interface Summary
  Interface | Description
  --- | ---
  LoopingStatement | This is an AST Node that provides some sort of looping mechanism.

- Class Summary
  Class | Description
  --- | ---
  AssertStatement | Represents an assert statement that enforces a condition with an optional error message.
  BlockStatement | Represents a compound statement consisting of an ordered sequence of Statements within a specific VariableScope.
  BreakStatement | Represents a break statement that terminates execution of a loop or switch statement.
  CaseStatement | Represents a case arm of a SwitchStatement or a SwitchExpression.
  CatchStatement | Represents a catch (Exception var) { } statement that handles exceptions in a try-catch block.
  ContinueStatement | Represents a continue statement that skips the remainder of the current loop iteration.
  DoWhileStatement | Represents a do { ... } while (condition) loop in Groovy.
  EmptyStatement | Represents an empty statement that performs no operation.
  ExpressionStatement | Represents an expression statement that executes an expression where the return value is ignored.
  ForStatement | Represents a for loop in Groovy, supporting both for-in loops (with values and optional indices) and classic (C-style) for loops with initialization, condition, and update expressions.
  IfStatement | Represents an if (condition) { then-block } else { else-block } conditional statement in Groovy.
  ReturnStatement | Represents a return statement that terminates a method and optionally returns a value.
  Statement | Base class for all statement nodes in the Groovy AST.
  SwitchStatement | Represents a switch (object) { case value: ... case [1, 2, 3]: ...
  SynchronizedStatement | Represents a synchronized statement that provides mutual exclusion for a code block.
  ThrowStatement | Represents a throw statement that raises an exception.
  TryCatchStatement | Represents a try { ... } catch { ... } finally { ... } statement in Groovy.
  WhileStatement | Represents a while (condition) { ... } loop in Groovy.
  YieldStatement | Represents a `yield` statement that produces the value of an enclosing SwitchExpression.