| Modifier and Type | Field and Description |
|---|---|
| private List | additionalElementAnnotations
Additional top-level element annotations. |
| protected final DGrammarPattern | |
| protected final Scope | |
| protected final DSchemaBuilderImpl |
| Access | Constructor and Description |
|---|---|
| public | GrammarBuilderImpl(DGrammarPattern p, Scope<P extends ParsedPattern, E extends ParsedElementAnnotation, L extends Location, A extends Annotations<E, L, CL>, CL extends CommentList<L>> parent, DSchemaBuilderImpl sb)
|
| additionalElementAnnotations | back to summary |
|---|---|
| private List<Element> additionalElementAnnotations Additional top-level element annotations. Can be null. | |
| grammar | back to summary |
|---|---|
| protected final DGrammarPattern grammar | |
| parent | back to summary |
|---|---|
| protected final Scope<P extends ParsedPattern, E extends ParsedElementAnnotation, L extends Location, A extends Annotations<E, L, CL>, CL extends CommentList<L>> parent | |
| sb | back to summary |
|---|---|
| protected final DSchemaBuilderImpl sb | |
| GrammarBuilderImpl | back to summary |
|---|---|
| public GrammarBuilderImpl(DGrammarPattern p, Scope<P extends ParsedPattern, E extends ParsedElementAnnotation, L extends Location, A extends Annotations<E, L, CL>, CL extends CommentList<L>> parent, DSchemaBuilderImpl sb) | |
| define | back to summary |
|---|---|
| public void define(String name, GrammarSection. Implements com. Doc from com. Called when a pattern is defined. | |
| endDiv | back to summary |
|---|---|
| public void endDiv(Location loc, Annotations<E extends ParsedElementAnnotation, L extends Location, CL extends CommentList<L>> anno) throws BuildException Implements com. | |
| endGrammar | back to summary |
|---|---|
| public ParsedPattern endGrammar(Location loc, Annotations<E extends ParsedElementAnnotation, L extends Location, CL extends CommentList<L>> anno) throws BuildException Implements com. | |
| makeDiv | back to summary |
|---|---|
| public Div Implements com. Doc from com. Called when | |
| makeInclude | back to summary |
|---|---|
| public Include Implements com. Doc from com. Returns null if already in an include. | |
| makeParentRef | back to summary |
|---|---|
| public ParsedPattern makeParentRef(String name, Location loc, Annotations<E extends ParsedElementAnnotation, L extends Location, CL extends CommentList<L>> anno) throws BuildException Implements com. | |
| makeRef | back to summary |
|---|---|
| public ParsedPattern makeRef(String name, Location loc, Annotations<E extends ParsedElementAnnotation, L extends Location, CL extends CommentList<L>> anno) throws BuildException Implements com. | |
| topLevelAnnotation | back to summary |
|---|---|
| public void topLevelAnnotation(ParsedElementAnnotation ea) throws BuildException Implements com. Doc from com. Called when an annotation is found. | |
| topLevelComment | back to summary |
|---|---|
| public void topLevelComment(CommentList<L extends Location> comments) throws BuildException Implements com. Doc from com. Called when a comment is found. | |