org.eclipse.jdt.internal.compiler.parser.Parser.consumeMethodInvocationNameWithTypeArguments()方法的使用及代码示例

x33g5p2x  于2022-01-26 转载在 其他  
字(12.8k)|赞(0)|评价(0)|浏览(147)

本文整理了Java中org.eclipse.jdt.internal.compiler.parser.Parser.consumeMethodInvocationNameWithTypeArguments()方法的一些代码示例,展示了Parser.consumeMethodInvocationNameWithTypeArguments()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Parser.consumeMethodInvocationNameWithTypeArguments()方法的具体详情如下:
包路径:org.eclipse.jdt.internal.compiler.parser.Parser
类名称:Parser
方法名:consumeMethodInvocationNameWithTypeArguments

Parser.consumeMethodInvocationNameWithTypeArguments介绍

暂无

代码示例

代码示例来源:origin: org.eclipse.jdt/org.eclipse.jdt.core

  1. @Override
  2. protected void consumeMethodInvocationNameWithTypeArguments() {
  3. super.consumeMethodInvocationNameWithTypeArguments();
  4. popElement(K_SELECTOR);
  5. MessageSend messageSend = (MessageSend)this.expressionStack[this.expressionPtr];
  6. if (messageSend == this.assistNode){
  7. this.lastCheckPoint = messageSend.sourceEnd + 1;
  8. }
  9. }
  10. @Override

