forked from JavaTX/JavaCompilerCore
605 lines
27 KiB
HTML
Executable File
605 lines
27 KiB
HTML
Executable File
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||
<!-- NewPage -->
|
||
<html lang="de">
|
||
<head>
|
||
<!-- Generated by javadoc (version 1.7.0_25) on Wed Sep 18 10:43:01 CEST 2013 -->
|
||
<title>MyCompiler</title>
|
||
<meta name="date" content="2013-09-18">
|
||
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
|
||
</head>
|
||
<body>
|
||
<script type="text/javascript"><!--
|
||
if (location.href.indexOf('is-external=true') == -1) {
|
||
parent.document.title="MyCompiler";
|
||
}
|
||
//-->
|
||
</script>
|
||
<noscript>
|
||
<div>JavaScript is disabled on your browser.</div>
|
||
</noscript>
|
||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||
<div class="topNav"><a name="navbar_top">
|
||
<!-- -->
|
||
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
||
<!-- -->
|
||
</a>
|
||
<ul class="navList" title="Navigation">
|
||
<li><a href="../overview-summary.html">Overview</a></li>
|
||
<li><a href="package-summary.html">Package</a></li>
|
||
<li class="navBarCell1Rev">Class</li>
|
||
<li><a href="class-use/MyCompiler.html">Use</a></li>
|
||
<li><a href="package-tree.html">Tree</a></li>
|
||
<li><a href="../deprecated-list.html">Deprecated</a></li>
|
||
<li><a href="../index-files/index-1.html">Index</a></li>
|
||
<li><a href="../help-doc.html">Help</a></li>
|
||
</ul>
|
||
</div>
|
||
<div class="subNav">
|
||
<ul class="navList">
|
||
<li><a href="../mycompiler/IItemWithOffset.html" title="interface in mycompiler"><span class="strong">Prev Class</span></a></li>
|
||
<li><a href="../mycompiler/MyCompilerAPI.html" title="interface in mycompiler"><span class="strong">Next Class</span></a></li>
|
||
</ul>
|
||
<ul class="navList">
|
||
<li><a href="../index.html?mycompiler/MyCompiler.html" target="_top">Frames</a></li>
|
||
<li><a href="MyCompiler.html" target="_top">No Frames</a></li>
|
||
</ul>
|
||
<ul class="navList" id="allclasses_navbar_top">
|
||
<li><a href="../allclasses-noframe.html">All Classes</a></li>
|
||
</ul>
|
||
<div>
|
||
<script type="text/javascript"><!--
|
||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||
if(window==top) {
|
||
allClassesLink.style.display = "block";
|
||
}
|
||
else {
|
||
allClassesLink.style.display = "none";
|
||
}
|
||
//-->
|
||
</script>
|
||
</div>
|
||
<div>
|
||
<ul class="subNavList">
|
||
<li>Summary: </li>
|
||
<li>Nested | </li>
|
||
<li><a href="#field_summary">Field</a> | </li>
|
||
<li>Constr | </li>
|
||
<li><a href="#method_summary">Method</a></li>
|
||
</ul>
|
||
<ul class="subNavList">
|
||
<li>Detail: </li>
|
||
<li><a href="#field_detail">Field</a> | </li>
|
||
<li>Constr | </li>
|
||
<li><a href="#method_detail">Method</a></li>
|
||
</ul>
|
||
</div>
|
||
<a name="skip-navbar_top">
|
||
<!-- -->
|
||
</a></div>
|
||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||
<!-- ======== START OF CLASS DATA ======== -->
|
||
<div class="header">
|
||
<div class="subTitle">mycompiler</div>
|
||
<h2 title="Class MyCompiler" class="title">Class MyCompiler</h2>
|
||
</div>
|
||
<div class="contentContainer">
|
||
<ul class="inheritance">
|
||
<li>java.lang.Object</li>
|
||
<li>
|
||
<ul class="inheritance">
|
||
<li>mycompiler.MyCompiler</li>
|
||
</ul>
|
||
</li>
|
||
</ul>
|
||
<div class="description">
|
||
<ul class="blockList">
|
||
<li class="blockList">
|
||
<dl>
|
||
<dt>All Implemented Interfaces:</dt>
|
||
<dd><a href="../mycompiler/MyCompilerAPI.html" title="interface in mycompiler">MyCompilerAPI</a></dd>
|
||
</dl>
|
||
<hr>
|
||
<br>
|
||
<pre>public class <span class="strong">MyCompiler</span>
|
||
extends java.lang.Object
|
||
implements <a href="../mycompiler/MyCompilerAPI.html" title="interface in mycompiler">MyCompilerAPI</a></pre>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
<div class="summary">
|
||
<ul class="blockList">
|
||
<li class="blockList">
|
||
<!-- =========== FIELD SUMMARY =========== -->
|
||
<ul class="blockList">
|
||
<li class="blockList"><a name="field_summary">
|
||
<!-- -->
|
||
</a>
|
||
<h3>Field Summary</h3>
|
||
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
|
||
<caption><span>Fields</span><span class="tabEnd"> </span></caption>
|
||
<tr>
|
||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||
<th class="colLast" scope="col">Field and Description</th>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><code>static int</code></td>
|
||
<td class="colLast"><code><strong><a href="../mycompiler/MyCompiler.html#NO_LINENUMBER">NO_LINENUMBER</a></strong></code> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><code>java.util.Vector<<a href="../mycompiler/mytype/Pair.html" title="class in mycompiler.mytype">Pair</a>></code></td>
|
||
<td class="colLast"><code><strong><a href="../mycompiler/MyCompiler.html#testPair">testPair</a></strong></code> </td>
|
||
</tr>
|
||
</table>
|
||
</li>
|
||
</ul>
|
||
<!-- ========== METHOD SUMMARY =========== -->
|
||
<ul class="blockList">
|
||
<li class="blockList"><a name="method_summary">
|
||
<!-- -->
|
||
</a>
|
||
<h3>Method Summary</h3>
|
||
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
||
<caption><span>Methods</span><span class="tabEnd"> </span></caption>
|
||
<tr>
|
||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||
<th class="colLast" scope="col">Method and Description</th>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><code>void</code></td>
|
||
<td class="colLast"><code><strong><a href="../mycompiler/MyCompiler.html#codeGeneration()">codeGeneration</a></strong>()</code>
|
||
<div class="block">Author: J<>rg B<>uerle<br/>
|
||
Generiert den Bytecode und das Class-File f<>r den Syntaxbaum.</div>
|
||
</td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><code>static <a href="../mycompiler/MyCompilerAPI.html" title="interface in mycompiler">MyCompilerAPI</a></code></td>
|
||
<td class="colLast"><code><strong><a href="../mycompiler/MyCompiler.html#getAPI()">getAPI</a></strong>()</code>
|
||
<div class="block">Author: J<>rg B<>uerle<br/>
|
||
Stellt eine neue Instanz der CompilerAPI zur Verf<72>gung.</div>
|
||
</td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><code>static java.lang.String</code></td>
|
||
<td class="colLast"><code><strong><a href="../mycompiler/MyCompiler.html#getFullyQualifiedNameFromClassname(java.lang.String, mycompiler.myclass.ImportDeclarations)">getFullyQualifiedNameFromClassname</a></strong>(java.lang.String typ,
|
||
<a href="../mycompiler/myclass/ImportDeclarations.html" title="class in mycompiler.myclass">ImportDeclarations</a> declarations)</code> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><code>java.lang.String</code></td>
|
||
<td class="colLast"><code><strong><a href="../mycompiler/MyCompiler.html#getOutputDir()">getOutputDir</a></strong>()</code>
|
||
<div class="block">Author: Juergen Schmiing <br>
|
||
Gibt das Ausgabeverzeichnis fuer die class-Files zurueck.</div>
|
||
</td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><code><a href="../mycompiler/SourceFile.html" title="class in mycompiler">SourceFile</a></code></td>
|
||
<td class="colLast"><code><strong><a href="../mycompiler/MyCompiler.html#getSyntaxTree()">getSyntaxTree</a></strong>()</code>
|
||
<div class="block">Author: J<>rg B<>uerle<br/>
|
||
Liefert den geparsten Syntaxbaume zur<75>ck.</div>
|
||
</td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><code>void</code></td>
|
||
<td class="colLast"><code><strong><a href="../mycompiler/MyCompiler.html#init()">init</a></strong>()</code>
|
||
<div class="block">Author: J<>rg B<>uerle<br/>
|
||
Initialisiert den Compiler</div>
|
||
</td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><code>static void</code></td>
|
||
<td class="colLast"><code><strong><a href="../mycompiler/MyCompiler.html#main(java.lang.String[])">main</a></strong>(java.lang.String[] args)</code>
|
||
<div class="block">Die Main-Funktion, <20>ber die der Compiler auch per Konsole gestartet
|
||
werden kann.</div>
|
||
</td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><code>static <a href="../mycompiler/mytype/Type.html" title="class in mycompiler.mytype">Type</a></code></td>
|
||
<td class="colLast"><code><strong><a href="../mycompiler/MyCompiler.html#makeGenericTypeVars2TypePlaceHolders(mycompiler.mytype.Type)">makeGenericTypeVars2TypePlaceHolders</a></strong>(<a href="../mycompiler/mytype/Type.html" title="class in mycompiler.mytype">Type</a> T)</code> </td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><code>static void</code></td>
|
||
<td class="colLast"><code><strong><a href="../mycompiler/MyCompiler.html#makeRefTypesFullyQualified(java.util.Vector, mycompiler.myclass.ImportDeclarations)">makeRefTypesFullyQualified</a></strong>(java.util.Vector<<a href="../mycompiler/mytype/Type.html" title="class in mycompiler.mytype">Type</a>> containedTypes,
|
||
<a href="../mycompiler/myclass/ImportDeclarations.html" title="class in mycompiler.myclass">ImportDeclarations</a> declarations)</code> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><code>void</code></td>
|
||
<td class="colLast"><code><strong><a href="../mycompiler/MyCompiler.html#parse(java.io.File)">parse</a></strong>(java.io.File file)</code>
|
||
<div class="block">Author: J<>rg B<>uerle<br/>
|
||
Ruft die Parse-Methode.</div>
|
||
</td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><code>void</code></td>
|
||
<td class="colLast"><code><strong><a href="../mycompiler/MyCompiler.html#parse(java.lang.String)">parse</a></strong>(java.lang.String srcCode)</code>
|
||
<div class="block">Author: J<>rg B<>uerle<br/>
|
||
Ruft die Parse-Methode.</div>
|
||
</td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><code>void</code></td>
|
||
<td class="colLast"><code><strong><a href="../mycompiler/MyCompiler.html#parse(java.util.Vector)">parse</a></strong>(java.util.Vector<java.lang.String> filenames)</code>
|
||
<div class="block">Alle <20>bergebenen Dateien werden zu einem String zusammengef<65>gt und gemeinsam in einer SourceFile geparst.</div>
|
||
</td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><code>void</code></td>
|
||
<td class="colLast"><code><strong><a href="../mycompiler/MyCompiler.html#setOutputDir(java.lang.String)">setOutputDir</a></strong>(java.lang.String dir)</code>
|
||
<div class="block">Author: Juergen Schmiing <br>
|
||
Legt das Ausgabeverzeichnis fuer die class-Files fest.</div>
|
||
</td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><code>java.util.Vector<<a href="../mycompiler/mytypereconstruction/CTypeReconstructionResult.html" title="class in mycompiler.mytypereconstruction">CTypeReconstructionResult</a>></code></td>
|
||
<td class="colLast"><code><strong><a href="../mycompiler/MyCompiler.html#typeReconstruction()">typeReconstruction</a></strong>()</code>
|
||
<div class="block">Author: J<>rg B<>uerle<br/>
|
||
Ruft den Typrekonstruktionsalgorithmus auf.</div>
|
||
</td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><code>static void</code></td>
|
||
<td class="colLast"><code><strong><a href="../mycompiler/MyCompiler.html#wandleGeneric2RefType(java.util.Vector, java.util.Vector)">wandleGeneric2RefType</a></strong>(java.util.Vector<<a href="../mycompiler/mytype/Type.html" title="class in mycompiler.mytype">Type</a>> Parameter,
|
||
java.util.Vector<<a href="../mycompiler/myclass/Class.html" title="class in mycompiler.myclass">Class</a>> KlassenVektor)</code>
|
||
<div class="block">Author: Thomas Ott<br/>
|
||
Ersetzt in der Superklassenparameterliste einer Klasse, diejenigen
|
||
<code>GenericTypeVars</code>, zu denen es eine Klasse gibt, die gleich hei<65>t.</div>
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
<ul class="blockList">
|
||
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
|
||
<!-- -->
|
||
</a>
|
||
<h3>Methods inherited from class java.lang.Object</h3>
|
||
<code>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
|
||
</ul>
|
||
</li>
|
||
</ul>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
<div class="details">
|
||
<ul class="blockList">
|
||
<li class="blockList">
|
||
<!-- ============ FIELD DETAIL =========== -->
|
||
<ul class="blockList">
|
||
<li class="blockList"><a name="field_detail">
|
||
<!-- -->
|
||
</a>
|
||
<h3>Field Detail</h3>
|
||
<a name="NO_LINENUMBER">
|
||
<!-- -->
|
||
</a>
|
||
<ul class="blockList">
|
||
<li class="blockList">
|
||
<h4>NO_LINENUMBER</h4>
|
||
<pre>public static final int NO_LINENUMBER</pre>
|
||
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../constant-values.html#mycompiler.MyCompiler.NO_LINENUMBER">Constant Field Values</a></dd></dl>
|
||
</li>
|
||
</ul>
|
||
<a name="testPair">
|
||
<!-- -->
|
||
</a>
|
||
<ul class="blockListLast">
|
||
<li class="blockList">
|
||
<h4>testPair</h4>
|
||
<pre>public java.util.Vector<<a href="../mycompiler/mytype/Pair.html" title="class in mycompiler.mytype">Pair</a>> testPair</pre>
|
||
</li>
|
||
</ul>
|
||
</li>
|
||
</ul>
|
||
<!-- ============ METHOD DETAIL ========== -->
|
||
<ul class="blockList">
|
||
<li class="blockList"><a name="method_detail">
|
||
<!-- -->
|
||
</a>
|
||
<h3>Method Detail</h3>
|
||
<a name="getAPI()">
|
||
<!-- -->
|
||
</a>
|
||
<ul class="blockList">
|
||
<li class="blockList">
|
||
<h4>getAPI</h4>
|
||
<pre>public static <a href="../mycompiler/MyCompilerAPI.html" title="interface in mycompiler">MyCompilerAPI</a> getAPI()</pre>
|
||
<div class="block">Author: J<>rg B<>uerle<br/>
|
||
Stellt eine neue Instanz der CompilerAPI zur Verf<72>gung.
|
||
Diese Methode sollte von der IDE aus aufgerufen werden,
|
||
um eine Quellcode-Datei zu kompilieren.</div>
|
||
<dl><dt><span class="strong">Returns:</span></dt><dd>Die Compiler-API</dd></dl>
|
||
</li>
|
||
</ul>
|
||
<a name="wandleGeneric2RefType(java.util.Vector, java.util.Vector)">
|
||
<!-- -->
|
||
</a>
|
||
<ul class="blockList">
|
||
<li class="blockList">
|
||
<h4>wandleGeneric2RefType</h4>
|
||
<pre>public static void wandleGeneric2RefType(java.util.Vector<<a href="../mycompiler/mytype/Type.html" title="class in mycompiler.mytype">Type</a>> Parameter,
|
||
java.util.Vector<<a href="../mycompiler/myclass/Class.html" title="class in mycompiler.myclass">Class</a>> KlassenVektor)</pre>
|
||
<div class="block">Author: Thomas Ott<br/>
|
||
Ersetzt in der Superklassenparameterliste einer Klasse, diejenigen
|
||
<code>GenericTypeVars</code>, zu denen es eine Klasse gibt, die gleich hei<65>t.
|
||
Beim Parsen werden n<>mlich vom Jay nur GenericTypeVars erzeugt und keine
|
||
RefTypes. Dies wird durch diese Methode nachgeholt.<br/>
|
||
Bsp.: class JoergsTolleKlasse<A> extends MartinsSuperklasse<Integer, B>
|
||
<br/>Wie man an diesem Beispiel sieht, kann nur eine Superklasse instantiierte
|
||
Typvariablen zwischen den eckigen Klammern stehen haben, nicht jedoch die
|
||
abgeleitete Klasse.</div>
|
||
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>className</code> - Klassenname der aktuell betrachteten Klasse</dd><dd><code>Parameter</code> - Parameter der Superklasse</dd><dd><code>KlassenVektor</code> - </dd></dl>
|
||
</li>
|
||
</ul>
|
||
<a name="init()">
|
||
<!-- -->
|
||
</a>
|
||
<ul class="blockList">
|
||
<li class="blockList">
|
||
<h4>init</h4>
|
||
<pre>public void init()</pre>
|
||
<div class="block">Author: J<>rg B<>uerle<br/>
|
||
Initialisiert den Compiler</div>
|
||
<dl>
|
||
<dt><strong>Specified by:</strong></dt>
|
||
<dd><code><a href="../mycompiler/MyCompilerAPI.html#init()">init</a></code> in interface <code><a href="../mycompiler/MyCompilerAPI.html" title="interface in mycompiler">MyCompilerAPI</a></code></dd>
|
||
</dl>
|
||
</li>
|
||
</ul>
|
||
<a name="parse(java.io.File)">
|
||
<!-- -->
|
||
</a>
|
||
<ul class="blockList">
|
||
<li class="blockList">
|
||
<h4>parse</h4>
|
||
<pre>public void parse(java.io.File file)
|
||
throws java.io.FileNotFoundException,
|
||
java.io.IOException,
|
||
<a href="../mycompiler/myparser/JavaParser.yyException.html" title="class in mycompiler.myparser">JavaParser.yyException</a></pre>
|
||
<div class="block">Author: J<>rg B<>uerle<br/>
|
||
Ruft die Parse-Methode.</div>
|
||
<dl>
|
||
<dt><strong>Specified by:</strong></dt>
|
||
<dd><code><a href="../mycompiler/MyCompilerAPI.html#parse(java.io.File)">parse</a></code> in interface <code><a href="../mycompiler/MyCompilerAPI.html" title="interface in mycompiler">MyCompilerAPI</a></code></dd>
|
||
<dt><span class="strong">Parameters:</span></dt><dd><code>file</code> - Die Quellcode-Datei</dd>
|
||
<dt><span class="strong">Throws:</span></dt>
|
||
<dd><code>java.io.FileNotFoundException</code> - Wenn die Quellcode-Datei nicht existiert.</dd>
|
||
<dd><code>java.io.IOException</code> - Wenn was schief l<>uft.</dd>
|
||
<dd><code>JavaParser.yyException</code> - Wenn ein Fehler beim Parsen auftritt.</dd></dl>
|
||
</li>
|
||
</ul>
|
||
<a name="parse(java.lang.String)">
|
||
<!-- -->
|
||
</a>
|
||
<ul class="blockList">
|
||
<li class="blockList">
|
||
<h4>parse</h4>
|
||
<pre>public void parse(java.lang.String srcCode)
|
||
throws java.io.IOException,
|
||
<a href="../mycompiler/myparser/JavaParser.yyException.html" title="class in mycompiler.myparser">JavaParser.yyException</a></pre>
|
||
<div class="block">Author: J<>rg B<>uerle<br/>
|
||
Ruft die Parse-Methode.</div>
|
||
<dl>
|
||
<dt><strong>Specified by:</strong></dt>
|
||
<dd><code><a href="../mycompiler/MyCompilerAPI.html#parse(java.lang.String)">parse</a></code> in interface <code><a href="../mycompiler/MyCompilerAPI.html" title="interface in mycompiler">MyCompilerAPI</a></code></dd>
|
||
<dt><span class="strong">Parameters:</span></dt><dd><code>srcCode</code> - Der zu parsende Quellcode</dd>
|
||
<dt><span class="strong">Throws:</span></dt>
|
||
<dd><code>java.io.IOException</code> - Wenn was schief l<>uft.</dd>
|
||
<dd><code>JavaParser.yyException</code> - Wenn ein Fehler beim Parsen auftritt.</dd></dl>
|
||
</li>
|
||
</ul>
|
||
<a name="typeReconstruction()">
|
||
<!-- -->
|
||
</a>
|
||
<ul class="blockList">
|
||
<li class="blockList">
|
||
<h4>typeReconstruction</h4>
|
||
<pre>public java.util.Vector<<a href="../mycompiler/mytypereconstruction/CTypeReconstructionResult.html" title="class in mycompiler.mytypereconstruction">CTypeReconstructionResult</a>> typeReconstruction()
|
||
throws java.lang.NullPointerException,
|
||
<a href="../mycompiler/myexception/CTypeReconstructionException.html" title="class in mycompiler.myexception">CTypeReconstructionException</a></pre>
|
||
<div class="block">Author: J<>rg B<>uerle<br/>
|
||
Ruft den Typrekonstruktionsalgorithmus auf.</div>
|
||
<dl>
|
||
<dt><strong>Specified by:</strong></dt>
|
||
<dd><code><a href="../mycompiler/MyCompilerAPI.html#typeReconstruction()">typeReconstruction</a></code> in interface <code><a href="../mycompiler/MyCompilerAPI.html" title="interface in mycompiler">MyCompilerAPI</a></code></dd>
|
||
<dt><span class="strong">Returns:</span></dt><dd>Die Menge aller m<>glichen Typkombinationen</dd>
|
||
<dt><span class="strong">Throws:</span></dt>
|
||
<dd><code>java.lang.NullPointerException</code> - Wenn noch kein abstrakter Syntaxbaum vorhanden
|
||
ist. @throws CTypeReconstructionException Wenn ein Fehler bei der
|
||
Typrekonstruktion auftritt.</dd>
|
||
<dd><code><a href="../mycompiler/myexception/CTypeReconstructionException.html" title="class in mycompiler.myexception">CTypeReconstructionException</a></code></dd></dl>
|
||
</li>
|
||
</ul>
|
||
<a name="getSyntaxTree()">
|
||
<!-- -->
|
||
</a>
|
||
<ul class="blockList">
|
||
<li class="blockList">
|
||
<h4>getSyntaxTree</h4>
|
||
<pre>public <a href="../mycompiler/SourceFile.html" title="class in mycompiler">SourceFile</a> getSyntaxTree()
|
||
throws java.lang.NullPointerException</pre>
|
||
<div class="block">Author: J<>rg B<>uerle<br/>
|
||
Liefert den geparsten Syntaxbaume zur<75>ck.</div>
|
||
<dl>
|
||
<dt><strong>Specified by:</strong></dt>
|
||
<dd><code><a href="../mycompiler/MyCompilerAPI.html#getSyntaxTree()">getSyntaxTree</a></code> in interface <code><a href="../mycompiler/MyCompilerAPI.html" title="interface in mycompiler">MyCompilerAPI</a></code></dd>
|
||
<dt><span class="strong">Returns:</span></dt><dd>Die Syntaxb<78>ume</dd>
|
||
<dt><span class="strong">Throws:</span></dt>
|
||
<dd><code>java.lang.NullPointerException</code> - Wenn noch keine Syntaxb<78>ume berechnet worden sind.</dd></dl>
|
||
</li>
|
||
</ul>
|
||
<a name="codeGeneration()">
|
||
<!-- -->
|
||
</a>
|
||
<ul class="blockList">
|
||
<li class="blockList">
|
||
<h4>codeGeneration</h4>
|
||
<pre>public void codeGeneration()
|
||
throws java.lang.NullPointerException,
|
||
<a href="../mycompiler/myexception/JVMCodeException.html" title="class in mycompiler.myexception">JVMCodeException</a></pre>
|
||
<div class="block">Author: J<>rg B<>uerle<br/>
|
||
Generiert den Bytecode und das Class-File f<>r den Syntaxbaum.</div>
|
||
<dl>
|
||
<dt><strong>Specified by:</strong></dt>
|
||
<dd><code><a href="../mycompiler/MyCompilerAPI.html#codeGeneration()">codeGeneration</a></code> in interface <code><a href="../mycompiler/MyCompilerAPI.html" title="interface in mycompiler">MyCompilerAPI</a></code></dd>
|
||
<dt><span class="strong">Throws:</span></dt>
|
||
<dd><code>java.lang.NullPointerException</code> - Wenn noch kein abstrakter Syntaxbaum vorhanden
|
||
ist.</dd>
|
||
<dd><code><a href="../mycompiler/myexception/JVMCodeException.html" title="class in mycompiler.myexception">JVMCodeException</a></code></dd></dl>
|
||
</li>
|
||
</ul>
|
||
<a name="main(java.lang.String[])">
|
||
<!-- -->
|
||
</a>
|
||
<ul class="blockList">
|
||
<li class="blockList">
|
||
<h4>main</h4>
|
||
<pre>public static void main(java.lang.String[] args)</pre>
|
||
<div class="block">Die Main-Funktion, <20>ber die der Compiler auch per Konsole gestartet
|
||
werden kann.</div>
|
||
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>args</code> - Klassendatei</dd></dl>
|
||
</li>
|
||
</ul>
|
||
<a name="setOutputDir(java.lang.String)">
|
||
<!-- -->
|
||
</a>
|
||
<ul class="blockList">
|
||
<li class="blockList">
|
||
<h4>setOutputDir</h4>
|
||
<pre>public void setOutputDir(java.lang.String dir)</pre>
|
||
<div class="block"><strong>Description copied from interface: <code><a href="../mycompiler/MyCompilerAPI.html#setOutputDir(java.lang.String)">MyCompilerAPI</a></code></strong></div>
|
||
<div class="block">Author: Juergen Schmiing <br>
|
||
Legt das Ausgabeverzeichnis fuer die class-Files fest.</div>
|
||
<dl>
|
||
<dt><strong>Specified by:</strong></dt>
|
||
<dd><code><a href="../mycompiler/MyCompilerAPI.html#setOutputDir(java.lang.String)">setOutputDir</a></code> in interface <code><a href="../mycompiler/MyCompilerAPI.html" title="interface in mycompiler">MyCompilerAPI</a></code></dd>
|
||
</dl>
|
||
</li>
|
||
</ul>
|
||
<a name="getOutputDir()">
|
||
<!-- -->
|
||
</a>
|
||
<ul class="blockList">
|
||
<li class="blockList">
|
||
<h4>getOutputDir</h4>
|
||
<pre>public java.lang.String getOutputDir()</pre>
|
||
<div class="block"><strong>Description copied from interface: <code><a href="../mycompiler/MyCompilerAPI.html#getOutputDir()">MyCompilerAPI</a></code></strong></div>
|
||
<div class="block">Author: Juergen Schmiing <br>
|
||
Gibt das Ausgabeverzeichnis fuer die class-Files zurueck.</div>
|
||
<dl>
|
||
<dt><strong>Specified by:</strong></dt>
|
||
<dd><code><a href="../mycompiler/MyCompilerAPI.html#getOutputDir()">getOutputDir</a></code> in interface <code><a href="../mycompiler/MyCompilerAPI.html" title="interface in mycompiler">MyCompilerAPI</a></code></dd>
|
||
</dl>
|
||
</li>
|
||
</ul>
|
||
<a name="getFullyQualifiedNameFromClassname(java.lang.String, mycompiler.myclass.ImportDeclarations)">
|
||
<!-- -->
|
||
</a>
|
||
<ul class="blockList">
|
||
<li class="blockList">
|
||
<h4>getFullyQualifiedNameFromClassname</h4>
|
||
<pre>public static java.lang.String getFullyQualifiedNameFromClassname(java.lang.String typ,
|
||
<a href="../mycompiler/myclass/ImportDeclarations.html" title="class in mycompiler.myclass">ImportDeclarations</a> declarations)</pre>
|
||
</li>
|
||
</ul>
|
||
<a name="makeRefTypesFullyQualified(java.util.Vector, mycompiler.myclass.ImportDeclarations)">
|
||
<!-- -->
|
||
</a>
|
||
<ul class="blockList">
|
||
<li class="blockList">
|
||
<h4>makeRefTypesFullyQualified</h4>
|
||
<pre>public static void makeRefTypesFullyQualified(java.util.Vector<<a href="../mycompiler/mytype/Type.html" title="class in mycompiler.mytype">Type</a>> containedTypes,
|
||
<a href="../mycompiler/myclass/ImportDeclarations.html" title="class in mycompiler.myclass">ImportDeclarations</a> declarations)</pre>
|
||
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>containedTypes</code> - Alle Typen, die die Klasse beinhaltet</dd><dd><code>name</code> - Alle Klassen, die es in den BasicAssumptions und im
|
||
AbstractSyntaxTree gibt @param declarations Alle Import-Declarations</dd></dl>
|
||
</li>
|
||
</ul>
|
||
<a name="makeGenericTypeVars2TypePlaceHolders(mycompiler.mytype.Type)">
|
||
<!-- -->
|
||
</a>
|
||
<ul class="blockList">
|
||
<li class="blockList">
|
||
<h4>makeGenericTypeVars2TypePlaceHolders</h4>
|
||
<pre>public static <a href="../mycompiler/mytype/Type.html" title="class in mycompiler.mytype">Type</a> makeGenericTypeVars2TypePlaceHolders(<a href="../mycompiler/mytype/Type.html" title="class in mycompiler.mytype">Type</a> T)</pre>
|
||
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>T</code> - - Typ, bei welchem die GTVs ersetzt werden sollen.</dd></dl>
|
||
</li>
|
||
</ul>
|
||
<a name="parse(java.util.Vector)">
|
||
<!-- -->
|
||
</a>
|
||
<ul class="blockListLast">
|
||
<li class="blockList">
|
||
<h4>parse</h4>
|
||
<pre>public void parse(java.util.Vector<java.lang.String> filenames)</pre>
|
||
<div class="block">Alle <20>bergebenen Dateien werden zu einem String zusammengef<65>gt und gemeinsam in einer SourceFile geparst.</div>
|
||
<dl>
|
||
<dt><strong>Specified by:</strong></dt>
|
||
<dd><code><a href="../mycompiler/MyCompilerAPI.html#parse(java.util.Vector)">parse</a></code> in interface <code><a href="../mycompiler/MyCompilerAPI.html" title="interface in mycompiler">MyCompilerAPI</a></code></dd>
|
||
<dt><span class="strong">Parameters:</span></dt><dd><code>filenames</code> - - Eine Liste von Quellcodedateien, welche gseparst werden sollen</dd></dl>
|
||
</li>
|
||
</ul>
|
||
</li>
|
||
</ul>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
<!-- ========= END OF CLASS DATA ========= -->
|
||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||
<div class="bottomNav"><a name="navbar_bottom">
|
||
<!-- -->
|
||
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
||
<!-- -->
|
||
</a>
|
||
<ul class="navList" title="Navigation">
|
||
<li><a href="../overview-summary.html">Overview</a></li>
|
||
<li><a href="package-summary.html">Package</a></li>
|
||
<li class="navBarCell1Rev">Class</li>
|
||
<li><a href="class-use/MyCompiler.html">Use</a></li>
|
||
<li><a href="package-tree.html">Tree</a></li>
|
||
<li><a href="../deprecated-list.html">Deprecated</a></li>
|
||
<li><a href="../index-files/index-1.html">Index</a></li>
|
||
<li><a href="../help-doc.html">Help</a></li>
|
||
</ul>
|
||
</div>
|
||
<div class="subNav">
|
||
<ul class="navList">
|
||
<li><a href="../mycompiler/IItemWithOffset.html" title="interface in mycompiler"><span class="strong">Prev Class</span></a></li>
|
||
<li><a href="../mycompiler/MyCompilerAPI.html" title="interface in mycompiler"><span class="strong">Next Class</span></a></li>
|
||
</ul>
|
||
<ul class="navList">
|
||
<li><a href="../index.html?mycompiler/MyCompiler.html" target="_top">Frames</a></li>
|
||
<li><a href="MyCompiler.html" target="_top">No Frames</a></li>
|
||
</ul>
|
||
<ul class="navList" id="allclasses_navbar_bottom">
|
||
<li><a href="../allclasses-noframe.html">All Classes</a></li>
|
||
</ul>
|
||
<div>
|
||
<script type="text/javascript"><!--
|
||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||
if(window==top) {
|
||
allClassesLink.style.display = "block";
|
||
}
|
||
else {
|
||
allClassesLink.style.display = "none";
|
||
}
|
||
//-->
|
||
</script>
|
||
</div>
|
||
<div>
|
||
<ul class="subNavList">
|
||
<li>Summary: </li>
|
||
<li>Nested | </li>
|
||
<li><a href="#field_summary">Field</a> | </li>
|
||
<li>Constr | </li>
|
||
<li><a href="#method_summary">Method</a></li>
|
||
</ul>
|
||
<ul class="subNavList">
|
||
<li>Detail: </li>
|
||
<li><a href="#field_detail">Field</a> | </li>
|
||
<li>Constr | </li>
|
||
<li><a href="#method_detail">Method</a></li>
|
||
</ul>
|
||
</div>
|
||
<a name="skip-navbar_bottom">
|
||
<!-- -->
|
||
</a></div>
|
||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||
</body>
|
||
</html>
|