|
mjc | ||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||
| Packages that use JCompilationUnitType | |
| org.multijava.mjc | Implements mjc, a MultiJava compiler. |
| org.multijava.mjdoc.mjdoc_142 | The mjdoc tool documents java programs that contain MultiJava (MJ) extensions to the Java progamming language; it produces html pages very similar to those produced by the javadoc tool. |
| Uses of JCompilationUnitType in org.multijava.mjc |
| Classes in org.multijava.mjc that implement JCompilationUnitType | |
class |
JCompilationUnit
This class represents a single Java compilation unit (typically a file in a file-based compiler like this) in the AST. |
| Methods in org.multijava.mjc that return JCompilationUnitType | |
protected JCompilationUnitType |
Main.ParseTask.parseFile(File file)
Parses the given file and returns an AST representing it. |
JCompilationUnitType |
MjcParser.jCompilationUnit()
|
private JCompilationUnitType |
TestJTypeDeclaration.getCheckedAST(String sourceCode)
Returns a typechecked AST for the given source code string. |
protected JCompilationUnitType |
TestMjcParser.getAST(String sourceCode)
Returns an AST for the source code represented by the given string. |
protected JCompilationUnitType |
TestMjcParser.getAST(String sourceCode,
boolean parseJavadocs)
Returns an AST for the source code represented by the given string. |
| Methods in org.multijava.mjc with parameters of type JCompilationUnitType | |
static void |
CTopLevel.forgetEverythingAbout(File f,
JCompilationUnitType cunit)
Called by Main when the given file, from which the given compilation unit AST was derived, did not contain an expected result; this method removes all cached info. for the file. |
CCompilationUnitContextType |
Main.createCompilationUnitContext(JCompilationUnitType jc,
CCompilationUnit cunit)
Creates a compilation unit context for this compiler. |
protected boolean |
Main.isAnExpectedResult(File f,
JCompilationUnitType cu)
Returns true iff the given compilation unit contains the results that were expected from parsing the given file. |
protected void |
Main.failedParsing(File f,
JCompilationUnitType cu)
Called when a file is parsed and found to not contain the expected declarations. |
protected void |
TypeLoader.forgetEverythingAbout(File f,
JCompilationUnitType cunit)
Called by Main when the given file, from which the given compilation unit AST was derived, did not contain an expected result; this method removes all cached info. for the file. |
abstract boolean |
Main.ExpectedResult.foundIn(JCompilationUnitType cu)
Returns true if this expected result is contained in cu. |
boolean |
Main.ExpectedType.foundIn(JCompilationUnitType cu)
Returns true if this expected result is contained in cu. |
boolean |
Main.ExpectedGF.foundIn(JCompilationUnitType cu)
Returns true if this expected result is contained in cu. |
boolean |
Main.ExpectedIndifferent.foundIn(JCompilationUnitType cu)
Returns true if this expected result is contained in cu. |
private CMethodSet |
TestJTypeDeclaration.getTypesMethods(JCompilationUnitType unit)
Returns a set of the methods that will be used for generating the first type declaration in the given compilation unit. |
private CMethodSet |
TestJTypeDeclaration.getGFsMethods(JCompilationUnitType unit)
Returns a set of the methods that will be used for generating the first external generic function in the given compilation unit. |
| Uses of JCompilationUnitType in org.multijava.mjdoc.mjdoc_142 |
| Fields in org.multijava.mjdoc.mjdoc_142 declared as JCompilationUnitType | |
private JCompilationUnitType |
MjExtMethodsDoc.unit
Holds the compilation unit that this set of external methods is in. |
| Methods in org.multijava.mjdoc.mjdoc_142 that return JCompilationUnitType | |
JCompilationUnitType |
MjExtMethodsDoc.unit()
Returns the compilation unit the external methods are in. |
| Methods in org.multijava.mjdoc.mjdoc_142 with parameters of type JCompilationUnitType | |
MjExtMethodsDoc |
MjPackageDoc.lookup(JCompilationUnitType unit)
Finds the MjExtMethodsDoc object corresponding to the given compilation unit (or creates one if none exists). |
void |
MjdocWrapper.selectTypeDeclarations(JCompilationUnitType unit)
|
void |
MjdocWrapper.selected(JTypeDeclarationType[] jtypes,
JCompilationUnitType unit)
|
void |
MjdocWrapper.register(JCompilationUnitType unit)
Loads all the classes and interfaces contained in 'tree' into the RootDoc. |
void |
MjdocWrapper.registerTypeDeclarations(JCompilationUnitType unit)
|
void |
MjdocWrapper.registerTypeDeclarations(JTypeDeclarationType[] jtypes,
JCompilationUnitType unit)
|
| Constructors in org.multijava.mjdoc.mjdoc_142 with parameters of type JCompilationUnitType | |
MjExtMethodsDoc(MjPackageDoc p,
JCompilationUnitType unit)
A constructor for the case when source code is available (which makes javadoc comments and formal parameter identifiers available). |
|
|
mjc | ||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||