AST nodes for Groovy statements
| Modifier and Type | Interface and Description |
|---|---|
| public interface | LoopingStatement
This is an AST Node that provides some sort of looping mechanism. |
| Modifier and Type | Class and Description |
|---|---|
| public class | AssertStatement
Represents an assert statement. |
| public class | BlockStatement
A list of statements and a scope. |
| public class | BreakStatement
Represents a break statement in a switch or loop statement |
| public class | CaseStatement
Represents a case statement in a switch statement |
| public class | CatchStatement
Represents a catch (Exception var) { } statement |
| public class | ContinueStatement
Represents a continue statement in a loop statement |
| public class | DoWhileStatement
Represents a do { ... |
| public class | |
| public class | ExpressionStatement
A simple statement such as a method call where the return value is ignored |
| public class | ForStatement
Represents a standard for loop in Groovy |
| public class | IfStatement
Represents an if (condition) { ... |
| public class | ReturnStatement
A return statement |
| public class | Statement
Base class for any statement. |
| public class | SwitchStatement
Represents a switch (object) { case value: ... |
| public class | SynchronizedStatement
Represents a synchronized statement |
| public class | ThrowStatement
Represents a throw statement |
| public class | TryCatchStatement
Represents a try { ... |
| public class | WhileStatement
Represents a while (condition) { ... |