public class CalcWriter extends Object
Constructor and Description |
---|
CalcWriter(PrintWriter writer,
boolean profiling) |
Modifier and Type | Method and Description |
---|---|
boolean |
enableProfiling()
Whether to print out attributes relating to how a statement was actually
executed.
|
PrintWriter |
getWriter() |
void |
indent()
Increases the indentation level.
|
void |
outdent()
Decreases the indentation level.
|
void |
setParentArgs(Calc calc,
Map<String,Object> argumentMap) |
void |
visitCalc(Calc calc,
String name,
Map<String,Object> arguments,
Calc[] childCalcs) |
void |
visitChild(int ordinal,
Calc calc) |
public CalcWriter(PrintWriter writer, boolean profiling)
public PrintWriter getWriter()
public void visitChild(int ordinal, Calc calc)
public void visitCalc(Calc calc, String name, Map<String,Object> arguments, Calc[] childCalcs)
public void indent()
public void outdent()
public boolean enableProfiling()
Copyright © 2018 Hitachi Vantara. All rights reserved.