Package Analyzer.Syntax

Examples of Analyzer.Syntax.Interpreter


    public void paint(Graphics g) {
        super.paint(g);
        g.setColor(Color.black);
        Turtle t = new Turtle(g);
        if (instrucciones.size() > 0) {
            Interpreter interprete = new Interpreter(t);
            try {
                interprete.interpretar(instrucciones);
                Window.ponerAnalizarAceptado();
            }
            catch (RuntimeException ei) {
                Window.ponerAnalizarFallido(ei.getLocalizedMessage());
                //Si encuentra fallo, borra todo lo ejecutado
View Full Code Here

TOP

Related Classes of Analyzer.Syntax.Interpreter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.