2015-05-12 17:57:14 +00:00
<!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 (1.8.0_05) on Tue May 12 19:56:20 CEST 2015 -->
< title > MyCompilerAPI< / title >
< meta name = "date" content = "2015-05-12" >
< link rel = "stylesheet" type = "text/css" href = "../../../stylesheet.css" title = "Style" >
< script type = "text/javascript" src = "../../../script.js" > < / script >
< / head >
< body >
< script type = "text/javascript" > < ! - -
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="MyCompilerAPI";
}
}
catch(err) {
}
//-->
var methods = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
< / script >
< noscript >
< div > JavaScript is disabled on your browser.< / div >
< / noscript >
<!-- ========= START OF TOP NAVBAR ======= -->
< div class = "topNav" > < a name = "navbar.top" >
<!-- -->
< / a >
< div class = "skipNav" > < a href = "#skip.navbar.top" title = "Skip navigation links" > Skip navigation links< / a > < / div >
< 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/MyCompilerAPI.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 = "../../../de/dhbwstuttgart/core/MyCompiler.html" title = "class in de.dhbwstuttgart.core" > < span class = "typeNameLink" > Prev Class< / span > < / a > < / li >
< li > Next Class< / li >
< / ul >
< ul class = "navList" >
< li > < a href = "../../../index.html?de/dhbwstuttgart/core/MyCompilerAPI.html" target = "_top" > Frames< / a > < / li >
< li > < a href = "MyCompilerAPI.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 > Field | < / li >
< li > Constr | < / li >
< li > < a href = "#method.summary" > Method< / a > < / li >
< / ul >
< ul class = "subNavList" >
< li > Detail: < / li >
< li > Field | < / 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" > de.dhbwstuttgart.core< / div >
< h2 title = "Interface MyCompilerAPI" class = "title" > Interface MyCompilerAPI< / h2 >
< / div >
< div class = "contentContainer" >
< div class = "description" >
< ul class = "blockList" >
< li class = "blockList" >
< dl >
< dt > All Known Implementing Classes:< / dt >
< dd > < a href = "../../../de/dhbwstuttgart/core/MyCompiler.html" title = "class in de.dhbwstuttgart.core" > MyCompiler< / a > < / dd >
< / dl >
< hr >
< br >
< pre > public interface < span class = "typeNameLabel" > MyCompilerAPI< / span > < / pre >
< div class = "block" > Schnittstellen-Klasse zum Compiler. Diese Klasse soll der
IDE als Compiler-API zum Kompilieren einer Quellcode-Datei
dienen und stellt somit die Schnittstelle zur Studienarbeit
von Markus Melzer (Eclipse-Plugin) dar.< / div >
< dl >
< dt > < span class = "simpleTagLabel" > Version:< / span > < / dt >
< dd > $Date: 2013/09/09 11:04:24 $< / dd >
< dt > < span class = "simpleTagLabel" > Author:< / span > < / dt >
< dd > Jörg Bäuerle< / dd >
< / dl >
< / li >
< / ul >
< / div >
< div class = "summary" >
< ul class = "blockList" >
< li class = "blockList" >
<!-- ========== METHOD SUMMARY =========== -->
< ul class = "blockList" >
< li class = "blockList" > < a name = "method.summary" >
<!-- -->
< / a >
< h3 > Method Summary< / h3 >
< table class = "memberSummary" border = "0" cellpadding = "3" cellspacing = "0" summary = "Method Summary table, listing methods, and an explanation" >
< caption > < span id = "t0" class = "activeTableTab" > < span > All Methods< / span > < span class = "tabEnd" > < / span > < / span > < span id = "t2" class = "tableTab" > < span > < a href = "javascript:show(2);" > Instance Methods< / a > < / span > < span class = "tabEnd" > < / span > < / span > < span id = "t3" class = "tableTab" > < span > < a href = "javascript:show(4);" > Abstract Methods< / a > < / span > < span class = "tabEnd" > < / span > < / span > < / caption >
< tr >
< th class = "colFirst" scope = "col" > Modifier and Type< / th >
< th class = "colLast" scope = "col" > Method and Description< / th >
< / tr >
< tr id = "i0" class = "altColor" >
< td class = "colFirst" > < code > java.lang.String< / code > < / td >
< td class = "colLast" > < code > < span class = "memberNameLink" > < a href = "../../../de/dhbwstuttgart/core/MyCompilerAPI.html#getOutputDir--" > getOutputDir< / a > < / span > ()< / code >
< div class = "block" > Author: Juergen Schmiing < br >
Gibt das Ausgabeverzeichnis fuer die class-Files zurueck.< / div >
< / td >
< / tr >
< tr id = "i1" class = "rowColor" >
< td class = "colFirst" > < code > void< / code > < / td >
< td class = "colLast" > < code > < span class = "memberNameLink" > < a href = "../../../de/dhbwstuttgart/core/MyCompilerAPI.html#init--" > init< / a > < / span > ()< / code >
< div class = "block" > Author: Jörg Bäuerle< br / >
Initialisiert den Compiler< / div >
< / td >
< / tr >
< tr id = "i2" class = "altColor" >
< td class = "colFirst" > < code > < a href = "../../../de/dhbwstuttgart/syntaxtree/SourceFile.html" title = "class in de.dhbwstuttgart.syntaxtree" > SourceFile< / a > < / code > < / td >
< td class = "colLast" > < code > < span class = "memberNameLink" > < a href = "../../../de/dhbwstuttgart/core/MyCompilerAPI.html#parse-java.io.File-" > parse< / a > < / span > (java.io.File file)< / code >
< div class = "block" > Author: Jörg Bäuerle< br / >
Parst eine Quellcodedatei und baut den abstrakten Syntaxbaum auf.< / div >
< / td >
< / tr >
< tr id = "i3" class = "rowColor" >
< td class = "colFirst" > < code > void< / code > < / td >
< td class = "colLast" > < code > < span class = "memberNameLink" > < a href = "../../../de/dhbwstuttgart/core/MyCompilerAPI.html#parse-de.dhbwstuttgart.typeinference.Menge-" > parse< / a > < / span > (< a href = "../../../de/dhbwstuttgart/typeinference/Menge.html" title = "class in de.dhbwstuttgart.typeinference" > Menge< / a > < java.lang.String> filenames)< / code >
< div class = "block" > Parst zusammenhängende JavaKlassen in verschiedenen Dateien.< / div >
< / td >
< / tr >
< tr id = "i4" class = "altColor" >
< td class = "colFirst" > < code > < a href = "../../../de/dhbwstuttgart/syntaxtree/SourceFile.html" title = "class in de.dhbwstuttgart.syntaxtree" > SourceFile< / a > < / code > < / td >
< td class = "colLast" > < code > < span class = "memberNameLink" > < a href = "../../../de/dhbwstuttgart/core/MyCompilerAPI.html#parse-java.lang.String-" > parse< / a > < / span > (java.lang.String sourceCode)< / code >
< div class = "block" > Parst den SourceCode einer Datei.< / div >
< / td >
< / tr >
< tr id = "i5" class = "rowColor" >
< td class = "colFirst" > < code > void< / code > < / td >
< td class = "colLast" > < code > < span class = "memberNameLink" > < a href = "../../../de/dhbwstuttgart/core/MyCompilerAPI.html#setOutputDir-java.lang.String-" > setOutputDir< / a > < / span > (java.lang.String dir)< / code >
< div class = "block" > Author: Juergen Schmiing < br >
Legt das Ausgabeverzeichnis fuer die class-Files fest.< / div >
< / td >
< / tr >
< tr id = "i6" class = "altColor" >
< td class = "colFirst" > < code > < a href = "../../../de/dhbwstuttgart/typeinference/Menge.html" title = "class in de.dhbwstuttgart.typeinference" > Menge< / a > < < a href = "../../../de/dhbwstuttgart/typeinference/TypeinferenceResultSet.html" title = "class in de.dhbwstuttgart.typeinference" > TypeinferenceResultSet< / a > > < / code > < / td >
< td class = "colLast" > < code > < span class = "memberNameLink" > < a href = "../../../de/dhbwstuttgart/core/MyCompilerAPI.html#typeReconstruction--" > typeReconstruction< / a > < / span > ()< / code >
< div class = "block" > Author: Jörg Bäuerle< br / >
Ruft den Typrekonstruktionsalgorithmus auf.< / div >
< / td >
< / tr >
< / table >
< / li >
< / ul >
< / li >
< / ul >
< / div >
< div class = "details" >
< ul class = "blockList" >
< li class = "blockList" >
<!-- ============ METHOD DETAIL ========== -->
< ul class = "blockList" >
< li class = "blockList" > < a name = "method.detail" >
<!-- -->
< / a >
< h3 > Method Detail< / h3 >
< a name = "init--" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > init< / h4 >
< pre > void init()< / pre >
< div class = "block" > Author: Jörg Bäuerle< br / >
Initialisiert den Compiler< / div >
< / li >
< / ul >
< a name = "parse-java.io.File-" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > parse< / h4 >
< pre > < a href = "../../../de/dhbwstuttgart/syntaxtree/SourceFile.html" title = "class in de.dhbwstuttgart.syntaxtree" > SourceFile< / a > parse(java.io.File file)
throws java.io.FileNotFoundException,
java.io.IOException,
< a href = "../../../de/dhbwstuttgart/parser/JavaParser.yyException.html" title = "class in de.dhbwstuttgart.parser" > JavaParser.yyException< / a > < / pre >
< div class = "block" > Author: Jörg Bäuerle< br / >
Parst eine Quellcodedatei und baut den abstrakten Syntaxbaum auf.< / div >
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > file< / code > - Die Quellcode-Datei< / dd >
< dt > < span class = "throwsLabel" > 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 = "typeReconstruction--" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > typeReconstruction< / h4 >
< pre > < a href = "../../../de/dhbwstuttgart/typeinference/Menge.html" title = "class in de.dhbwstuttgart.typeinference" > Menge< / a > < < a href = "../../../de/dhbwstuttgart/typeinference/TypeinferenceResultSet.html" title = "class in de.dhbwstuttgart.typeinference" > TypeinferenceResultSet< / a > > typeReconstruction()
throws java.lang.NullPointerException,
2017-03-02 17:16:14 +00:00
< a href = "../../../de/dhbwstuttgart/typeinference/exceptions/TypeinferenceException.html" title = "class in de.dhbwstuttgart.exceptions" > TypeinferenceException< / a > < / pre >
2015-05-12 17:57:14 +00:00
< div class = "block" > Author: Jörg Bäuerle< br / >
Ruft den Typrekonstruktionsalgorithmus auf.< / div >
< dl >
< dt > < span class = "returnLabel" > Returns:< / span > < / dt >
< dd > Die Menge aller möglichen Typkombinationen< / dd >
< dt > < span class = "throwsLabel" > 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 >
2017-03-02 17:16:14 +00:00
< dd > < code > < a href = "../../../de/dhbwstuttgart/typeinference/exceptions/TypeinferenceException.html" title = "class in de.dhbwstuttgart.exceptions" > TypeinferenceException< / a > < / code > < / dd >
2015-05-12 17:57:14 +00:00
< / dl >
< / li >
< / ul >
< a name = "setOutputDir-java.lang.String-" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > setOutputDir< / h4 >
< pre > void setOutputDir(java.lang.String dir)< / pre >
< div class = "block" > Author: Juergen Schmiing < br >
Legt das Ausgabeverzeichnis fuer die class-Files fest.< / div >
< / li >
< / ul >
< a name = "getOutputDir--" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getOutputDir< / h4 >
< pre > java.lang.String getOutputDir()< / pre >
< div class = "block" > Author: Juergen Schmiing < br >
Gibt das Ausgabeverzeichnis fuer die class-Files zurueck.< / div >
< / li >
< / ul >
< a name = "parse-de.dhbwstuttgart.typeinference.Menge-" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > parse< / h4 >
< pre > void parse(< a href = "../../../de/dhbwstuttgart/typeinference/Menge.html" title = "class in de.dhbwstuttgart.typeinference" > Menge< / a > < java.lang.String> filenames)
2017-03-02 17:16:14 +00:00
throws < a href = "../../../de/dhbwstuttgart/typeinference/exceptions/ParserError.html" title = "class in de.dhbwstuttgart.exceptions" > ParserError< / a > < / pre >
2015-05-12 17:57:14 +00:00
< div class = "block" > Parst zusammenhängende JavaKlassen in verschiedenen Dateien.< / div >
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > filenames< / code > - - Eine Liste von Quellcodedateien, welche gseparst werden sollen< / dd >
< dt > < span class = "throwsLabel" > Throws:< / span > < / dt >
2017-03-02 17:16:14 +00:00
< dd > < code > < a href = "../../../de/dhbwstuttgart/typeinference/exceptions/ParserError.html" title = "class in de.dhbwstuttgart.exceptions" > ParserError< / a > < / code > < / dd >
2015-05-12 17:57:14 +00:00
< / dl >
< / li >
< / ul >
< a name = "parse-java.lang.String-" >
<!-- -->
< / a >
< ul class = "blockListLast" >
< li class = "blockList" >
< h4 > parse< / h4 >
< pre > < a href = "../../../de/dhbwstuttgart/syntaxtree/SourceFile.html" title = "class in de.dhbwstuttgart.syntaxtree" > SourceFile< / a > parse(java.lang.String sourceCode)
2017-03-02 17:16:14 +00:00
throws < a href = "../../../de/dhbwstuttgart/typeinference/exceptions/ParserError.html" title = "class in de.dhbwstuttgart.exceptions" > ParserError< / a > < / pre >
2015-05-12 17:57:14 +00:00
< div class = "block" > Parst den SourceCode einer Datei.< / div >
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > sourceCode< / code > - - SourceCode einer Java-Quellcodedatei< / dd >
< dt > < span class = "returnLabel" > Returns:< / span > < / dt >
< dd > den aus dem sourceCode generierten Syntaxbaum< / dd >
< dt > < span class = "throwsLabel" > Throws:< / span > < / dt >
2017-03-02 17:16:14 +00:00
< dd > < code > < a href = "../../../de/dhbwstuttgart/typeinference/exceptions/ParserError.html" title = "class in de.dhbwstuttgart.exceptions" > ParserError< / a > < / code > < / dd >
2015-05-12 17:57:14 +00:00
< / 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 >
< div class = "skipNav" > < a href = "#skip.navbar.bottom" title = "Skip navigation links" > Skip navigation links< / a > < / div >
< 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/MyCompilerAPI.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 = "../../../de/dhbwstuttgart/core/MyCompiler.html" title = "class in de.dhbwstuttgart.core" > < span class = "typeNameLink" > Prev Class< / span > < / a > < / li >
< li > Next Class< / li >
< / ul >
< ul class = "navList" >
< li > < a href = "../../../index.html?de/dhbwstuttgart/core/MyCompilerAPI.html" target = "_top" > Frames< / a > < / li >
< li > < a href = "MyCompilerAPI.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 > Field | < / li >
< li > Constr | < / li >
< li > < a href = "#method.summary" > Method< / a > < / li >
< / ul >
< ul class = "subNavList" >
< li > Detail: < / li >
< li > Field | < / 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 >