Package org.smtlib.sexpr
Class Printer.WithLines
java.lang.Object
org.smtlib.sexpr.Printer
org.smtlib.sexpr.Printer.WithLines
- Enclosing class:
Printer
-
Nested Class Summary
Nested classes/interfaces inherited from class org.smtlib.sexpr.Printer
Printer.PrintArgs, Printer.WithLinesNested classes/interfaces inherited from interface org.smtlib.IVisitor
IVisitor.TreeVisitor<T>, IVisitor.VisitorException -
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionWithLines(SMT.Configuration smtConfig, Writer w) Creates a printer object that follows the given Configuration's rules. -
Method Summary
Modifier and TypeMethodDescriptionnewPrinter(Writer w) Creates a new printer of the same type as the receiver, writing to the given Writer.static <T extends INode>
voidwrite(SMT.Configuration smtConfig, PrintStream w, T e) Writes the given expression to the given stream, following the given Configuration's rules.static <T extends INode>
voidwrite(SMT.Configuration smtConfig, Writer w, T e) Writes the given expression to the given writer, following the given Configuration's rules.Methods inherited from class org.smtlib.sexpr.Printer
append, error, exc, flush, print, printCommand, printCommand, toString, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, write, writer
-
Constructor Details
-
WithLines
Creates a printer object that follows the given Configuration's rules.
-
-
Method Details
-
newPrinter
Description copied from interface:IPrinterCreates a new printer of the same type as the receiver, writing to the given Writer.- Specified by:
newPrinterin interfaceIPrinter- Overrides:
newPrinterin classPrinter
-
write
public static <T extends INode> void write(SMT.Configuration smtConfig, Writer w, T e) throws IVisitor.VisitorException Writes the given expression to the given writer, following the given Configuration's rules.- Throws:
IVisitor.VisitorException
-
write
public static <T extends INode> void write(SMT.Configuration smtConfig, PrintStream w, T e) throws IVisitor.VisitorException Writes the given expression to the given stream, following the given Configuration's rules.- Throws:
IVisitor.VisitorException
-
visit
-