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

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

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

Parser.concatNodeLists介绍

暂无

代码示例

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

protected void consumeMemberValuePairs() {
  // MemberValuePairs ::= MemberValuePairs ',' MemberValuePair
  concatNodeLists();
}
protected void consumeMemberValues() {

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

protected void consumeClassBodyDeclarations() {
  // ClassBodyDeclarations ::= ClassBodyDeclarations ClassBodyDeclaration
  concatNodeLists();
}
protected void consumeClassBodyDeclarationsopt() {

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

protected void consumeInterfaceMemberDeclarations() {
  // InterfaceMemberDeclarations ::= InterfaceMemberDeclarations InterfaceMemberDeclaration
  concatNodeLists();
}
protected void consumeInterfaceMemberDeclarationsopt() {

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

protected void consumeConstructorBlockStatements() {
  // ConstructorBody ::= NestedMethod '{' ExplicitConstructorInvocation BlockStatements '}'
  concatNodeLists(); // explictly add the first statement into the list of statements
}
protected void consumeConstructorBody() {

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

protected void consumeInterfaceMemberDeclarations() {
  // InterfaceMemberDeclarations ::= InterfaceMemberDeclarations InterfaceMemberDeclaration
  concatNodeLists();
}
protected void consumeInterfaceMemberDeclarationsopt() {

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

protected void consumeMultipleResources() {
  // Resources ::= Resources ';' Resource
  concatNodeLists();
}
protected void consumeTypeAnnotation() {

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

protected void consumeSwitchBlock() {
  // SwitchBlock ::= '{' SwitchBlockStatements SwitchLabels '}'
  concatNodeLists();
}
protected void consumeSwitchBlockStatement() {

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

protected void consumeTypeDeclarations() {
  // TypeDeclarations ::= TypeDeclarations TypeDeclaration
  concatNodeLists();
}
protected void consumeTypeHeaderNameWithTypeParameters() {

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

protected void consumeTypeDeclarations() {
  // TypeDeclarations ::= TypeDeclarations TypeDeclaration
  concatNodeLists();
}
protected void consumeTypeHeaderNameWithTypeParameters() {

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

protected void consumeSwitchBlockStatement() {
  // SwitchBlockStatement ::= SwitchLabels BlockStatements
  concatNodeLists();
}
protected void consumeSwitchBlockStatements() {

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

protected void consumeSwitchBlockStatements() {
  // SwitchBlockStatements ::= SwitchBlockStatements SwitchBlockStatement
  concatNodeLists();
}
protected void consumeSwitchLabels() {

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

protected void consumeAnnotationTypeMemberDeclarations() {
  // AnnotationTypeMemberDeclarations ::= AnnotationTypeMemberDeclarations AnnotationTypeMemberDeclaration
  concatNodeLists();
}
protected void consumeAnnotationTypeMemberDeclarationsopt() {

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

protected void consumeTypeDeclarations() {
  // TypeDeclarations ::= TypeDeclarations TypeDeclaration
  concatNodeLists();
}
protected void consumeTypeHeaderNameWithTypeParameters() {

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

protected void consumeInvalidAnnotationTypeDeclaration() {
  // BlockStatement ::= AnnotationTypeDeclaration
  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 consumeInvalidConstructorDeclaration() {

代码示例来源: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.jetty.orbit/org.eclipse.jdt.core

protected void consumeInvalidAnnotationTypeDeclaration() {
  // BlockStatement ::= AnnotationTypeDeclaration
  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 consumeInvalidConstructorDeclaration() {

代码示例来源:origin: org.eclipse.jetty.orbit/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: com.google.code.maven-play-plugin.org.eclipse.jdt/org.eclipse.jdt.core

protected void consumeInvalidAnnotationTypeDeclaration() {
  // BlockStatement ::= AnnotationTypeDeclaration
  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 consumeInvalidConstructorDeclaration() {

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

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) {

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

protected void consumeInvalidAnnotationTypeDeclaration() {
  // BlockStatement ::= AnnotationTypeDeclaration
  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 consumeInvalidConstructorDeclaration() {

相关文章

微信公众号

最新文章

更多

Parser类方法