1 // Generated from XMLParser.g4 by ANTLR 4.5.3 2 package android.databinding.parser; 3 import org.antlr.v4.runtime.tree.ParseTreeVisitor; 4 5 /** 6 * This interface defines a complete generic visitor for a parse tree produced 7 * by {@link XMLParser}. 8 * 9 * @param <T> The return type of the visit operation. Use {@link Void} for 10 * operations with no return type. 11 */ 12 public interface XMLParserVisitor<T> extends ParseTreeVisitor<T> { 13 /** 14 * Visit a parse tree produced by {@link XMLParser#document}. 15 * @param ctx the parse tree 16 * @return the visitor result 17 */ 18 T visitDocument(XMLParser.DocumentContext ctx); 19 /** 20 * Visit a parse tree produced by {@link XMLParser#prolog}. 21 * @param ctx the parse tree 22 * @return the visitor result 23 */ 24 T visitProlog(XMLParser.PrologContext ctx); 25 /** 26 * Visit a parse tree produced by {@link XMLParser#content}. 27 * @param ctx the parse tree 28 * @return the visitor result 29 */ 30 T visitContent(XMLParser.ContentContext ctx); 31 /** 32 * Visit a parse tree produced by {@link XMLParser#element}. 33 * @param ctx the parse tree 34 * @return the visitor result 35 */ 36 T visitElement(XMLParser.ElementContext ctx); 37 /** 38 * Visit a parse tree produced by {@link XMLParser#reference}. 39 * @param ctx the parse tree 40 * @return the visitor result 41 */ 42 T visitReference(XMLParser.ReferenceContext ctx); 43 /** 44 * Visit a parse tree produced by {@link XMLParser#attribute}. 45 * @param ctx the parse tree 46 * @return the visitor result 47 */ 48 T visitAttribute(XMLParser.AttributeContext ctx); 49 /** 50 * Visit a parse tree produced by {@link XMLParser#chardata}. 51 * @param ctx the parse tree 52 * @return the visitor result 53 */ 54 T visitChardata(XMLParser.ChardataContext ctx); 55 /** 56 * Visit a parse tree produced by {@link XMLParser#misc}. 57 * @param ctx the parse tree 58 * @return the visitor result 59 */ 60 T visitMisc(XMLParser.MiscContext ctx); 61 }