// Path: src/gui/ANTGui.java
// public static javax.swing.JTextPane jTextArea3;


import static gui.ANTGui.jTextArea3;
import java.awt.Color;
import java.util.HashMap;
import java.util.Map;
import javax.swing.text.BadLocationException;
import javax.swing.text.Style;
import javax.swing.text.StyleConstants;
import javax.swing.text.StyledDocument;
        return null;
    
    }
    
    public Symbol findAllScopes(String nombreVar){
       
         try{
        
            for (Map.Entry<Integer, Symbol> entry : tabla.entrySet()) {
                int key = entry.getKey();
                Symbol value = entry.getValue();
                
                String varName = ((Type)value.getTipo()).getNombreVariable();
                int ambito = value.getAmbito();
                //System.out.println(varName);
                //System.out.println(nombreVar);
                if (varName.trim().equals(nombreVar.trim()))
                   
                    return value;
            }
         
         }catch(Exception e){}
        return null;
    
    }
    
    public void agregarLog(String mensaje, int linea, int columna, boolean error){
        
        StyledDocument doc = jTextArea3.getStyledDocument();

// Path: src/gui/ANTGui.java
// public static javax.swing.JTextPane jTextArea3;


// Path: src/compiler/SymbolTable.java
import static gui.ANTGui.jTextArea3;
import java.awt.Color;
import java.util.HashMap;
import java.util.Map;
import javax.swing.text.BadLocationException;
import javax.swing.text.Style;
import javax.swing.text.StyleConstants;
import javax.swing.text.StyledDocument;

        return null;
    
    }
    
    public Symbol findAllScopes(String nombreVar){
       
         try{
        
            for (Map.Entry<Integer, Symbol> entry : tabla.entrySet()) {
                int key = entry.getKey();
                Symbol value = entry.getValue();
                
                String varName = ((Type)value.getTipo()).getNombreVariable();
                int ambito = value.getAmbito();
                //System.out.println(varName);
                //System.out.println(nombreVar);
                if (varName.trim().equals(nombreVar.trim()))
                   
                    return value;
            }
         
         }catch(Exception e){}
        return null;
    
    }
    
    public void agregarLog(String mensaje, int linea, int columna, boolean error){
        
        StyledDocument doc = jTextArea3.getStyledDocument();

        Style style = jTextArea3.addStyle("I'm a Style", null);