Package org.codehaus.groovy.control
package org.codehaus.groovy.control
Compiler control classes.
-
Interface SummaryInterfaceDescriptionA callback interface you can use to "accompany" the classgen() code as it traverses the ClassNode tree.A callback interface you can use to get a callback after every unit of the compile process.An interface for things that need to be cleaned up after operations complete.A simple extension point to allow us to switch between the classic Groovy parser and the new Antlr based parser(s).
-
Class SummaryClassDescriptionVisitor to resolve constants in annotation definitions.Stores state information about global AST transformations applied to a compilation unit.This class is used as a pluggable way to resolve class names.Helper class to return either a SourceUnit or ClassNode.The CompilationUnit collects all compilation data as it is generated by the compiler system.Deprecated.Deprecated.Deprecated.Compilation control flags and coordination stuff.A base class for collecting messages and errors during processing.Verify correct usage of generics.An agent that can be used to defer cleanup operations to a later time.This class checks the handling of labels in the ASTVisitor to produce several optimizations: to replace numbered constants with references to static fields remove superfluous references to GroovyObject interfaceA factory of parser plugin instances.Compilation phase identifiers.A base class for data structures that can collect messages and errors during processing.Visitor to resolve Types and convert VariableExpression to ClassExpressions if needed.Looks for source file extensions in META-INF/services/org.codehaus.groovy.source.ExtensionsProvides an anchor for a single source unit (usually a script file) as it passes through the compiler system.Visitor to resolve constants and method calls from static imports.Checks for dynamic variables in static contexts.
-
Enum Summary
-
Exception SummaryExceptionDescriptionThrown when compilation fails from source errors.Thrown when configuration data is invalid.Represents multiple other exceptions