Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.kohsuke.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.

Method Summary
`P` | `endIncludedGrammar(L loc, A anno)`

Methods inherited from interface org.kohsuke.rngom.ast.builder.Scope
`makeParentRef, makeRef`

Method Detail

### 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`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD