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

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

本文整理了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

protected void consumeEmptyClassBodyDeclarationsopt() {
  // ClassBodyDeclarationsopt ::= $empty
  pushOnAstLengthStack(0);
}
protected void consumeEmptyDimsopt() {

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

protected void consumeEmptySwitchBlock() {
  // SwitchBlock ::= '{' '}'
  pushOnAstLengthStack(0);
}
protected void consumeEmptyTypeDeclaration() {

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

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

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

protected void consumeEmptyClassBodyDeclarationsopt() {
  // ClassBodyDeclarationsopt ::= $empty
  pushOnAstLengthStack(0);
}
protected void consumeEmptyDimsopt() {

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

protected void consumeEmptyEnumDeclarations() {
  // EnumBodyDeclarationsopt ::= $empty
  pushOnAstLengthStack(0);
}
protected void consumeEmptyExpression() {

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

protected void consumeEmptyBlockStatementsopt() {
  // BlockStatementsopt ::= $empty
  pushOnAstLengthStack(0);
}
protected void consumeEmptyCatchesopt() {

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

protected void consumeFormalParameterListopt() {
  // FormalParameterListopt ::= $empty
  pushOnAstLengthStack(0);
}
protected void consumeGenericType() {

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

protected void consumeEmptyMemberValuePairsopt() {
  // MemberValuePairsopt ::= $empty
  pushOnAstLengthStack(0);
}
protected void consumeEmptyMethodHeaderDefaultValue() {

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

protected void consumeEmptySwitchBlock() {
  // SwitchBlock ::= '{' '}'
  pushOnAstLengthStack(0);
}
protected void consumeEmptyTypeDeclaration() {

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

protected void consumeEmptyCatchesopt() {
  // Catchesopt ::= $empty
  pushOnAstLengthStack(0);
}
protected void consumeEmptyClassBodyDeclarationsopt() {

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

protected void consumeEmptyInterfaceMemberDeclarationsopt() {
  // InterfaceMemberDeclarationsopt ::= $empty
  pushOnAstLengthStack(0);
}
protected void consumeEmptyInternalCompilationUnit() {

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

protected void consumeEmptyClassBodyDeclarationsopt() {
  // ClassBodyDeclarationsopt ::= $empty
  pushOnAstLengthStack(0);
}
protected void consumeEmptyDimsopt() {

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

protected void consumeEmptyForInitopt() {
  // ForInitopt ::= $empty
  pushOnAstLengthStack(0);
}
protected void consumeEmptyForUpdateopt() {

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

protected void consumeEmptySwitchBlock() {
  // SwitchBlock ::= '{' '}'
  pushOnAstLengthStack(0);
}
protected void consumeEmptyTypeDeclaration() {

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

protected void consumeEmptySwitchBlock() {
  // SwitchBlock ::= '{' '}'
  pushOnAstLengthStack(0);
}
protected void consumeEmptyTypeDeclaration() {

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

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

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

protected void consumeEmptyInterfaceMemberDeclarationsopt() {
  // InterfaceMemberDeclarationsopt ::= $empty
  pushOnAstLengthStack(0);
}
protected void consumeEmptyInternalCompilationUnit() {

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

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

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

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

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

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

相关文章

微信公众号

最新文章

更多

Parser类方法