当前位置: 首页>>代码示例>>Java>>正文


Java GrammarSection.topLevelAnnotation方法代码示例

本文整理汇总了Java中com.sun.xml.internal.rngom.ast.builder.GrammarSection.topLevelAnnotation方法的典型用法代码示例。如果您正苦于以下问题:Java GrammarSection.topLevelAnnotation方法的具体用法?Java GrammarSection.topLevelAnnotation怎么用?Java GrammarSection.topLevelAnnotation使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在com.sun.xml.internal.rngom.ast.builder.GrammarSection的用法示例。


在下文中一共展示了GrammarSection.topLevelAnnotation方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: GrammarComponent

import com.sun.xml.internal.rngom.ast.builder.GrammarSection; //导入方法依赖的package包/类
final public void GrammarComponent(GrammarSection section, Scope scope) throws ParseException {
ParsedElementAnnotation e;
Annotations a;
  a = Annotations();
  switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
  case 5:
  case IDENTIFIER:
  case ESCAPED_IDENTIFIER:
    Definition(section, scope, a);
    break;
  case 7:
    Include(section, scope, a);
    break;
  case 6:
    Div(section, scope, a);
    break;
  default:
    jj_la1[38] = jj_gen;
    jj_consume_token(-1);
    throw new ParseException();
  }
  label_14:
  while (true) {
    if (jj_2_4(2)) {
      ;
    } else {
      break label_14;
    }
    e = AnnotationElementNotKeyword();
                                                  section.topLevelAnnotation(e);
  }
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:33,代码来源:CompactSyntax.java

示例2: IncludeComponent

import com.sun.xml.internal.rngom.ast.builder.GrammarSection; //导入方法依赖的package包/类
final public void IncludeComponent(GrammarSection section, Scope scope) throws ParseException {
ParsedElementAnnotation e;
Annotations a;
  a = Annotations();
  switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
  case 5:
  case IDENTIFIER:
  case ESCAPED_IDENTIFIER:
    Definition(section, scope, a);
    break;
  case 6:
    IncludeDiv(section, scope, a);
    break;
  default:
    jj_la1[43] = jj_gen;
    jj_consume_token(-1);
    throw new ParseException();
  }
  label_17:
  while (true) {
    if (jj_2_6(2)) {
      ;
    } else {
      break label_17;
    }
    e = AnnotationElementNotKeyword();
                                                  section.topLevelAnnotation(e);
  }
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:30,代码来源:CompactSyntax.java


注:本文中的com.sun.xml.internal.rngom.ast.builder.GrammarSection.topLevelAnnotation方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。