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.
GrammarSection.Combine
COMBINE_CHOICE, COMBINE_INTERLEAVE, START
Modifier and Type | Method and Description |
---|---|
P |
endIncludedGrammar(L loc,
A anno) |
makeParentRef, makeRef
define, makeDiv, makeInclude, topLevelAnnotation, topLevelComment
P endIncludedGrammar(L loc, A anno) throws BuildException
Parseable.parseInclude(String, SchemaBuilder, IncludedGrammar, String)
to return the result from IncludedGrammar
nicely.
The value returned from this method will be returned from the abovementioned method.
BuildException
Copyright © 2019 JBoss by Red Hat. All rights reserved.