Class JpipeExporter

java.lang.Object
ca.mcscert.jpipe.visitor.JpipeExporter
All Implemented Interfaces:
JustificationVisitor<Void>

public class JpipeExporter extends Object implements JustificationVisitor<Void>
Serialises a compiled jPipe model back to .jd source text conforming to the jPipe grammar.

Each visitor method is responsible for descending into its children via accept, so the full traversal is visitor-driven. export(Unit) is a convenience wrapper around unit.accept(this) that resets internal state and returns the accumulated string.