Package de.svws_nrw.transpiler
Klasse TranspilerLanguagePlugin
java.lang.Object
de.svws_nrw.transpiler.TranspilerLanguagePlugin
- Bekannte direkte Unterklassen:
ApiTranspilerTypeScriptPlugin
,TranspilerTypeScriptPlugin
The abstract super class of language plugins for the
Transpiler
.-
Feldübersicht
Modifizierer und TypFeldBeschreibungan ArrayList containing all the relative file names generated by this pluginan ArrayList containing additional information whether the files are only used as types (used e.g. in the typescript plugin)protected final Transpiler
The internal reference to the transpiler using this language plugin -
Konstruktorübersicht
ModifiziererKonstruktorBeschreibungprotected
TranspilerLanguagePlugin
(Transpiler transpiler) This constructor is invoked on creating an new language plugin for the specified transpiler. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungReturns a list containing all the relative file names generated by this plugin.Returns a list containing the information whether the output files are used as types only for all the files generated by this plugin.Returns the transpiler associated with this pluginabstract void
This method is invoked by the transpiler to start the transpiling process for this language plugin.
-
Felddetails
-
transpiler
The internal reference to the transpiler using this language plugin -
outputFiles
an ArrayList containing all the relative file names generated by this plugin -
outputFilesTypeOnly
an ArrayList containing additional information whether the files are only used as types (used e.g. in the typescript plugin)
-
-
Konstruktordetails
-
TranspilerLanguagePlugin
This constructor is invoked on creating an new language plugin for the specified transpiler. The plugin is autmatically registered at the transpiler.- Parameter:
transpiler
- the transpiler using this plugin instance
-
-
Methodendetails
-
getTranspiler
Returns the transpiler associated with this plugin- Gibt zurück:
- the transpiler object used by this plugin
-
transpile
public abstract void transpile()This method is invoked by the transpiler to start the transpiling process for this language plugin. It must be implemented by the language plugin. -
getOutputFiles
Returns a list containing all the relative file names generated by this plugin.- Gibt zurück:
- the filename list
-
getOutputFilesTypeOnly
Returns a list containing the information whether the output files are used as types only for all the files generated by this plugin.- Gibt zurück:
- the list
-