Package com.sun.tools.rngom.ast.builder
Interface IncludedGrammar<P extends ParsedPattern,E extends ParsedElementAnnotation,L extends Location,A extends Annotations<E,L,CL>,CL extends CommentList<L>>
- All Superinterfaces:
GrammarSection<P,,E, L, A, CL> Scope<P,E, L, A, CL>
public interface IncludedGrammar<P extends ParsedPattern,E extends ParsedElementAnnotation,L extends Location,A extends Annotations<E,L,CL>,CL extends CommentList<L>>
extends GrammarSection<P,E,L,A,CL>, Scope<P,E,L,A,CL>
Scope for <grammar> element of the <include>d grammar.
This object builds <define>s in the included grammar that
override the definitions in the original grammar.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.sun.tools.rngom.ast.builder.GrammarSection
GrammarSection.Combine -
Field Summary
Fields inherited from interface com.sun.tools.rngom.ast.builder.GrammarSection
COMBINE_CHOICE, COMBINE_INTERLEAVE, START -
Method Summary
Methods inherited from interface com.sun.tools.rngom.ast.builder.GrammarSection
define, makeDiv, makeInclude, topLevelAnnotation, topLevelCommentMethods inherited from interface com.sun.tools.rngom.ast.builder.Scope
makeParentRef, makeRef
-
Method Details
-
endIncludedGrammar
- Returns:
- technically, an included gramamr does not produce a pattern,
but this allows
Parseable.parseInclude(String, SchemaBuilder, IncludedGrammar, String)to return the result fromIncludedGrammarnicely.The value returned from this method will be returned from the abovementioned method.
- Throws:
BuildException
-