Пример #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);
     }
 }
Пример #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);
     }
 }
Пример #3
0
 private void PaintAST(AST ast)
 {
     ASTPainter painter = new ASTPainter();
     painter.PaintAST(ast);
 }
Пример #4
0
        private void PaintAST(AST ast)
        {
            ASTPainter painter = new ASTPainter();

            painter.PaintAST(ast);
        }