Top Description Interfaces Classes Enums
[default module]

Package org.codehaus.groovy.control


Compiler control classes.

Interface Summary

Modifier and TypeInterface and Description
public interface
public interface
HasCleanup

An interface for things that need to be cleaned up after operations complete.

public interface
ParserPlugin

A simple extension point to allow us to switch between the classic Groovy parser and the new Antlr based parser(s).

Class Summary

Modifier and TypeClass and Description
public class
AnnotationConstantsVisitor

Resolves constants in annotation definitions.

public class
ASTTransformationsContext

Stores state information about global AST transformations applied to a compilation unit.

public class
ClassNodeResolver

This class is used as a pluggable way to resolve class names.

public class
CompilationFailedException

Thrown when compilation fails from source errors.

public class
CompilationUnit

The CompilationUnit collects all compilation data as it is generated by the compiler system.

public class
CompilerConfiguration

Compilation control flags and coordination stuff.

public class
ConfigurationException

Thrown when configuration data is invalid.

public class
ErrorCollector

A base class for collecting messages and errors during processing.

public class
GenericsVisitor

Verify correct usage of generics.

public abstract class
public class
Janitor

An agent that can be used to defer cleanup operations to a later time.

public class
LabelVerifier

This class checks the handling of labels in the AST

public class
MultipleCompilationErrorsException

Represents multiple other exceptions

public class
OptimizerVisitor

Visitor to produce several optimizations:

  • to replace numbered constants with references to static fields
  • remove superfluous references to GroovyObject interface
public abstract class
ParserPluginFactory

A factory of parser plugin instances.

public class
Phases

Compilation phase identifiers.

public abstract class
ProcessingUnit

A base class for data structures that can collect messages and errors during processing.

public class
ResolveVisitor

Visitor to resolve Types and convert VariableExpression to ClassExpressions if needed.

public class
SourceExtensionHandler

Looks for source file extensions in META-INF/services/org.codehaus.groovy.source.Extensions

public class
SourceUnit

Provides an anchor for a single source unit (usually a script file) as it passes through the compiler system.

public class
StaticImportVisitor

Visitor to resolve constants and method calls from static imports.

public class
StaticVerifier

Checks for dynamic variables in static contexts.

public abstract class

Enum Summary

Modifier and TypeEnum and Description
public enum
CompilePhase

The phases of the GroovyCompiler.