代码示例来源:origin: com.google.code.maven-play-plugin.org.eclipse.jdt/org.eclipse.jdt.core

  1. protected void consumeMethodInvocationNameWithTypeArguments() {
  2. super.consumeMethodInvocationNameWithTypeArguments();
  3. popElement(K_SELECTOR);
  4. MessageSend messageSend = (MessageSend)this.expressionStack[this.expressionPtr];
  5. if (messageSend == this.assistNode){
  6. this.lastCheckPoint = messageSend.sourceEnd + 1;
  7. }
  8. }
  9. protected void consumeMethodInvocationPrimary() {

代码示例来源:origin: org.eclipse.tycho/org.eclipse.jdt.core

  1. protected void consumeMethodInvocationNameWithTypeArguments() {
  2. super.consumeMethodInvocationNameWithTypeArguments();
  3. popElement(K_SELECTOR);
  4. MessageSend messageSend = (MessageSend)this.expressionStack[this.expressionPtr];
  5. if (messageSend == this.assistNode){
  6. this.lastCheckPoint = messageSend.sourceEnd + 1;
  7. }
  8. }
  9. protected void consumeMethodInvocationPrimary() {

代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.jdt.core

  1. protected void consumeMethodInvocationNameWithTypeArguments() {
  2. super.consumeMethodInvocationNameWithTypeArguments();
  3. popElement(K_SELECTOR);
  4. MessageSend messageSend = (MessageSend)this.expressionStack[this.expressionPtr];
  5. if (messageSend == this.assistNode){
  6. this.lastCheckPoint = messageSend.sourceEnd + 1;
  7. }
  8. }
  9. protected void consumeMethodInvocationPrimary() {

代码示例来源:origin: org.jibx.config.3rdparty.org.eclipse/org.eclipse.jdt.core

  1. protected void consumeMethodInvocationNameWithTypeArguments() {
  2. super.consumeMethodInvocationNameWithTypeArguments();
  3. popElement(K_SELECTOR);
  4. MessageSend messageSend = (MessageSend)this.expressionStack[this.expressionPtr];
  5. if (messageSend == this.assistNode){
  6. this.lastCheckPoint = messageSend.sourceEnd + 1;
  7. }
  8. }
  9. protected void consumeMethodInvocationPrimary() {

代码示例来源:origin: trylimits/Eclipse-Postfix-Code-Completion

  1. protected void consumeMethodInvocationNameWithTypeArguments() {
  2. super.consumeMethodInvocationNameWithTypeArguments();
  3. popElement(K_SELECTOR);
  4. MessageSend messageSend = (MessageSend)this.expressionStack[this.expressionPtr];
  5. if (messageSend == this.assistNode){
  6. this.lastCheckPoint = messageSend.sourceEnd + 1;
  7. }
  8. }
  9. protected void consumeMethodInvocationPrimary() {

代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.jdt.core

  1. protected void consumeMethodInvocationNameWithTypeArguments() {
  2. // MethodInvocation ::= Name '.' TypeArguments 'Identifier' '(' ArgumentListopt ')'
  3. // when the name is only an identifier...we have a message send to "this" (implicit)
  4. if (this.scanner.startPosition >= this.codeSnippetStart
  5. && this.scanner.startPosition <= this.codeSnippetEnd + 1 + this.lineSeparatorLength // 14838
  6. && isTopLevelType()) {
  7. MessageSend m = newMessageSendWithTypeArguments();
  8. m.sourceEnd = this.rParenPos;
  9. m.sourceStart =
  10. (int) ((m.nameSourcePosition = this.identifierPositionStack[this.identifierPtr]) >>> 32);
  11. m.selector = this.identifierStack[this.identifierPtr--];
  12. this.identifierLengthPtr--;
  13. // handle type arguments
  14. int length = this.genericsLengthStack[this.genericsLengthPtr--];
  15. this.genericsPtr -= length;
  16. System.arraycopy(this.genericsStack, this.genericsPtr + 1, m.typeArguments = new TypeReference[length], 0, length);
  17. this.intPtr--;
  18. m.receiver = getUnspecifiedReference();
  19. m.sourceStart = m.receiver.sourceStart;
  20. pushOnExpressionStack(m);
  21. } else {
  22. super.consumeMethodInvocationNameWithTypeArguments();
  23. }
  24. }
  25. protected void consumeMethodInvocationSuper() {

代码示例来源:origin: org.eclipse.tycho/org.eclipse.jdt.core

  1. protected void consumeMethodInvocationNameWithTypeArguments() {
  2. // MethodInvocation ::= Name '.' TypeArguments 'Identifier' '(' ArgumentListopt ')'
  3. // when the name is only an identifier...we have a message send to "this" (implicit)
  4. if (this.scanner.startPosition >= this.codeSnippetStart
  5. && this.scanner.startPosition <= this.codeSnippetEnd + 1 + this.lineSeparatorLength // 14838
  6. && isTopLevelType()) {
  7. MessageSend m = newMessageSendWithTypeArguments();
  8. m.sourceEnd = this.rParenPos;
  9. m.sourceStart =
  10. (int) ((m.nameSourcePosition = this.identifierPositionStack[this.identifierPtr]) >>> 32);
  11. m.selector = this.identifierStack[this.identifierPtr--];
  12. this.identifierLengthPtr--;
  13. // handle type arguments
  14. int length = this.genericsLengthStack[this.genericsLengthPtr--];
  15. this.genericsPtr -= length;
  16. System.arraycopy(this.genericsStack, this.genericsPtr + 1, m.typeArguments = new TypeReference[length], 0, length);
  17. this.intPtr--;
  18. m.receiver = getUnspecifiedReference();
  19. m.sourceStart = m.receiver.sourceStart;
  20. pushOnExpressionStack(m);
  21. } else {
  22. super.consumeMethodInvocationNameWithTypeArguments();
  23. }
  24. }
  25. protected void consumeMethodInvocationSuper() {

代码示例来源:origin: com.google.code.maven-play-plugin.org.eclipse.jdt/org.eclipse.jdt.core

  1. protected void consumeMethodInvocationNameWithTypeArguments() {
  2. // MethodInvocation ::= Name '.' TypeArguments 'Identifier' '(' ArgumentListopt ')'
  3. // when the name is only an identifier...we have a message send to "this" (implicit)
  4. if (this.scanner.startPosition >= this.codeSnippetStart
  5. && this.scanner.startPosition <= this.codeSnippetEnd + 1 + this.lineSeparatorLength // 14838
  6. && isTopLevelType()) {
  7. MessageSend m = newMessageSendWithTypeArguments();
  8. m.sourceEnd = this.rParenPos;
  9. m.sourceStart =
  10. (int) ((m.nameSourcePosition = this.identifierPositionStack[this.identifierPtr]) >>> 32);
  11. m.selector = this.identifierStack[this.identifierPtr--];
  12. this.identifierLengthPtr--;
  13. // handle type arguments
  14. int length = this.genericsLengthStack[this.genericsLengthPtr--];
  15. this.genericsPtr -= length;
  16. System.arraycopy(this.genericsStack, this.genericsPtr + 1, m.typeArguments = new TypeReference[length], 0, length);
  17. this.intPtr--;
  18. m.receiver = getUnspecifiedReference();
  19. m.sourceStart = m.receiver.sourceStart;
  20. pushOnExpressionStack(m);
  21. } else {
  22. super.consumeMethodInvocationNameWithTypeArguments();
  23. }
  24. }
  25. protected void consumeMethodInvocationSuper() {

代码示例来源:origin: org.jibx.config.3rdparty.org.eclipse/org.eclipse.jdt.core

  1. protected void consumeMethodInvocationNameWithTypeArguments() {
  2. // MethodInvocation ::= Name '.' TypeArguments 'Identifier' '(' ArgumentListopt ')'
  3. // when the name is only an identifier...we have a message send to "this" (implicit)
  4. if (this.scanner.startPosition >= this.codeSnippetStart
  5. && this.scanner.startPosition <= this.codeSnippetEnd + 1 + this.lineSeparatorLength // 14838
  6. && isTopLevelType()) {
  7. MessageSend m = newMessageSendWithTypeArguments();
  8. m.sourceEnd = this.rParenPos;
  9. m.sourceStart =
  10. (int) ((m.nameSourcePosition = this.identifierPositionStack[this.identifierPtr]) >>> 32);
  11. m.selector = this.identifierStack[this.identifierPtr--];
  12. this.identifierLengthPtr--;
  13. // handle type arguments
  14. int length = this.genericsLengthStack[this.genericsLengthPtr--];
  15. this.genericsPtr -= length;
  16. System.arraycopy(this.genericsStack, this.genericsPtr + 1, m.typeArguments = new TypeReference[length], 0, length);
  17. this.intPtr--;
  18. m.receiver = getUnspecifiedReference();
  19. m.sourceStart = m.receiver.sourceStart;
  20. pushOnExpressionStack(m);
  21. } else {
  22. super.consumeMethodInvocationNameWithTypeArguments();
  23. }
  24. }
  25. protected void consumeMethodInvocationSuper() {

代码示例来源:origin: trylimits/Eclipse-Postfix-Code-Completion

  1. protected void consumeMethodInvocationNameWithTypeArguments() {
  2. // MethodInvocation ::= Name '.' TypeArguments 'Identifier' '(' ArgumentListopt ')'
  3. // when the name is only an identifier...we have a message send to "this" (implicit)
  4. if (this.scanner.startPosition >= this.codeSnippetStart
  5. && this.scanner.startPosition <= this.codeSnippetEnd + 1 + this.lineSeparatorLength // 14838
  6. && isTopLevelType()) {
  7. MessageSend m = newMessageSendWithTypeArguments();
  8. m.sourceEnd = this.rParenPos;
  9. m.sourceStart =
  10. (int) ((m.nameSourcePosition = this.identifierPositionStack[this.identifierPtr]) >>> 32);
  11. m.selector = this.identifierStack[this.identifierPtr--];
  12. this.identifierLengthPtr--;
  13. // handle type arguments
  14. int length = this.genericsLengthStack[this.genericsLengthPtr--];
  15. this.genericsPtr -= length;
  16. System.arraycopy(this.genericsStack, this.genericsPtr + 1, m.typeArguments = new TypeReference[length], 0, length);
  17. this.intPtr--;
  18. m.receiver = getUnspecifiedReference();
  19. m.sourceStart = m.receiver.sourceStart;
  20. pushOnExpressionStack(m);
  21. } else {
  22. super.consumeMethodInvocationNameWithTypeArguments();
  23. }
  24. }
  25. protected void consumeMethodInvocationSuper() {

代码示例来源:origin: org.eclipse.jdt/org.eclipse.jdt.core

  1. pushOnExpressionStack(m);
  2. } else {
  3. super.consumeMethodInvocationNameWithTypeArguments();

代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.jdt.core

  1. protected void consumeMethodInvocationNameWithTypeArguments() {
  2. super.consumeMethodInvocationNameWithTypeArguments();
  3. MessageSend messageSend = (MessageSend) this.expressionStack[this.expressionPtr];
  4. if (this.patternFineGrain == 0) {
  5. this.patternLocator.match(messageSend, this.nodeSet);
  6. } else {
  7. if (messageSend.receiver.isThis()) {
  8. if ((this.patternFineGrain & IJavaSearchConstants.IMPLICIT_THIS_REFERENCE) != 0) {
  9. this.patternLocator.match(messageSend, this.nodeSet);
  10. }
  11. } else {
  12. if ((this.patternFineGrain & IJavaSearchConstants.QUALIFIED_REFERENCE) != 0) {
  13. this.patternLocator.match(messageSend, this.nodeSet);
  14. }
  15. }
  16. }
  17. }

代码示例来源:origin: com.google.code.maven-play-plugin.org.eclipse.jdt/org.eclipse.jdt.core

  1. protected void consumeMethodInvocationNameWithTypeArguments() {
  2. super.consumeMethodInvocationNameWithTypeArguments();
  3. MessageSend messageSend = (MessageSend) this.expressionStack[this.expressionPtr];
  4. if (this.patternFineGrain == 0) {
  5. this.patternLocator.match(messageSend, this.nodeSet);
  6. } else {
  7. if (messageSend.receiver.isThis()) {
  8. if ((this.patternFineGrain & IJavaSearchConstants.IMPLICIT_THIS_REFERENCE) != 0) {
  9. this.patternLocator.match(messageSend, this.nodeSet);
  10. }
  11. } else {
  12. if ((this.patternFineGrain & IJavaSearchConstants.QUALIFIED_REFERENCE) != 0) {
  13. this.patternLocator.match(messageSend, this.nodeSet);
  14. }
  15. }
  16. }
  17. }

代码示例来源:origin: org.eclipse.jdt/org.eclipse.jdt.core

  1. @Override
  2. protected void consumeMethodInvocationNameWithTypeArguments() {
  3. super.consumeMethodInvocationNameWithTypeArguments();
  4. MessageSend messageSend = (MessageSend) this.expressionStack[this.expressionPtr];
  5. if (this.patternFineGrain == 0) {
  6. this.patternLocator.match(messageSend, this.nodeSet);
  7. } else {
  8. if (messageSend.receiver.isThis()) {
  9. if ((this.patternFineGrain & IJavaSearchConstants.IMPLICIT_THIS_REFERENCE) != 0) {
  10. this.patternLocator.match(messageSend, this.nodeSet);
  11. }
  12. } else {
  13. if ((this.patternFineGrain & IJavaSearchConstants.QUALIFIED_REFERENCE) != 0) {
  14. this.patternLocator.match(messageSend, this.nodeSet);
  15. }
  16. }
  17. }
  18. }

代码示例来源:origin: org.eclipse.tycho/org.eclipse.jdt.core

  1. protected void consumeMethodInvocationNameWithTypeArguments() {
  2. super.consumeMethodInvocationNameWithTypeArguments();
  3. MessageSend messageSend = (MessageSend) this.expressionStack[this.expressionPtr];
  4. if (this.patternFineGrain == 0) {
  5. this.patternLocator.match(messageSend, this.nodeSet);
  6. } else {
  7. if (messageSend.receiver.isThis()) {
  8. if ((this.patternFineGrain & IJavaSearchConstants.IMPLICIT_THIS_REFERENCE) != 0) {
  9. this.patternLocator.match(messageSend, this.nodeSet);
  10. }
  11. } else {
  12. if ((this.patternFineGrain & IJavaSearchConstants.QUALIFIED_REFERENCE) != 0) {
  13. this.patternLocator.match(messageSend, this.nodeSet);
  14. }
  15. }
  16. }
  17. }

代码示例来源:origin: trylimits/Eclipse-Postfix-Code-Completion

  1. protected void consumeMethodInvocationNameWithTypeArguments() {
  2. super.consumeMethodInvocationNameWithTypeArguments();
  3. MessageSend messageSend = (MessageSend) this.expressionStack[this.expressionPtr];
  4. if (this.patternFineGrain == 0) {
  5. this.patternLocator.match(messageSend, this.nodeSet);
  6. } else {
  7. if (messageSend.receiver.isThis()) {
  8. if ((this.patternFineGrain & IJavaSearchConstants.IMPLICIT_THIS_REFERENCE) != 0) {
  9. this.patternLocator.match(messageSend, this.nodeSet);
  10. }
  11. } else {
  12. if ((this.patternFineGrain & IJavaSearchConstants.QUALIFIED_REFERENCE) != 0) {
  13. this.patternLocator.match(messageSend, this.nodeSet);
  14. }
  15. }
  16. }
  17. }

代码示例来源:origin: org.jibx.config.3rdparty.org.eclipse/org.eclipse.jdt.core

  1. protected void consumeMethodInvocationNameWithTypeArguments() {
  2. super.consumeMethodInvocationNameWithTypeArguments();
  3. MessageSend messageSend = (MessageSend) this.expressionStack[this.expressionPtr];
  4. if (this.patternFineGrain == 0) {
  5. this.patternLocator.match(messageSend, this.nodeSet);
  6. } else {
  7. if (messageSend.receiver.isThis()) {
  8. if ((this.patternFineGrain & IJavaSearchConstants.IMPLICIT_THIS_REFERENCE) != 0) {
  9. this.patternLocator.match(messageSend, this.nodeSet);
  10. }
  11. } else {
  12. if ((this.patternFineGrain & IJavaSearchConstants.QUALIFIED_REFERENCE) != 0) {
  13. this.patternLocator.match(messageSend, this.nodeSet);
  14. }
  15. }
  16. }
  17. }

代码示例来源:origin: com.vaadin/vaadin-client-compiler-deps

  1. consumeMethodInvocationNameWithTypeArguments();
  2. break;

代码示例来源:origin: org.eclipse.jdt.core.compiler/ecj

  1. consumeMethodInvocationNameWithTypeArguments();
  2. break;

相关文章

Parser类方法