|
mjc | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.multijava.util.Utils
org.multijava.util.compiler.Compiler
org.multijava.mjc.Main
org.multijava.mjc.CTopLevel.CTopLevel$1
| Nested Class Summary |
| Nested classes inherited from class org.multijava.mjc.Main |
Main.CheckInitializerTask, Main.CheckInterfaceTask, Main.ContextBehavior, Main.DFilter, Main.ExpectedGF, Main.ExpectedIndifferent, Main.ExpectedResult, Main.ExpectedType, Main.Filter, Main.ParseTask, Main.PreprocessTask, Main.PrettyPrintTask, Main.ResolveSpecializerTask, Main.ResolveTopMethodTask, Main.Task, Main.TaskTimes, Main.TranslateMJTask, Main.TreeProcessingTask, Main.Trees, Main.TypecheckTask |
| Field Summary |
| Fields inherited from class org.multijava.util.compiler.Compiler |
PRINT_TO_ERR, PRINT_TO_OUT |
| Fields inherited from class org.multijava.util.Utils |
DBG_LEVEL_HIGH, DBG_LEVEL_LOW, DBG_LEVEL_NO |
| Constructor Summary | |
(package private) |
CTopLevel.CTopLevel$1()
|
| Method Summary | |
void |
catchUp(File file)
Compiles the named file (using the options of the current compilation session) up to the same compilation pass as the currently active task in the task queue. |
void |
catchUp(JTypeDeclarationType decl)
Compiles the given AST (using the options of the current compilation session) up to the same compilation pass as the currently active task in the task queue. |
boolean |
parseComments()
Returns true iff comments should be parsed (false if to be skipped) |
void |
reportTrouble(Exception a)
Reports a trouble (error or warning). |
boolean |
run(String[] args)
Runs a compilation session |
boolean |
verboseMode()
|
| Methods inherited from class org.multijava.util.compiler.Compiler |
getTimestamp, inform, inform, inform, inform, inform, inform, inform, inform, inform, modUtil, run, setOutputStream, verifyFiles, verifyFiles |
| Methods inherited from class org.multijava.util.Utils |
assertTrue, assertTrue, combineArrays, escapeString, escapeString, fail, fail, getFilePath, hasFlag, hasOtherFlags, parsePathParts, relativePathTo, splitQualifiedName, splitQualifiedName, stripJavaModifiers, stripNonJavaModifiers, stripPrivateModifier, unescapeString, vectorToArray, vectorToIntArray |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
CTopLevel.CTopLevel$1()
| Method Detail |
public boolean run(String[] args)
Main
run in class Mainpublic void reportTrouble(Exception a)
Main
reportTrouble in interface TroubleReporterreportTrouble in class Maina - a description of the trouble to report.public boolean parseComments()
Main
parseComments in class Mainpublic boolean verboseMode()
Compiler
verboseMode in class Mainpublic void catchUp(File file)
Main
catchUp in class Mainpublic void catchUp(JTypeDeclarationType decl)
MainCompiles the given AST (using the options of the current compilation session) up to the same compilation pass as the currently active task in the task queue. Adds the result to the set of compilation units to be processed to completion.
Since in this statically overloaded method the argument is an AST for a type declaration some of the initial passes are skipped.
This entry point is accessed for compiling type declaration statements and anonymous class instantiation expressions.
catchUp in class Main
|
mjc | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||