public class CodegenPrinter extends Printer
DEFAULT_INCREMENT| Constructor and Description |
|---|
CodegenPrinter(PrintStream ps) |
CodegenPrinter(PrintStream ps,
int increment,
char padChar) |
| Modifier and Type | Method and Description |
|---|---|
CodegenPrinter |
in() |
int |
lineNumber() |
CodegenPrinter |
nl() |
CodegenPrinter |
nl(Node node) |
CodegenPrinter |
out() |
CodegenPrinter |
p(Object obj) |
CodegenPrinter |
p(String str) |
indent, p, printBuffer, rjpublic CodegenPrinter(PrintStream ps)
public CodegenPrinter(PrintStream ps, int increment, char padChar)
public int lineNumber()
public CodegenPrinter p(String str)
public CodegenPrinter p(Object obj)
public CodegenPrinter in()
public CodegenPrinter out()
public CodegenPrinter nl()
public CodegenPrinter nl(Node node)
Copyright © 2017 Oracle. All rights reserved.