Index
All Classes and Interfaces|All Packages
C
- close() - Method in class edu.cornell.cs.cs4120.util.CodeWriterSExpPrinter
- close() - Method in interface edu.cornell.cs.cs4120.util.SExpPrinter
-
Flushes and closes both this printer and any underlying output stream to which it is attached.
- CodeWriterSExpPrinter - Class in edu.cornell.cs.cs4120.util
-
An SExpPrinter implementation designed to print ASTs through a provided
CodeWriter
. - CodeWriterSExpPrinter(OutputStream) - Constructor for class edu.cornell.cs.cs4120.util.CodeWriterSExpPrinter
-
Deprecated.
- CodeWriterSExpPrinter(PrintWriter) - Constructor for class edu.cornell.cs.cs4120.util.CodeWriterSExpPrinter
-
Constructs a new SExpPrinter instance that prints programs using the given writer.
- CodeWriterSExpPrinter(CodeWriter) - Constructor for class edu.cornell.cs.cs4120.util.CodeWriterSExpPrinter
-
Constructs a new SExpPrinter instance that prints programs using the given
CodeWriter
.
E
- edu.cornell.cs.cs4120.util - package edu.cornell.cs.cs4120.util
-
Common utilities for Cornell CS 4120
- endList() - Method in class edu.cornell.cs.cs4120.util.CodeWriterSExpPrinter
- endList() - Method in interface edu.cornell.cs.cs4120.util.SExpPrinter
-
Prints the close parenthesis of an S-expression list.
F
- flush() - Method in class edu.cornell.cs.cs4120.util.CodeWriterSExpPrinter
- flush() - Method in interface edu.cornell.cs.cs4120.util.SExpPrinter
-
Flushes all formatted text to the underlying writer.
P
- printAtom(String) - Method in class edu.cornell.cs.cs4120.util.CodeWriterSExpPrinter
- printAtom(String) - Method in interface edu.cornell.cs.cs4120.util.SExpPrinter
-
Prints an atom.
S
- SExpPrinter - Interface in edu.cornell.cs.cs4120.util
-
A pretty-printer for S-expressions.
- startElement() - Method in class edu.cornell.cs.cs4120.util.CodeWriterSExpPrinter
- startEveryList(boolean) - Method in class edu.cornell.cs.cs4120.util.CodeWriterSExpPrinter
- startList() - Method in class edu.cornell.cs.cs4120.util.CodeWriterSExpPrinter
- startList() - Method in interface edu.cornell.cs.cs4120.util.SExpPrinter
-
Prints the open parenthesis of an S-expression list.
- startUnifiedList() - Method in class edu.cornell.cs.cs4120.util.CodeWriterSExpPrinter
- startUnifiedList() - Method in interface edu.cornell.cs.cs4120.util.SExpPrinter
-
Prints the open parenthesis of an S-expression list, and requires that if a line break is required to separate any two elements of this list, then all elements of this list must be separated by a line break (optional operation).
All Classes and Interfaces|All Packages