Uses of Interface
components.simplewriter.SimpleWriter
Packages that use SimpleWriter
Package
Description
Provides the
Program
family interfaces and implementing classes.Provides the
SimpleWriter
family interfaces and implementing classes.Provides the
Statement
family interfaces and implementing classes.-
Uses of SimpleWriter in components.program
Methods in components.program with parameters of type SimpleWriterModifier and TypeMethodDescriptionstatic void
Program1.disassembleProgram
(SimpleWriter out, int[] cp) Disassembles and outputs toout
the given programcp
.static void
Program1.disassembleProgram
(SimpleWriter out, int[] cp, int pc) Disassembles and outputs toout
the given programcp
marking the location of the program counterpc
.static void
Program1.disassembleProgram
(SimpleWriter out, Sequence<Integer> cp) Disassembles and outputs toout
the given programcp
.void
Program.prettyPrint
(SimpleWriter out) void
ProgramSecondary.prettyPrint
(SimpleWriter out) -
Uses of SimpleWriter in components.simplewriter
Classes in components.simplewriter that implement SimpleWriterModifier and TypeClassDescriptionclass
SimpleWriter
represented asjava.io.PrintWriter
with implementations of primary methods.class
Layered implementations of secondary methods forSimpleWriter
.Methods in components.simplewriter that return SimpleWriterMethods in components.simplewriter with parameters of type SimpleWriter -
Uses of SimpleWriter in components.statement
Methods in components.statement with parameters of type SimpleWriterModifier and TypeMethodDescriptionvoid
Statement.prettyPrint
(SimpleWriter out, int offset) Pretty printsthis
to the given streamout
offset
spaces from the left margin usingProgram.INDENT_SIZE
spaces for each indentation level.void
StatementSecondary.prettyPrint
(SimpleWriter out, int offset)