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)
IPrinter
public void print(TSourceToken t)
IPrinter
public OutputStream getOut()
IPrinter
public void setOut(OutputStream out)
IPrinter
public void setOutputConfig(OutputConfig outputConfig)
setOutputConfig
in interface IPrinter