public void printTree(bool printExecutionCounters) { if (m_compileTimeErrorHandler.getErrors().Count == 0 && m_runtimeErrorHandler.getErrors().Count == 0 ) { ASTPainter p = new ASTPainter(); p.PrintExecutions = printExecutionCounters; p.PaintAST(m_ast); } }
public void printTree(bool printExecutionCounters) { if(m_compileTimeErrorHandler.getErrors().Count == 0 && m_runtimeErrorHandler.getErrors().Count == 0 ) { ASTPainter p = new ASTPainter(); p.PrintExecutions = printExecutionCounters; p.PaintAST(m_ast); } }
private void PaintAST(AST ast) { ASTPainter painter = new ASTPainter(); painter.PaintAST(ast); }