public class TextPrinter extends Object implements IPrinter
| Constructor and Description |
|---|
TextPrinter() |
| Modifier and Type | Method and Description |
|---|---|
OutputStream |
getOut()
get the output stream
|
void |
print(TSourceToken t)
print the source token
|
void |
print(TSourceTokenList tl)
print the source token list
|
void |
setOut(OutputStream out)
set the output stream
|
void |
setOutputConfig(OutputConfig outputConfig) |
public TextPrinter()
public void print(TSourceTokenList tl)
IPrinterpublic void print(TSourceToken t)
IPrinterpublic OutputStream getOut()
IPrinterpublic void setOut(OutputStream out)
IPrinterpublic void setOutputConfig(OutputConfig outputConfig)
setOutputConfig in interface IPrinter