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

Examples of org.aspectj.org.eclipse.jdt.internal.compiler.ast.ASTNode


    this.display();

  }

  protected ASTNode popPointcutDesignator(String terminator) {
    ASTNode tokens = popPseudoTokens(terminator);
    return declarationFactory.createPointcutDesignator(this, tokens);
  }
View Full Code Here


//    return new EclipseSourceContext(compilationResult);
//  }


  private void swapAstStack() {
    ASTNode top = astStack[astPtr];
    ASTNode next = astStack[astPtr-1];
    astStack[astPtr] = next;
    astStack[astPtr-1] = top;
  }
View Full Code Here

        }
       
        // to compute bodyStart, and thus used to set next checkpoint.
        int count;
        for (count = 0; count < argLength; count++){
          ASTNode aNode = parser.astStack[argStart+count];
          if(aNode instanceof Argument) {
            Argument argument = (Argument)aNode;
            /* cannot be an argument if non final */
            char[][] argTypeName = argument.type.getTypeName();
            if ((argument.modifiers & ~ClassFileConstants.AccFinal) != 0
View Full Code Here

}

// don't try to recover if we're parsing AspectJ constructs
protected boolean shouldTryToRecover() {
  int index = 0;
  ASTNode node;
  while (index < astStack.length && (node = astStack[index++]) != null) {
    if (!declarationFactory.shouldTryToRecover(node)) {
      return false;
    }
  }
View Full Code Here

}


public MethodBinding findPrivilegedBinding(SourceTypeBinding invocationType, InvocationSite location) {
  if (Scope.findPrivilegedHandler(invocationType) != null) {
    ASTNode forLocation = null;
    if (location instanceof ASTNode) {
      forLocation = (ASTNode)location;
    }
    return Scope.findPrivilegedHandler(invocationType).getPrivilegedAccessMethod(this, forLocation); //notePrivilegedTypeAccess(this, null);
  } else {
View Full Code Here

TOP

Related Classes of org.aspectj.org.eclipse.jdt.internal.compiler.ast.ASTNode

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.