| org.kohsuke.rngom.ast.builder.GrammarSection
All known Subclasses: org.kohsuke.rngom.parse.host.GrammarSectionHost,
Inner Class :final static class Combine | |
Method Summary | |
void | define(String name, Combine combine, P pattern, L loc, A anno) Called when a pattern is defined.
Parameters: name - Name of the pattern. | Div<P, E, L, A, CL> | makeDiv() Called when <div> is found. | Include<P, E, L, A, CL> | makeInclude() Returns null if already in an include. | void | topLevelAnnotation(E ea) Called when an annotation is found. | void | topLevelComment(CL comments) Called when a comment is found. |
COMBINE_CHOICE | final static Combine COMBINE_CHOICE(Code) | | |
COMBINE_INTERLEAVE | final static Combine COMBINE_INTERLEAVE(Code) | | |
makeDiv | Div<P, E, L, A, CL> makeDiv()(Code) | | Called when <div> is found.
the returned Div object will receive callbacks for structuresinside the <div> element. |
makeInclude | Include<P, E, L, A, CL> makeInclude()(Code) | | Returns null if already in an include.
|
topLevelAnnotation | void topLevelAnnotation(E ea) throws BuildException(Code) | | Called when an annotation is found.
|
topLevelComment | void topLevelComment(CL comments) throws BuildException(Code) | | Called when a comment is found.
|
|
|