|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Printer | |
|---|---|
| xtc.parser | |
| xtc.tree | |
| xtc.type | |
| xtc.util | |
| Uses of Printer in xtc.parser |
|---|
| Fields in xtc.parser declared as Printer | |
|---|---|
protected Printer |
CodeGenerator.printer
The printer utility. |
protected Printer |
PrettyPrinter.printer
The printer for this pretty printer. |
| Constructors in xtc.parser with parameters of type Printer | |
|---|---|
CodeGenerator(Runtime runtime,
Analyzer analyzer,
AST ast,
Printer printer)
Create a new code generator. |
|
PrettyPrinter(Printer printer,
AST ast,
boolean verbose)
Create a new pretty printer. |
|
| Uses of Printer in xtc.tree |
|---|
| Fields in xtc.tree declared as Printer | |
|---|---|
protected Printer |
ParseTreePrinter.printer
The printer. |
protected Printer |
Transducer.printer
The printer. |
| Methods in xtc.tree that return Printer | |
|---|---|
Printer |
Printer.align(int alignment)
Print whitespace to align the output. |
Printer |
Printer.buffer()
Start buffering the output. |
Printer |
Printer.column(int column)
Set the current column to the specified number. |
Printer |
Printer.decr()
Decrease the current indentation level. |
Printer |
Printer.escape(char c)
Print the specified character using C escapes. |
Printer |
Printer.escape(char c,
int flags)
Print the specified character with the specified escape sequences. |
Printer |
Printer.escape(java.lang.String s)
Print the specified string using C escapes. |
Printer |
Printer.escape(java.lang.String s,
int flags)
Print the specified string with the specified escape sequences. |
Printer |
Printer.fit()
Ensure that the buffer contents fit onto the current line. |
Printer |
Printer.fit(int align)
Ensure that the buffer contents fit onto the current line. |
Printer |
Printer.fit(java.lang.String prefix)
Ensure that the buffer contents fit onto the current line. |
Printer |
Printer.fitMore()
Ensure that the buffer contents fit onto the current line. |
Printer |
Printer.flush()
Flush the underlying print writer. |
Printer |
Printer.format(Node n)
Format the specified node. |
Printer |
Printer.format(Node n,
boolean locate)
Format the specified node. |
Printer |
Printer.incr()
Increase the current indentation level. |
Printer |
Printer.indent()
Indent. |
Printer |
Printer.indentLess()
Indent one tab stop less than the current indentation level. |
Printer |
Printer.indentMore()
Indent one tab stop more than the current indentation level. |
Printer |
Printer.line(long line)
Set the current line to the specified number. |
Printer |
Printer.lineUp(Locatable locatable)
Line this printer up at the specified locatable object's location. |
Printer |
Printer.lineUp(Locatable locatable,
int before)
Line this printer up at the specified number of characters before the specified locatable object's location, |
Printer |
Printer.loc(Locatable locatable)
Print the location for the specified locatable object. |
Printer |
Printer.p(Attribute attribute)
Print the specified attribute. |
Printer |
Printer.p(char c)
Print the specified character. |
Printer |
Printer.p(Comment comment)
Print the specified comment. |
Printer |
Printer.p(double d)
Print the specified double. |
Printer |
Printer.p(int i)
Print the specified integer. |
Printer |
Printer.p(long l)
Print the specified long. |
Printer |
Printer.p(Node node)
Print the specified node. |
Printer |
Printer.p(java.lang.String s)
Print the specified string. |
Printer |
Printer.pad(long l,
int width)
Print the specified long while also padding it to the specified width with leading spaces. |
Printer |
Printer.pln()
Print a newline. |
Printer |
Printer.pln(char c)
Print the specified character followed by a newline. |
Printer |
Printer.pln(double d)
Print the specified double followed by a newline. |
Printer |
Printer.pln(int i)
Print the specified integer followed by a newline. |
Printer |
Printer.pln(long l)
Print the specified long followed by a newline. |
Printer |
Printer.pln(java.lang.String s)
Print the specified string followed by a newline. |
Printer |
Printer.reset()
Reset this printer. |
Printer |
Printer.sep()
Print an indented separation comment. |
Printer |
Printer.setLevel(int level)
Set the current indentation level. |
Printer |
Printer.unbuffer()
Stop buffering the output. |
Printer |
Printer.wrap(int alignment,
java.lang.String text)
Print the specified text. |
| Constructors in xtc.tree with parameters of type Printer | |
|---|---|
ParseTreePrinter(Printer printer)
Create a new parse tree printer. |
|
Transducer(Printer printer)
Create a new transducer. |
|
Transducer(Printer printer,
java.util.Map<java.lang.String,java.lang.String> variables)
Create a new transducer. |
|
| Uses of Printer in xtc.type |
|---|
| Fields in xtc.type declared as Printer | |
|---|---|
protected Printer |
SourcePrinter.printer
The printer utility. |
protected Printer |
TypePrinter.printer
The printer utility. |
| Methods in xtc.type with parameters of type Printer | |
|---|---|
void |
AST.print(Type type,
Printer printer,
boolean refIsDecl,
boolean qualified,
java.lang.String module)
Print the specified type. |
| Constructors in xtc.type with parameters of type Printer | |
|---|---|
SourcePrinter(Printer printer)
Create a new source printer. |
|
TypePrinter(Printer printer)
Create a new type printer. |
|
| Uses of Printer in xtc.util |
|---|
| Fields in xtc.util declared as Printer | |
|---|---|
protected Printer |
Runtime.console
The console printer. |
protected Printer |
Runtime.errConsole
The error console printer. |
| Methods in xtc.util that return Printer | |
|---|---|
Printer |
Runtime.console()
Get a printer to the console. |
Printer |
Runtime.errConsole()
Get a printer to the error console. |
| Methods in xtc.util with parameters of type Printer | |
|---|---|
void |
SymbolTable.Scope.dump(Printer printer)
Dump the contents of this scope. |
void |
Tool.printHeader(Printer printer)
Print a tool header to the specified printer. |
void |
Runtime.setConsole(Printer console)
Update the printer to the console. |
void |
Runtime.setErrConsole(Printer console)
Update the printer to the error console. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||