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

            painter.PaintAST(ast);
        }