Class JavaPseudoFile
java.lang.Object
com.github.CoryBorek.PseudocodeCompiler.lib.BaseCompiler
com.github.CoryBorek.PseudocodeCompiler.lib.PseudoFile
com.github.CoryBorek.PseudocodeCompiler.impl.java.JavaPseudoFile
Pseudo File being converted to Java
-
Constructor Summary
-
Method Summary
Methods inherited from class com.github.CoryBorek.PseudocodeCompiler.lib.PseudoFile
getFileName, getIndentations, getLines, run
Methods inherited from class com.github.CoryBorek.PseudocodeCompiler.lib.BaseCompiler
getChildren
-
Constructor Details
-
JavaPseudoFile
Constructor- Parameters:
file
- File being converted
-
-
Method Details
-
getImports
Gets the imports- Returns:
- imports
-
addImport
Adds an import- Parameters:
item
- Imported item
-
setup
public void setup()Sets up the compilation- Specified by:
setup
in classBaseCompiler
-
compile
Compiles the file- Specified by:
compile
in classBaseCompiler
- Returns:
-