Class ExportToPython
java.lang.Object
ca.mcscert.jpipe.compiler.model.Transformation<JustificationModel<?>, String>
ca.mcscert.jpipe.compiler.steps.transformations.ExportToPython
Compilation step that serialises a
JustificationModel to Python
source text.-
Nested Class Summary
Nested classes/interfaces inherited from class Transformation
Transformation.Step<I,O> -
Field Summary
Fields inherited from class Transformation
logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Stringrun(JustificationModel<?> input, CompilationContext ctx) Business logic of this step.
-
Constructor Details
-
ExportToPython
public ExportToPython()
-
-
Method Details
-
run
Description copied from class:TransformationBusiness logic of this step. Must not returnnull; may throw any exception. Usectxto report non-fatal diagnostics or inspect previously accumulated errors.- Specified by:
runin classTransformation<JustificationModel<?>, String>- Parameters:
input- the value produced by the previous step.ctx- compilation context carrying the source path and diagnostic bag.- Returns:
- the transformed value — never
null.
-