Top Description Interfaces Classes
[default module]

Package org.codehaus.groovy.ast


Groovy AST nodes for the syntax of the language

Interface Summary

Modifier and TypeInterface and Description
public interface
GroovyClassVisitor

A special visitor for working with the structure of a class.

public interface
GroovyCodeVisitor

An implementation of the visitor pattern for working with ASTNodes.

public interface
NodeMetaDataHandler

An interface to mark a node being able to handle metadata.

public interface
Variable

interface to mark a AstNode as Variable.

Class Summary

Modifier and TypeClass and Description
public class
AnnotatedNode

Base class for any AST node which is capable of being annotated

public class
AnnotationNode

Represents an annotation which can be attached to interfaces, classes, methods, fields, parameters, and other places.

public class
ASTNode

Base class for any AST node.

public class
AstToTextHelper

Helper class for converting AST into text.

public abstract class
ClassCodeExpressionTransformer

Transforms expressions in a whole class.

public abstract class
public class
ClassHelper

Helper for ClassNode and classes handling them.

public class
ClassNode

Represents a class in the AST.

public abstract class
CodeVisitorSupport

Abstract base class for any GroovyCodeVisitor which by default just walks the code and expression tree

public class
CompileUnit

Represents the entire contents of a compilation step which consists of one or more ModuleNode instances.

public class
ConstructorNode

Represents a constructor declaration

public class
public class
EnumConstantClassNode

Represents the anonymous inner class for an enum constant This subtype is needed so that EnumVisitor can differentiate between the scenarios when a InnerClassNode represents anonymous inner class for an enu constant and when it represents an enum class defined inside another class

public class
FieldNode

Represents a field (member variable)

public class
GenericsType

This class is used to describe generic type signatures for ClassNodes.

public class
ImportNode

Represents an import statement.

public class
InnerClassNode

Represents an inner class declaration

public class
InterfaceHelperClassNode

Represents an inner class defined as helper for an interface

public abstract class
public abstract class
public class
MethodNode

Represents a method declaration.

public class
MixinASTTransformation

Deprecated static mixins have been deprecated in favour of traits (trait keyword).
public class
MixinNode

Represents a mixin which can be applied to any ClassNode to implement mixins

public class
ModifierNode

Represents a modifier

public class
ModuleNode

Represents a module, which consists typically of a class declaration but could include some imports, some statements and multiple classes intermixed with statements like scripts in Python or Ruby

public class
PackageNode

Represents a package in the AST.

public class
Parameter

Represents a parameter on a constructor or method call.

public class
PropertyNode

Represents a property (member variable, a getter and setter)

public class
public class
VariableScope

Records declared and referenced variabes for a given scope.