Example #1
0
 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);
     }
 }
Example #2
0
 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);
     }
 }
Example #3
0
 private void PaintAST(AST ast)
 {
     ASTPainter painter = new ASTPainter();
     painter.PaintAST(ast);
 }
Example #4
0
        private void PaintAST(AST ast)
        {
            ASTPainter painter = new ASTPainter();

            painter.PaintAST(ast);
        }