Package org.codehaus.groovy.ast.stmt
package org.codehaus.groovy.ast.stmt
AST nodes for Groovy statements
-
ClassDescriptionRepresents an assert statement that enforces a condition with an optional error message.Represents a compound statement consisting of an ordered sequence of
Statements within a specificVariableScope.Represents a break statement that terminates execution of a loop or switch statement.Represents a case statement within aSwitchStatement.Represents a catch (Exception var) { } statement that handles exceptions in a try-catch block.Represents a continue statement that skips the remainder of the current loop iteration.Represents a do { ...Represents an empty statement that performs no operation.Represents an expression statement that executes an expression where the return value is ignored.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.Represents an if (condition) { then-block } else { else-block } conditional statement in Groovy.This is an AST Node that provides some sort of looping mechanism.Represents a return statement that terminates a method and optionally returns a value.Base class for all statement nodes in the Groovy AST.Represents a switch (object) { case value: ...Represents a synchronized statement that provides mutual exclusion for a code block.Represents a throw statement that raises an exception.Represents a try { ...Represents a while (condition) { ...