public class GrammarSectionHost extends Base implements GrammarSection
GrammarSection.CombineCOMBINE_CHOICE, COMBINE_INTERLEAVE, START| Modifier and Type | Method and Description |
|---|---|
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.
|
public void define(java.lang.String name,
GrammarSection.Combine combine,
ParsedPattern _pattern,
Location _loc,
Annotations _anno)
throws BuildException
GrammarSectiondefine 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()
GrammarSectionmakeDiv in interface GrammarSectionDiv object will receive callbacks for structures
inside the <div> element.public Include makeInclude()
GrammarSectionmakeInclude in interface GrammarSectionpublic void topLevelAnnotation(ParsedElementAnnotation _ea) throws BuildException
GrammarSectiontopLevelAnnotation in interface GrammarSectionBuildExceptionpublic void topLevelComment(CommentList _comments) throws BuildException
GrammarSectiontopLevelComment in interface GrammarSectionBuildExceptionCopyright © 2010 - 2023 Adobe. All Rights Reserved