01: package org.kohsuke.rngom.ast.builder;
02:
03: import org.kohsuke.rngom.ast.om.Location;
04: import org.kohsuke.rngom.ast.om.ParsedElementAnnotation;
05: import org.kohsuke.rngom.ast.om.ParsedPattern;
06: import org.kohsuke.rngom.parse.*;
07:
08: public interface DataPatternBuilder<P extends ParsedPattern, E extends ParsedElementAnnotation, L extends Location, A extends Annotations<E, L, CL>, CL extends CommentList<L>> {
09:
10: void addParam(String name, String value, Context context,
11: String ns, L loc, A anno) throws BuildException;
12:
13: void annotation(E ea);
14:
15: P makePattern(L loc, A anno) throws BuildException;
16:
17: P makePattern(P except, L loc, A anno) throws BuildException;
18: }
|