本文整理汇总了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);
}
}
示例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);
}
}