- 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.
endIncludedGrammar
P endIncludedGrammar(L loc,
A anno)
throws BuildException
- Returns:
- technically, an included gramamr does not produce a pattern,
but this allows
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.
- Throws:
BuildException
Copyright © 2011. All Rights Reserved.