abstract class GrammarSectionImpl extends java.lang.Object implements org.kohsuke.rngom.ast.builder.GrammarSection<Leaf,org.kohsuke.rngom.ast.om.ParsedElementAnnotation,org.kohsuke.rngom.ast.util.LocatorImpl,AnnotationsImpl,CommentListImpl>
Modifier and Type | Field and Description |
---|---|
protected Grammar |
grammar |
protected org.kohsuke.rngom.ast.builder.Scope<Leaf,org.kohsuke.rngom.ast.om.ParsedElementAnnotation,org.kohsuke.rngom.ast.util.LocatorImpl,AnnotationsImpl,CommentListImpl> |
parent |
Constructor and Description |
---|
GrammarSectionImpl(org.kohsuke.rngom.ast.builder.Scope<Leaf,org.kohsuke.rngom.ast.om.ParsedElementAnnotation,org.kohsuke.rngom.ast.util.LocatorImpl,AnnotationsImpl,CommentListImpl> scope,
Grammar grammar) |
Modifier and Type | Method and Description |
---|---|
void |
define(java.lang.String name,
org.kohsuke.rngom.ast.builder.GrammarSection.Combine combine,
Leaf leaf,
org.kohsuke.rngom.ast.util.LocatorImpl locator,
AnnotationsImpl annotations) |
org.kohsuke.rngom.ast.builder.Div<Leaf,org.kohsuke.rngom.ast.om.ParsedElementAnnotation,org.kohsuke.rngom.ast.util.LocatorImpl,AnnotationsImpl,CommentListImpl> |
makeDiv() |
org.kohsuke.rngom.ast.builder.Include<Leaf,org.kohsuke.rngom.ast.om.ParsedElementAnnotation,org.kohsuke.rngom.ast.util.LocatorImpl,AnnotationsImpl,CommentListImpl> |
makeInclude() |
void |
topLevelAnnotation(org.kohsuke.rngom.ast.om.ParsedElementAnnotation parsedElementAnnotation) |
void |
topLevelComment(CommentListImpl commentList) |
protected final org.kohsuke.rngom.ast.builder.Scope<Leaf,org.kohsuke.rngom.ast.om.ParsedElementAnnotation,org.kohsuke.rngom.ast.util.LocatorImpl,AnnotationsImpl,CommentListImpl> parent
protected final Grammar grammar
GrammarSectionImpl(org.kohsuke.rngom.ast.builder.Scope<Leaf,org.kohsuke.rngom.ast.om.ParsedElementAnnotation,org.kohsuke.rngom.ast.util.LocatorImpl,AnnotationsImpl,CommentListImpl> scope, Grammar grammar)
public void topLevelAnnotation(org.kohsuke.rngom.ast.om.ParsedElementAnnotation parsedElementAnnotation) throws org.kohsuke.rngom.ast.builder.BuildException
topLevelAnnotation
in interface org.kohsuke.rngom.ast.builder.GrammarSection<Leaf,org.kohsuke.rngom.ast.om.ParsedElementAnnotation,org.kohsuke.rngom.ast.util.LocatorImpl,AnnotationsImpl,CommentListImpl>
org.kohsuke.rngom.ast.builder.BuildException
public void topLevelComment(CommentListImpl commentList) throws org.kohsuke.rngom.ast.builder.BuildException
topLevelComment
in interface org.kohsuke.rngom.ast.builder.GrammarSection<Leaf,org.kohsuke.rngom.ast.om.ParsedElementAnnotation,org.kohsuke.rngom.ast.util.LocatorImpl,AnnotationsImpl,CommentListImpl>
org.kohsuke.rngom.ast.builder.BuildException
public org.kohsuke.rngom.ast.builder.Div<Leaf,org.kohsuke.rngom.ast.om.ParsedElementAnnotation,org.kohsuke.rngom.ast.util.LocatorImpl,AnnotationsImpl,CommentListImpl> makeDiv()
makeDiv
in interface org.kohsuke.rngom.ast.builder.GrammarSection<Leaf,org.kohsuke.rngom.ast.om.ParsedElementAnnotation,org.kohsuke.rngom.ast.util.LocatorImpl,AnnotationsImpl,CommentListImpl>
public org.kohsuke.rngom.ast.builder.Include<Leaf,org.kohsuke.rngom.ast.om.ParsedElementAnnotation,org.kohsuke.rngom.ast.util.LocatorImpl,AnnotationsImpl,CommentListImpl> makeInclude()
makeInclude
in interface org.kohsuke.rngom.ast.builder.GrammarSection<Leaf,org.kohsuke.rngom.ast.om.ParsedElementAnnotation,org.kohsuke.rngom.ast.util.LocatorImpl,AnnotationsImpl,CommentListImpl>
public void define(java.lang.String name, org.kohsuke.rngom.ast.builder.GrammarSection.Combine combine, Leaf leaf, org.kohsuke.rngom.ast.util.LocatorImpl locator, AnnotationsImpl annotations) throws org.kohsuke.rngom.ast.builder.BuildException
define
in interface org.kohsuke.rngom.ast.builder.GrammarSection<Leaf,org.kohsuke.rngom.ast.om.ParsedElementAnnotation,org.kohsuke.rngom.ast.util.LocatorImpl,AnnotationsImpl,CommentListImpl>
org.kohsuke.rngom.ast.builder.BuildException