|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.kohsuke.rngom.parse.host.Base
org.kohsuke.rngom.parse.host.GrammarSectionHost
public class GrammarSectionHost
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.kohsuke.rngom.ast.builder.GrammarSection |
|---|
GrammarSection.Combine |
| Field Summary |
|---|
| Fields inherited from interface org.kohsuke.rngom.ast.builder.GrammarSection |
|---|
COMBINE_CHOICE, COMBINE_INTERLEAVE, START |
| Method Summary | |
|---|---|
void |
define(java.lang.String name,
GrammarSection.Combine combine,
ParsedPattern _pattern,
Location _loc,
Annotations _anno)
Called when a pattern is defined. |
Div |
makeDiv()
Called when <div> is found. |
Include |
makeInclude()
Returns null if already in an include. |
void |
topLevelAnnotation(ParsedElementAnnotation _ea)
Called when an annotation is found. |
void |
topLevelComment(CommentList _comments)
Called when a comment is found. |
| Methods inherited from class org.kohsuke.rngom.parse.host.Base |
|---|
cast, cast |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void define(java.lang.String name,
GrammarSection.Combine combine,
ParsedPattern _pattern,
Location _loc,
Annotations _anno)
throws BuildException
GrammarSection
define in interface GrammarSectionname - Name of the pattern. For the definition by a <start/> element,
this parameter is the same as GrammarSection.START.
to test if it's a named pattern definition or the start pattern definition.combine - null or GrammarSection.COMBINE_CHOICE or GrammarSection.COMBINE_INTERLEAVE depending
on the value of the combine attribute._pattern - The pattern to be defined.
BuildExceptionpublic Div makeDiv()
GrammarSection
makeDiv in interface GrammarSectionDiv object will receive callbacks for structures
inside the <div> element.public Include makeInclude()
GrammarSection
makeInclude in interface GrammarSection
public void topLevelAnnotation(ParsedElementAnnotation _ea)
throws BuildException
GrammarSection
topLevelAnnotation in interface GrammarSectionBuildException
public void topLevelComment(CommentList _comments)
throws BuildException
GrammarSection
topLevelComment in interface GrammarSectionBuildException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||