use of de.prob.prolog.output.IPrologTermOutput in project probparsers by bendisposto.
the class PrologExceptionPrinter method printException.
public static void printException(final OutputStream out, final IOException e, final String filename, boolean useIndentation, boolean lineOneOff) {
IPrologTermOutput pto = new PrologTermOutput(out, useIndentation);
pto.openTerm("io_exception");
printMsg(pto, e, filename, useIndentation, lineOneOff, false);
pto.closeTerm();
pto.fullstop();
pto.flush();
}
use of de.prob.prolog.output.IPrologTermOutput in project probparsers by bendisposto.
the class RecursiveMachineLoader method printAsProlog.
public void printAsProlog(final PrintWriter out) {
final IPrologTermOutput pout = new PrologTermOutput(out, parsingBehaviour.isUseIndention());
printAsProlog(pout);
}
Aggregations