|
||||||||||
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 in particular the template engine API and default implementation. |
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 | |
org.codehaus.groovy.control | |
org.codehaus.groovy.tools | Compiler entry points and miscellaneous development tools. |
Uses of CompilationFailedException in groovy.lang |
---|
Methods in groovy.lang that throw CompilationFailedException | |
---|---|
Object |
GroovyShell.evaluate(File file)
Evaluates some script against the current Binding and returns the result |
Object |
Script.evaluate(File file)
A helper method to allow the dynamic evaluation of groovy expressions using this scripts binding as the variable scope |
Object |
GroovyShell.evaluate(GroovyCodeSource codeSource)
Evaluates some script against the current Binding and returns the result |
Object |
GroovyShell.evaluate(InputStream in)
Evaluates some script against the current Binding and returns the result |
Object |
GroovyShell.evaluate(InputStream in,
String fileName)
Evaluates some script against the current Binding and returns the result |
Object |
GroovyShell.evaluate(String scriptText)
Evaluates some script against the current Binding and returns the result |
Object |
Script.evaluate(String expression)
A helper method to allow the dynamic evaluation of groovy expressions using this scripts binding as the variable scope |
Object |
GroovyShell.evaluate(String scriptText,
String fileName)
Evaluates some script against the current Binding and returns the result |
Object |
GroovyShell.evaluate(String scriptText,
String fileName,
String codeBase)
Evaluates some script against the current Binding and returns the result. |
Class |
GroovyClassLoader.loadClass(String name,
boolean lookupScriptFiles,
boolean preferClassOverScript)
loads a class from a file or a parent classloader. |
Class |
GroovyClassLoader.loadClass(String name,
boolean lookupScriptFiles,
boolean preferClassOverScript,
boolean resolve)
loads a class from a file or a parent classloader. |
Class |
GroovyClassLoader.InnerLoader.loadClass(String name,
boolean lookupScriptFiles,
boolean preferClassOverScript,
boolean resolve)
|
Script |
GroovyShell.parse(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(InputStream in)
Parses the given script and returns it ready to be run |
Script |
GroovyShell.parse(InputStream in,
String fileName)
Parses the given script and returns it ready to be run |
Script |
GroovyShell.parse(String scriptText)
Parses the given script and returns it ready to be run |
Script |
GroovyShell.parse(String scriptText,
String fileName)
|
Class |
GroovyClassLoader.parseClass(File file)
Parses the given file into a Java class capable of being run |
Class |
GroovyClassLoader.parseClass(GroovyCodeSource codeSource)
|
Class |
GroovyClassLoader.parseClass(GroovyCodeSource codeSource,
boolean shouldCacheSource)
Parses the given code source into a Java class. |
Class |
GroovyClassLoader.InnerLoader.parseClass(GroovyCodeSource codeSource,
boolean shouldCache)
|
Class |
GroovyClassLoader.parseClass(InputStream in)
Parses the given character stream into a Java class capable of being run |
Class |
GroovyClassLoader.parseClass(InputStream in,
String fileName)
|
Class |
GroovyClassLoader.parseClass(String text)
Parses the given text into a Java class capable of being run |
Class |
GroovyClassLoader.parseClass(String text,
String fileName)
Parses the given text into a Java class capable of being run |
protected Class |
GroovyClassLoader.recompile(URL source,
String className,
Class oldClass)
(Re)Comipiles the given source. |
Object |
GroovyShell.run(File scriptFile,
List list)
A helper method which runs the given script file with the given command line arguments |
Object |
GroovyShell.run(File scriptFile,
String[] args)
Runs the given script file name with the given command line arguments |
void |
Script.run(File file,
String[] arguments)
A helper method to allow scripts to be run taking command line arguments |
Object |
GroovyShell.run(InputStream in,
String fileName,
String[] args)
Runs the given script with command line arguments |
Object |
GroovyShell.run(String scriptText,
String fileName,
List list)
A helper method which runs the given cl script with the given command line arguments |
Object |
GroovyShell.run(String scriptText,
String fileName,
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(File file)
|
abstract Template |
TemplateEngine.createTemplate(Reader reader)
|
Template |
GStringTemplateEngine.createTemplate(Reader reader)
|
Template |
SimpleTemplateEngine.createTemplate(Reader reader)
|
Template |
XmlTemplateEngine.createTemplate(Reader reader)
|
Template |
TemplateEngine.createTemplate(String templateText)
|
Template |
TemplateEngine.createTemplate(URL url)
|
Uses of CompilationFailedException in groovy.util |
---|
Methods in groovy.util that throw CompilationFailedException | |
---|---|
protected Class |
AllTestSuite.compile(String fileName)
|
protected void |
AllTestSuite.loadTest(String fileName)
|
static Object |
Eval.me(String expression)
|
static Object |
Eval.me(String symbol,
Object object,
String expression)
evaluate expression and make object available inside the expression as 'symbol' |
static Object |
Eval.x(Object x,
String expression)
evaluate expression and make x available inside the expression as 'x' |
static Object |
Eval.xy(Object x,
Object y,
String expression)
evaluate expression and make x and y available inside the expression as 'x' and 'y' |
static Object |
Eval.xyz(Object x,
Object y,
Object z,
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,
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(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(Exception e)
|
void |
ErrorCollector.addException(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,
Reader reader)
|
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(File file)
Compiles a single File. |
void |
Compiler.compile(File[] files)
Compiles a series of Files. |
void |
Compiler.compile(String[] files)
Compiles a series of Files from file names. |
void |
Compiler.compile(String name,
String code)
Compiles a string of code. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |