Package org.eclipse.jdt.internal.compiler.ast

Examples of org.eclipse.jdt.internal.compiler.ast.BreakStatement


}
protected void consumeStatementBreak() {
  // BreakStatement ::= 'break' ';'
  // break pushes a position on this.intStack in case there is no label

  pushOnAstStack(new BreakStatement(null, this.intStack[this.intPtr--], this.endStatementPosition));

  if (this.pendingRecoveredType != null) {
    // Used only in statements recovery.
    // This is not a real break statement but a placeholder for an existing local type.
    // The break statement must be replace by the local type.
View Full Code Here


protected void consumeStatementBreakWithLabel() {
  // BreakStatement ::= 'break' Identifier ';'
  // break pushs a position on this.intStack in case there is no label

  pushOnAstStack(
    new BreakStatement(
      this.identifierStack[this.identifierPtr--],
      this.intStack[this.intPtr--],
      this.endStatementPosition));
  this.identifierLengthPtr--;
}
View Full Code Here

TOP

Related Classes of org.eclipse.jdt.internal.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.