org.kohsuke.rngom.ast.builder
インタフェース GrammarSection
- 既知のサブインタフェースの一覧:
- Div, Grammar, Include, IncludedGrammar, Scope
- 既知の実装クラスの一覧:
- DivHost, GrammarHost, GrammarSectionHost, IncludeHost, ScopeHost
- public interface GrammarSection
The container that can have <define> elements.
Div
, Grammar
, Include
, or IncludedGrammar
.
COMBINE_CHOICE
public static final GrammarSection.Combine COMBINE_CHOICE
COMBINE_INTERLEAVE
public static final GrammarSection.Combine COMBINE_INTERLEAVE
START
public static final java.lang.String START
define
public void define(java.lang.String name,
GrammarSection.Combine combine,
ParsedPattern pattern,
Location loc,
Annotations anno)
throws BuildException
- 例外:
BuildException
topLevelAnnotation
public void topLevelAnnotation(ParsedElementAnnotation ea)
throws BuildException
- 例外:
BuildException
topLevelComment
public void topLevelComment(CommentList comments)
throws BuildException
- 例外:
BuildException
makeDiv
public Div makeDiv()
makeInclude
public Include makeInclude()
- Returns null if already in an include.