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

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

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

Parser.pushOnAstLengthStack介绍

暂无

代码示例

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

  1. protected void consumeEmptyClassBodyDeclarationsopt() {
  2. // ClassBodyDeclarationsopt ::= $empty
  3. pushOnAstLengthStack(0);
  4. }
  5. protected void consumeEmptyDimsopt() {

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

  1. protected void consumeEmptySwitchBlock() {
  2. // SwitchBlock ::= '{' '}'
  3. pushOnAstLengthStack(0);
  4. }
  5. protected void consumeEmptyTypeDeclaration() {

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

  1. protected void consumeForInit() {
  2. // ForInit ::= StatementExpressionList
  3. pushOnAstLengthStack(-1);
  4. this.forStartPosition = 0;
  5. }
  6. protected void consumeFormalParameter(boolean isVarArgs) {

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

  1. protected void consumeEmptyClassBodyDeclarationsopt() {
  2. // ClassBodyDeclarationsopt ::= $empty
  3. pushOnAstLengthStack(0);
  4. }
  5. protected void consumeEmptyDimsopt() {

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

  1. protected void consumeEmptyEnumDeclarations() {
  2. // EnumBodyDeclarationsopt ::= $empty
  3. pushOnAstLengthStack(0);
  4. }
  5. protected void consumeEmptyExpression() {

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

  1. protected void consumeEmptyBlockStatementsopt() {
  2. // BlockStatementsopt ::= $empty
  3. pushOnAstLengthStack(0);
  4. }
  5. protected void consumeEmptyCatchesopt() {

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

  1. protected void consumeFormalParameterListopt() {
  2. // FormalParameterListopt ::= $empty
  3. pushOnAstLengthStack(0);
  4. }
  5. protected void consumeGenericType() {

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

  1. protected void consumeEmptyMemberValuePairsopt() {
  2. // MemberValuePairsopt ::= $empty
  3. pushOnAstLengthStack(0);
  4. }
  5. protected void consumeEmptyMethodHeaderDefaultValue() {

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

  1. protected void consumeEmptySwitchBlock() {
  2. // SwitchBlock ::= '{' '}'
  3. pushOnAstLengthStack(0);
  4. }
  5. protected void consumeEmptyTypeDeclaration() {

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

  1. protected void consumeEmptyCatchesopt() {
  2. // Catchesopt ::= $empty
  3. pushOnAstLengthStack(0);
  4. }
  5. protected void consumeEmptyClassBodyDeclarationsopt() {

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

  1. protected void consumeEmptyInterfaceMemberDeclarationsopt() {
  2. // InterfaceMemberDeclarationsopt ::= $empty
  3. pushOnAstLengthStack(0);
  4. }
  5. protected void consumeEmptyInternalCompilationUnit() {

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

  1. protected void consumeEmptyClassBodyDeclarationsopt() {
  2. // ClassBodyDeclarationsopt ::= $empty
  3. pushOnAstLengthStack(0);
  4. }
  5. protected void consumeEmptyDimsopt() {

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

  1. protected void consumeEmptyForInitopt() {
  2. // ForInitopt ::= $empty
  3. pushOnAstLengthStack(0);
  4. }
  5. protected void consumeEmptyForUpdateopt() {

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

  1. protected void consumeEmptySwitchBlock() {
  2. // SwitchBlock ::= '{' '}'
  3. pushOnAstLengthStack(0);
  4. }
  5. protected void consumeEmptyTypeDeclaration() {

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

  1. protected void consumeEmptySwitchBlock() {
  2. // SwitchBlock ::= '{' '}'
  3. pushOnAstLengthStack(0);
  4. }
  5. protected void consumeEmptyTypeDeclaration() {

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

  1. protected void consumeForInit() {
  2. // ForInit ::= StatementExpressionList
  3. pushOnAstLengthStack(-1);
  4. this.forStartPosition = 0;
  5. }
  6. protected void consumeFormalParameter(boolean isVarArgs) {

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

  1. protected void consumeEmptyInterfaceMemberDeclarationsopt() {
  2. // InterfaceMemberDeclarationsopt ::= $empty
  3. pushOnAstLengthStack(0);
  4. }
  5. protected void consumeEmptyInternalCompilationUnit() {

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

  1. protected void consumeInvalidEnumDeclaration() {
  2. // BlockStatement ::= EnumDeclaration
  3. TypeDeclaration typeDecl = (TypeDeclaration) this.astStack[this.astPtr];
  4. if(!this.statementRecoveryActivated) problemReporter().illegalLocalTypeDeclaration(typeDecl);
  5. // remove the ast node created in interface header
  6. this.astPtr--;
  7. pushOnAstLengthStack(-1);
  8. concatNodeLists();
  9. }
  10. protected void consumeInvalidInterfaceDeclaration() {

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

  1. protected void consumeInvalidEnumDeclaration() {
  2. // BlockStatement ::= EnumDeclaration
  3. TypeDeclaration typeDecl = (TypeDeclaration) this.astStack[this.astPtr];
  4. if(!this.statementRecoveryActivated) problemReporter().illegalLocalTypeDeclaration(typeDecl);
  5. // remove the ast node created in interface header
  6. this.astPtr--;
  7. pushOnAstLengthStack(-1);
  8. concatNodeLists();
  9. }
  10. protected void consumeInvalidInterfaceDeclaration() {

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

  1. protected void consumeInvalidInterfaceDeclaration() {
  2. // BlockStatement ::= InvalidInterfaceDeclaration
  3. //InterfaceDeclaration ::= Modifiersopt 'interface' 'Identifier' ExtendsInterfacesopt InterfaceHeader InterfaceBody
  4. TypeDeclaration typeDecl = (TypeDeclaration) this.astStack[this.astPtr];
  5. if(!this.statementRecoveryActivated) problemReporter().illegalLocalTypeDeclaration(typeDecl);
  6. // remove the ast node created in interface header
  7. this.astPtr--;
  8. pushOnAstLengthStack(-1);
  9. concatNodeLists();
  10. }
  11. protected void consumeInterfaceMethodDeclaration(boolean hasSemicolonBody) {

相关文章

Parser类方法