Package org.codehaus.groovy.ast
package org.codehaus.groovy.ast
Groovy AST nodes for the syntax of the language
-
ClassDescriptionBase class for any AST node which is capable of being annotatedRepresents an annotation which can be attached to interfaces, classes, methods, fields, parameters, and other places.Base class for any AST node.Helper class for converting AST into text.Transforms expressions in a whole class.Helper for
ClassNode
and classes handling them.Represents a class in the AST.Abstract base class for any GroovyCodeVisitor which by default just walks the code and expression treeRepresents the entire contents of a compilation step which consists of one or moreModuleNode
instances.Represents a constructor declarationRepresents the anonymous inner class for an enum constant.Represents a field (member variable)This class is used to describe generic type signatures for ClassNodes.RepresentsGenericsType
name.A special visitor for working with the structure of a class.An implementation of the visitor pattern for working with ASTNodes.Represents an import statement.Represents an inner class definition.Represents an inner class defined as helper for an interface.Represents a method declaration.Deprecated.static mixins have been deprecated in favour of traits (trait keyword).Represents a mixin which can be applied to any ClassNode to implement mixinsRepresents a modifierRepresents 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 RubyAn interface to mark a node being able to handle metadata.Represents a package in the AST.Represents a parameter on a constructor or method call.Represents a property (member variable, a getter and setter)Represents record componentinterface to mark a AstNode as Variable.Records declared and referenced variables for a given scope.