Class ExplicitPrinter
java.lang.Object
org.clafer.frontend.ExplicitPrinter
Prints the
explicit IR exactly as the Clafer compiler prints the
rich and the core explicit model (Generator/Explicit.hs), with or
without the provenance comments, so that every comparison of two models is a
comparison of text. A tree that ExplicitParser read from the
compiler's output prints as that output.
The declarations and constraints are printed where they were written, the objectives and assertions at the end. Every operand that is not an atom or a navigation is parenthesized. Literals are printed as they were written.
-
Method Summary
-
Method Details
-
print
-
print
-
print
-