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

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

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

Parser.consumeInvocationExpression介绍

暂无

代码示例

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

  1. protected void consumeClassInstanceCreationExpression() {
  2. // ClassInstanceCreationExpression ::= 'new' ClassType '(' ArgumentListopt ')' ClassBodyopt
  3. classInstanceCreation(false);
  4. consumeInvocationExpression();
  5. }
  6. protected void consumeClassInstanceCreationExpressionName() {

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

  1. protected void consumeClassInstanceCreationExpression() {
  2. // ClassInstanceCreationExpression ::= 'new' ClassType '(' ArgumentListopt ')' ClassBodyopt
  3. classInstanceCreation(false);
  4. consumeInvocationExpression();
  5. }
  6. protected void consumeClassInstanceCreationExpressionName() {

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

  1. protected void consumeClassInstanceCreationExpression() {
  2. // ClassInstanceCreationExpression ::= 'new' ClassType '(' ArgumentListopt ')' ClassBodyopt
  3. classInstanceCreation(false);
  4. consumeInvocationExpression();
  5. }
  6. protected void consumeClassInstanceCreationExpressionName() {

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

  1. protected void consumeClassInstanceCreationExpression() {
  2. // ClassInstanceCreationExpression ::= 'new' ClassType '(' ArgumentListopt ')' ClassBodyopt
  3. classInstanceCreation(false);
  4. consumeInvocationExpression();
  5. }
  6. protected void consumeClassInstanceCreationExpressionName() {

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

  1. protected void consumeClassInstanceCreationExpression() {
  2. // ClassInstanceCreationExpression ::= 'new' ClassType '(' ArgumentListopt ')' ClassBodyopt
  3. classInstanceCreation(false);
  4. consumeInvocationExpression();
  5. }
  6. protected void consumeClassInstanceCreationExpressionName() {

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

  1. protected void consumeClassInstanceCreationExpression() {
  2. // ClassInstanceCreationExpression ::= 'new' ClassType '(' ArgumentListopt ')' ClassBodyopt
  3. classInstanceCreation(false);
  4. consumeInvocationExpression();
  5. }
  6. protected void consumeClassInstanceCreationExpressionName() {

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

  1. protected void consumeClassInstanceCreationExpression() {
  2. // ClassInstanceCreationExpression ::= 'new' ClassType '(' ArgumentListopt ')' ClassBodyopt
  3. classInstanceCreation(false);
  4. consumeInvocationExpression();
  5. }
  6. protected void consumeClassInstanceCreationExpressionName() {

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

  1. protected void consumeClassInstanceCreationExpression() {
  2. // ClassInstanceCreationExpression ::= 'new' ClassType '(' ArgumentListopt ')' ClassBodyopt
  3. classInstanceCreation(false);
  4. consumeInvocationExpression();
  5. }
  6. protected void consumeClassInstanceCreationExpressionName() {

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

  1. protected void consumeMethodInvocationPrimary() {
  2. //optimize the push/pop
  3. //MethodInvocation ::= Primary '.' 'Identifier' '(' ArgumentListopt ')'
  4. MessageSend m = newMessageSend();
  5. m.sourceStart =
  6. (int) ((m.nameSourcePosition = this.identifierPositionStack[this.identifierPtr]) >>> 32);
  7. m.selector = this.identifierStack[this.identifierPtr--];
  8. this.identifierLengthPtr--;
  9. m.receiver = this.expressionStack[this.expressionPtr];
  10. m.sourceStart = m.receiver.sourceStart;
  11. m.sourceEnd = this.rParenPos;
  12. this.expressionStack[this.expressionPtr] = m;
  13. consumeInvocationExpression();
  14. }
  15. protected void consumeMethodInvocationPrimaryWithTypeArguments() {

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

  1. protected void consumeMethodInvocationPrimary() {
  2. //optimize the push/pop
  3. //MethodInvocation ::= Primary '.' 'Identifier' '(' ArgumentListopt ')'
  4. MessageSend m = newMessageSend();
  5. m.sourceStart =
  6. (int) ((m.nameSourcePosition = this.identifierPositionStack[this.identifierPtr]) >>> 32);
  7. m.selector = this.identifierStack[this.identifierPtr--];
  8. this.identifierLengthPtr--;
  9. m.receiver = this.expressionStack[this.expressionPtr];
  10. m.sourceStart = m.receiver.sourceStart;
  11. m.sourceEnd = this.rParenPos;
  12. this.expressionStack[this.expressionPtr] = m;
  13. consumeInvocationExpression();
  14. }
  15. protected void consumeMethodInvocationPrimaryWithTypeArguments() {

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

  1. protected void consumeMethodInvocationPrimary() {
  2. //optimize the push/pop
  3. //MethodInvocation ::= Primary '.' 'Identifier' '(' ArgumentListopt ')'
  4. MessageSend m = newMessageSend();
  5. m.sourceStart =
  6. (int) ((m.nameSourcePosition = this.identifierPositionStack[this.identifierPtr]) >>> 32);
  7. m.selector = this.identifierStack[this.identifierPtr--];
  8. this.identifierLengthPtr--;
  9. m.receiver = this.expressionStack[this.expressionPtr];
  10. m.sourceStart = m.receiver.sourceStart;
  11. m.sourceEnd = this.rParenPos;
  12. this.expressionStack[this.expressionPtr] = m;
  13. consumeInvocationExpression();
  14. }
  15. protected void consumeMethodInvocationPrimaryWithTypeArguments() {

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

  1. protected void consumeClassInstanceCreationExpressionQualified() {
  2. // ClassInstanceCreationExpression ::= Primary '.' 'new' SimpleName '(' ArgumentListopt ')' ClassBodyopt
  3. // ClassInstanceCreationExpression ::= ClassInstanceCreationExpressionName 'new' SimpleName '(' ArgumentListopt ')' ClassBodyopt
  4. classInstanceCreation(true);
  5. QualifiedAllocationExpression qae =
  6. (QualifiedAllocationExpression) this.expressionStack[this.expressionPtr];
  7. if (qae.anonymousType == null) {
  8. this.expressionLengthPtr--;
  9. this.expressionPtr--;
  10. qae.enclosingInstance = this.expressionStack[this.expressionPtr];
  11. this.expressionStack[this.expressionPtr] = qae;
  12. }
  13. qae.sourceStart = qae.enclosingInstance.sourceStart;
  14. consumeInvocationExpression();
  15. }
  16. protected void consumeClassInstanceCreationExpressionQualifiedWithTypeArguments() {

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

  1. protected void consumeMethodInvocationSuper() {
  2. // MethodInvocation ::= 'super' '.' 'Identifier' '(' ArgumentListopt ')'
  3. MessageSend m = newMessageSend();
  4. m.sourceStart = this.intStack[this.intPtr--]; // start position of the super keyword
  5. m.sourceEnd = this.rParenPos;
  6. m.nameSourcePosition = this.identifierPositionStack[this.identifierPtr];
  7. m.selector = this.identifierStack[this.identifierPtr--];
  8. this.identifierLengthPtr--;
  9. m.receiver = new SuperReference(m.sourceStart, this.endPosition);
  10. pushOnExpressionStack(m);
  11. consumeInvocationExpression();
  12. }
  13. protected void consumeMethodInvocationSuperWithTypeArguments() {

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

  1. protected void consumeMethodInvocationSuper() {
  2. // MethodInvocation ::= 'super' '.' 'Identifier' '(' ArgumentListopt ')'
  3. MessageSend m = newMessageSend();
  4. m.sourceStart = this.intStack[this.intPtr--]; // start position of the super keyword
  5. m.sourceEnd = this.rParenPos;
  6. m.nameSourcePosition = this.identifierPositionStack[this.identifierPtr];
  7. m.selector = this.identifierStack[this.identifierPtr--];
  8. this.identifierLengthPtr--;
  9. m.receiver = new SuperReference(m.sourceStart, this.endPosition);
  10. pushOnExpressionStack(m);
  11. consumeInvocationExpression();
  12. }
  13. protected void consumeMethodInvocationSuperWithTypeArguments() {

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

  1. protected void consumeMethodInvocationSuper() {
  2. // MethodInvocation ::= 'super' '.' 'Identifier' '(' ArgumentListopt ')'
  3. MessageSend m = newMessageSend();
  4. m.sourceStart = this.intStack[this.intPtr--]; // start position of the super keyword
  5. m.sourceEnd = this.rParenPos;
  6. m.nameSourcePosition = this.identifierPositionStack[this.identifierPtr];
  7. m.selector = this.identifierStack[this.identifierPtr--];
  8. this.identifierLengthPtr--;
  9. m.receiver = new SuperReference(m.sourceStart, this.endPosition);
  10. pushOnExpressionStack(m);
  11. consumeInvocationExpression();
  12. }
  13. protected void consumeMethodInvocationSuperWithTypeArguments() {

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

  1. protected void consumeMethodInvocationSuper() {
  2. // MethodInvocation ::= 'super' '.' 'Identifier' '(' ArgumentListopt ')'
  3. MessageSend m = newMessageSend();
  4. m.sourceStart = this.intStack[this.intPtr--]; // start position of the super keyword
  5. m.sourceEnd = this.rParenPos;
  6. m.nameSourcePosition = this.identifierPositionStack[this.identifierPtr];
  7. m.selector = this.identifierStack[this.identifierPtr--];
  8. this.identifierLengthPtr--;
  9. m.receiver = new SuperReference(m.sourceStart, this.endPosition);
  10. pushOnExpressionStack(m);
  11. consumeInvocationExpression();
  12. }
  13. protected void consumeMethodInvocationSuperWithTypeArguments() {

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

  1. protected void consumeMethodInvocationSuper() {
  2. // MethodInvocation ::= 'super' '.' 'Identifier' '(' ArgumentListopt ')'
  3. MessageSend m = newMessageSend();
  4. m.sourceStart = this.intStack[this.intPtr--]; // start position of the super keyword
  5. m.sourceEnd = this.rParenPos;
  6. m.nameSourcePosition = this.identifierPositionStack[this.identifierPtr];
  7. m.selector = this.identifierStack[this.identifierPtr--];
  8. this.identifierLengthPtr--;
  9. m.receiver = new SuperReference(m.sourceStart, this.endPosition);
  10. pushOnExpressionStack(m);
  11. consumeInvocationExpression();
  12. }
  13. protected void consumeMethodInvocationSuperWithTypeArguments() {

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

  1. protected void consumeMethodInvocationSuper() {
  2. // MethodInvocation ::= 'super' '.' 'Identifier' '(' ArgumentListopt ')'
  3. MessageSend m = newMessageSend();
  4. m.sourceStart = this.intStack[this.intPtr--]; // start position of the super keyword
  5. m.sourceEnd = this.rParenPos;
  6. m.nameSourcePosition = this.identifierPositionStack[this.identifierPtr];
  7. m.selector = this.identifierStack[this.identifierPtr--];
  8. this.identifierLengthPtr--;
  9. m.receiver = new SuperReference(m.sourceStart, this.endPosition);
  10. pushOnExpressionStack(m);
  11. consumeInvocationExpression();
  12. }
  13. protected void consumeMethodInvocationSuperWithTypeArguments() {

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

  1. protected void consumeMethodInvocationSuper() {
  2. // MethodInvocation ::= 'super' '.' 'Identifier' '(' ArgumentListopt ')'
  3. MessageSend m = newMessageSend();
  4. m.sourceStart = this.intStack[this.intPtr--]; // start position of the super keyword
  5. m.sourceEnd = this.rParenPos;
  6. m.nameSourcePosition = this.identifierPositionStack[this.identifierPtr];
  7. m.selector = this.identifierStack[this.identifierPtr--];
  8. this.identifierLengthPtr--;
  9. m.receiver = new SuperReference(m.sourceStart, this.endPosition);
  10. pushOnExpressionStack(m);
  11. consumeInvocationExpression();
  12. }
  13. protected void consumeMethodInvocationSuperWithTypeArguments() {

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

  1. protected void consumeMethodInvocationSuper() {
  2. // MethodInvocation ::= 'super' '.' 'Identifier' '(' ArgumentListopt ')'
  3. MessageSend m = newMessageSend();
  4. m.sourceStart = this.intStack[this.intPtr--]; // start position of the super keyword
  5. m.sourceEnd = this.rParenPos;
  6. m.nameSourcePosition = this.identifierPositionStack[this.identifierPtr];
  7. m.selector = this.identifierStack[this.identifierPtr--];
  8. this.identifierLengthPtr--;
  9. m.receiver = new SuperReference(m.sourceStart, this.endPosition);
  10. pushOnExpressionStack(m);
  11. consumeInvocationExpression();
  12. }
  13. protected void consumeMethodInvocationSuperWithTypeArguments() {

相关文章

Parser类方法