Package com.google.minijoe.compiler.ast

Examples of com.google.minijoe.compiler.ast.BreakStatement


      identifier = parseIdentifier();
    }

    readTokenSemicolon();

    return new BreakStatement(identifier);
  }
View Full Code Here


    super(name);
  }

  public void testBreakStatement() throws CompilerException {
    assertParserOutput(
        new BreakStatement(
            null
        ),
        "break;"
    );
    assertParserOutput(
        new BreakStatement(
            new Identifier("loop")
        ),
        "break loop;"
    );
  }
View Full Code Here

TOP

Related Classes of com.google.minijoe.compiler.ast.BreakStatement

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.