|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use CompilationFailedException | |
---|---|
groovy.lang | Core Groovy language classes for implementing data structures, closures, metadata and so forth. |
groovy.text | Contains the text processing utilities including templating APIs and default implementations. |
groovy.ui | An interactive command line terminal along with a Swing console for evaluating Groovy scripts. |
groovy.util | Various Groovy utilities for working with nodes, builders, logging, JUnit test cases, text expressions, Ant tasks or JMX MBeans. |
org.codehaus.groovy.antlr | Parser related classes. |
org.codehaus.groovy.control | Compiler control classes. |
org.codehaus.groovy.tools | Compiler entry points and miscellaneous development tools. |
org.codehaus.groovy.tools.javac | Classes related to the joint compiler. |
Uses of CompilationFailedException in groovy.lang |
---|
Methods in groovy.lang that throw CompilationFailedException | |
---|---|
java.lang.Object |
Script.evaluate(java.io.File file)
A helper method to allow the dynamic evaluation of groovy expressions using this scripts binding as the variable scope |
java.lang.Object |
GroovyShell.evaluate(java.io.File file)
Evaluates some script against the current Binding and returns the result |
java.lang.Object |
GroovyShell.evaluate(GroovyCodeSource codeSource)
Evaluates some script against the current Binding and returns the result |
java.lang.Object |
GroovyShell.evaluate(java.io.InputStream in)
Evaluates some script against the current Binding and returns the result |
java.lang.Object |
GroovyShell.evaluate(java.io.InputStream in,
java.lang.String fileName)
Evaluates some script against the current Binding and returns the result |
java.lang.Object |
Script.evaluate(java.lang.String expression)
A helper method to allow the dynamic evaluation of groovy expressions using this scripts binding as the variable scope |
java.lang.Object |
GroovyShell.evaluate(java.lang.String scriptText)
Evaluates some script against the current Binding and returns the result |
java.lang.Object |
GroovyShell.evaluate(java.lang.String scriptText,
java.lang.String fileName)
Evaluates some script against the current Binding and returns the result |
java.lang.Object |
GroovyShell.evaluate(java.lang.String scriptText,
java.lang.String fileName,
java.lang.String codeBase)
Evaluates some script against the current Binding and returns the result. |
java.lang.Class |
GroovyClassLoader.loadClass(java.lang.String name,
boolean lookupScriptFiles,
boolean preferClassOverScript)
loads a class from a file or a parent classloader. |
java.lang.Class |
GroovyClassLoader.loadClass(java.lang.String name,
boolean lookupScriptFiles,
boolean preferClassOverScript,
boolean resolve)
loads a class from a file or a parent classloader. |
java.lang.Class |
GroovyClassLoader.InnerLoader.loadClass(java.lang.String name,
boolean lookupScriptFiles,
boolean preferClassOverScript,
boolean resolve)
|
Script |
GroovyShell.parse(java.io.File file)
Parses the given script and returns it ready to be run |
Script |
GroovyShell.parse(GroovyCodeSource codeSource)
Parses the given script and returns it ready to be run. |
Script |
GroovyShell.parse(java.io.InputStream in)
Parses the given script and returns it ready to be run |
Script |
GroovyShell.parse(java.io.InputStream in,
java.lang.String fileName)
Parses the given script and returns it ready to be run |
Script |
GroovyShell.parse(java.lang.String scriptText)
Parses the given script and returns it ready to be run |
Script |
GroovyShell.parse(java.lang.String scriptText,
java.lang.String fileName)
|
java.lang.Class |
GroovyClassLoader.parseClass(java.io.File file)
Parses the given file into a Java class capable of being run |
private java.lang.Class |
GroovyShell.parseClass(GroovyCodeSource codeSource)
Parses the groovy code contained in codeSource and returns a java class. |
java.lang.Class |
GroovyClassLoader.parseClass(GroovyCodeSource codeSource)
|
java.lang.Class |
GroovyClassLoader.parseClass(GroovyCodeSource codeSource,
boolean shouldCacheSource)
Parses the given code source into a Java class. |
java.lang.Class |
GroovyClassLoader.InnerLoader.parseClass(GroovyCodeSource codeSource,
boolean shouldCache)
|
java.lang.Class |
GroovyClassLoader.parseClass(java.io.InputStream in)
Parses the given character stream into a Java class capable of being run |
java.lang.Class |
GroovyClassLoader.parseClass(java.io.InputStream in,
java.lang.String fileName)
|
java.lang.Class |
GroovyClassLoader.parseClass(java.lang.String text)
Parses the given text into a Java class capable of being run |
java.lang.Class |
GroovyClassLoader.parseClass(java.lang.String text,
java.lang.String fileName)
Parses the given text into a Java class capable of being run |
protected java.lang.Class |
GroovyClassLoader.recompile(java.net.URL source,
java.lang.String className,
java.lang.Class oldClass)
(Re)Compiles the given source. |
java.lang.Object |
GroovyShell.run(java.io.File scriptFile,
java.util.List list)
A helper method which runs the given script file with the given command line arguments |
void |
Script.run(java.io.File file,
java.lang.String[] arguments)
A helper method to allow scripts to be run taking command line arguments |
java.lang.Object |
GroovyShell.run(java.io.File scriptFile,
java.lang.String[] args)
Runs the given script file name with the given command line arguments |
java.lang.Object |
GroovyShell.run(java.io.InputStream in,
java.lang.String fileName,
java.lang.String[] args)
Runs the given script with command line arguments |
java.lang.Object |
GroovyShell.run(java.lang.String scriptText,
java.lang.String fileName,
java.util.List list)
A helper method which runs the given cl script with the given command line arguments |
java.lang.Object |
GroovyShell.run(java.lang.String scriptText,
java.lang.String fileName,
java.lang.String[] args)
Runs the given script text with command line arguments |
Uses of CompilationFailedException in groovy.text |
---|
Methods in groovy.text that throw CompilationFailedException | |
---|---|
Template |
TemplateEngine.createTemplate(java.io.File file)
|
Template |
XmlTemplateEngine.createTemplate(java.io.Reader reader)
|
abstract Template |
TemplateEngine.createTemplate(java.io.Reader reader)
|
Template |
SimpleTemplateEngine.createTemplate(java.io.Reader reader)
|
Template |
GStringTemplateEngine.createTemplate(java.io.Reader reader)
|
Template |
TemplateEngine.createTemplate(java.lang.String templateText)
|
Template |
TemplateEngine.createTemplate(java.net.URL url)
|
Constructors in groovy.text that throw CompilationFailedException | |
---|---|
GStringTemplateEngine.GStringTemplate(java.io.Reader reader,
java.lang.ClassLoader parentLoader)
Turn the template into a writable Closure When executed the closure evaluates all the code embedded in the template and then writes a GString containing the fixed and variable items to the writer passed as a parameter For example: '<%= "test" %> of expr and <% test = 1 %>${test} script.' would compile into: { out -> out << "${"test"} of expr and "; test = 1 ; out << "${test} script."}.asWritable() |
Uses of CompilationFailedException in groovy.ui |
---|
Methods in groovy.ui that throw CompilationFailedException | |
---|---|
private void |
GroovyMain.processFiles()
Process the input files. |
private void |
GroovyMain.processOnce()
Process the standard, single script with args. |
private void |
GroovyMain.processSockets()
Process Sockets. |
Uses of CompilationFailedException in groovy.util |
---|
Methods in groovy.util that throw CompilationFailedException | |
---|---|
protected java.lang.Class |
AllTestSuite.compile(java.lang.String fileName)
|
protected void |
AllTestSuite.loadTest(java.lang.String fileName)
|
static java.lang.Object |
Eval.me(java.lang.String expression)
|
static java.lang.Object |
Eval.me(java.lang.String symbol,
java.lang.Object object,
java.lang.String expression)
evaluate expression and make object available inside the expression as 'symbol' |
static java.lang.Object |
Eval.x(java.lang.Object x,
java.lang.String expression)
evaluate expression and make x available inside the expression as 'x' |
static java.lang.Object |
Eval.xy(java.lang.Object x,
java.lang.Object y,
java.lang.String expression)
evaluate expression and make x and y available inside the expression as 'x' and 'y' |
static java.lang.Object |
Eval.xyz(java.lang.Object x,
java.lang.Object y,
java.lang.Object z,
java.lang.String expression)
evaluate expression and make x,y,z available inside the expression as 'x','y','z' |
Uses of CompilationFailedException in org.codehaus.groovy.antlr |
---|
Methods in org.codehaus.groovy.antlr that throw CompilationFailedException | |
---|---|
Reduction |
AntlrParserPlugin.parseCST(SourceUnit sourceUnit,
java.io.Reader reader)
|
Uses of CompilationFailedException in org.codehaus.groovy.control |
---|
Subclasses of CompilationFailedException in org.codehaus.groovy.control | |
---|---|
class |
MultipleCompilationErrorsException
|
Methods in org.codehaus.groovy.control that throw CompilationFailedException | |
---|---|
void |
ErrorCollector.addError(Message message)
Adds a non-fatal error to the message set. |
void |
ErrorCollector.addError(Message message,
boolean fatal)
Adds an optionally-fatal error to the message set. |
void |
ErrorCollector.addError(java.lang.String text,
CSTNode context,
SourceUnit source)
Convenience wrapper for addError(). |
void |
SourceUnit.addError(SyntaxException se)
|
void |
ErrorCollector.addError(SyntaxException error,
SourceUnit source)
Convenience wrapper for addError(). |
void |
SourceUnit.addException(java.lang.Exception e)
|
void |
ErrorCollector.addException(java.lang.Exception cause,
SourceUnit source)
|
void |
ErrorCollector.addFatalError(Message message)
Adds a fatal exception to the message set and throws the unit as a PhaseFailedException. |
void |
CompilationUnit.applyToGeneratedGroovyClasses(CompilationUnit.GroovyClassOperation body)
|
void |
CompilationUnit.applyToPrimaryClassNodes(CompilationUnit.PrimaryClassNodeOperation body)
A loop driver for applying operations to all primary ClassNodes in our AST. |
void |
CompilationUnit.applyToSourceUnits(CompilationUnit.SourceUnitOperation body)
A loop driver for applying operations to all SourceUnits. |
abstract void |
CompilationUnit.ClassgenCallback.call(org.objectweb.asm.ClassVisitor writer,
ClassNode node)
|
abstract void |
CompilationUnit.GroovyClassOperation.call(GroovyClass gclass)
|
abstract void |
CompilationUnit.ProgressCallback.call(ProcessingUnit context,
int phase)
|
abstract void |
CompilationUnit.SourceUnitOperation.call(SourceUnit source)
|
abstract void |
CompilationUnit.PrimaryClassNodeOperation.call(SourceUnit source,
GeneratorContext context,
ClassNode classNode)
|
void |
CompilationUnit.compile()
Synonym for compile(Phases.ALL). |
void |
CompilationUnit.compile(int throughPhase)
Compiles the compilation unit from sources. |
void |
ProcessingUnit.completePhase()
Marks the current phase complete and processes any errors. |
void |
SourceUnit.convert()
Generates an AST from the CST. |
protected boolean |
CompilationUnit.dequeued()
Dequeues any source units add through addSource and resets the compiler phase to initialization. |
protected void |
ErrorCollector.failIfErrors()
Causes the current phase to fail by throwing a CompilationFailedException. |
void |
ProcessingUnit.gotoPhase(int phase)
Wraps up any pending operations for the current phase and switches to the next phase. |
protected void |
CompilationUnit.mark()
Updates the phase marker on all sources. |
void |
ProcessingUnit.nextPhase()
A synonym for gotoPhase( phase + 1 ) . |
void |
SourceUnit.parse()
Parses the source to a CST. |
Reduction |
ParserPlugin.parseCST(SourceUnit sourceUnit,
java.io.Reader reader)
|
private void |
CompilationUnit.sortClasses()
|
Uses of CompilationFailedException in org.codehaus.groovy.tools |
---|
Methods in org.codehaus.groovy.tools with parameters of type CompilationFailedException | |
---|---|
protected void |
ErrorReporter.report(CompilationFailedException e,
boolean child)
For CompilationFailedException. |
Methods in org.codehaus.groovy.tools that throw CompilationFailedException | |
---|---|
void |
Compiler.compile(java.io.File file)
Compiles a single File. |
void |
Compiler.compile(java.io.File[] files)
Compiles a series of Files. |
void |
Compiler.compile(java.lang.String[] files)
Compiles a series of Files from file names. |
void |
Compiler.compile(java.lang.String name,
java.lang.String code)
Compiles a string of code. |
Uses of CompilationFailedException in org.codehaus.groovy.tools.javac |
---|
Methods in org.codehaus.groovy.tools.javac that throw CompilationFailedException | |
---|---|
void |
JavaStubCompilationUnit.JavaResolverOperation.call(SourceUnit source,
GeneratorContext context,
ClassNode node)
|
void |
JavaStubCompilationUnit.StubGeneratorOperation.call(SourceUnit source,
GeneratorContext context,
ClassNode node)
|
void |
JavaStubCompilationUnit.gotoPhase(int phase)
|
void |
JavaAwareCompilationUnit.gotoPhase(int phase)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |