Package org.eclipse.jdt.internal.compiler.parser

Examples of org.eclipse.jdt.internal.compiler.parser.RecoveredStatement


      ASTNode enclosingNode = this.enclosingNode();
      if (assistNodeParent != null || enclosingNode != null) {
        RecoveredBlock recoveredBlock = (RecoveredBlock) (this.currentElement instanceof RecoveredBlock ? this.currentElement :
                          (this.currentElement.parent instanceof RecoveredBlock) ? this.currentElement.parent : null);
        if (recoveredBlock != null) {
          RecoveredStatement recoveredStatement = recoveredBlock.statementCount > 0 ? recoveredBlock.statements[recoveredBlock.statementCount - 1] : null;
          ASTNode parseTree = recoveredStatement != null ? recoveredStatement.updatedStatement(0, new HashSet()) : null;
          if (parseTree != null && (parseTree == assistNodeParent || parseTree == enclosingNode)) {
            recoveredBlock.statements[--recoveredBlock.statementCount] = null;
            this.currentElement = recoveredBlock;
          }
        }
View Full Code Here

TOP

Related Classes of org.eclipse.jdt.internal.compiler.parser.RecoveredStatement

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.