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

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


}
protected void consumeMethodInvocationPrimaryWithTypeArguments() {
  //optimize the push/pop
  //MethodInvocation ::= Primary '.' TypeArguments 'Identifier' '(' ArgumentListopt ')'

  MessageSend m = newMessageSendWithTypeArguments();
  m.sourceStart =
    (int) ((m.nameSourcePosition = this.identifierPositionStack[this.identifierPtr]) >>> 32);
  m.selector = this.identifierStack[this.identifierPtr--];
  this.identifierLengthPtr--;
View Full Code Here


  consumeInvocationExpression();
}
protected void consumeMethodInvocationSuper() {
  // MethodInvocation ::= 'super' '.' 'Identifier' '(' ArgumentListopt ')'

  MessageSend m = newMessageSend();
  m.sourceStart = this.intStack[this.intPtr--]; // start position of the super keyword
  m.sourceEnd = this.rParenPos;
  m.nameSourcePosition = this.identifierPositionStack[this.identifierPtr];
  m.selector = this.identifierStack[this.identifierPtr--];
  this.identifierLengthPtr--;
View Full Code Here

  consumeInvocationExpression();
}
protected void consumeMethodInvocationSuperWithTypeArguments() {
  // MethodInvocation ::= 'super' '.' TypeArguments 'Identifier' '(' ArgumentListopt ')'

  MessageSend m = newMessageSendWithTypeArguments();
  this.intPtr--; // start position of the typeArguments
  m.sourceEnd = this.rParenPos;
  m.nameSourcePosition = this.identifierPositionStack[this.identifierPtr];
  m.selector = this.identifierStack[this.identifierPtr--];
  this.identifierLengthPtr--;
View Full Code Here

  char[] selector = this.identifierStack[this.identifierPtr];
  if (selector != assistIdentifier()){
    return super.newMessageSend();
  }
  MessageSend messageSend = new SelectionOnMessageSend();
  int length;
  if ((length = this.expressionLengthStack[this.expressionLengthPtr--]) != 0) {
    this.expressionPtr -= length;
    System.arraycopy(
      this.expressionStack,
View Full Code Here

protected MessageSend newMessageSendWithTypeArguments() {
  char[] selector = this.identifierStack[this.identifierPtr];
  if (selector != assistIdentifier()){
    return super.newMessageSendWithTypeArguments();
  }
  MessageSend messageSend = new SelectionOnMessageSend();
  int length;
  if ((length = this.expressionLengthStack[this.expressionLengthPtr--]) != 0) {
    this.expressionPtr -= length;
    System.arraycopy(
      this.expressionStack,
View Full Code Here

TOP

Related Classes of org.eclipse.jdt.internal.compiler.ast.MessageSend

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.