1// Generated from XMLParser.g4 by ANTLR 4.4 2package android.databinding.parser; 3import org.antlr.v4.runtime.Token; 4import org.antlr.v4.runtime.misc.NotNull; 5import org.antlr.v4.runtime.tree.AbstractParseTreeVisitor; 6 7/** 8 * This class provides an empty implementation of {@link XMLParserVisitor}, 9 * which can be extended to create a visitor which only needs to handle a subset 10 * of the available methods. 11 * 12 * @paramThe return type of the visit operation. Use {@link Void} for 13 * operations with no return type. 14 */ 15public class XMLParserBaseVisitor<Result> extends AbstractParseTreeVisitor<Result> implements XMLParserVisitor<Result> { 16 /** 17 * {@inheritDoc} 18 * 19 * <p>The default implementation returns the result of calling 20 * {@link #visitChildren} on {@code ctx}.</p> 21 */ 22 @Override public Result visitContent(@NotNull XMLParser.ContentContext ctx) { return visitChildren(ctx); } 23 24 /** 25 * {@inheritDoc} 26 * 27 * <p>The default implementation returns the result of calling 28 * {@link #visitChildren} on {@code ctx}.</p> 29 */ 30 @Override public Result visitElement(@NotNull XMLParser.ElementContext ctx) { return visitChildren(ctx); } 31 32 /** 33 * {@inheritDoc} 34 * 35 * <p>The default implementation returns the result of calling 36 * {@link #visitChildren} on {@code ctx}.</p> 37 */ 38 @Override public Result visitProlog(@NotNull XMLParser.PrologContext ctx) { return visitChildren(ctx); } 39 40 /** 41 * {@inheritDoc} 42 * 43 * <p>The default implementation returns the result of calling 44 * {@link #visitChildren} on {@code ctx}.</p> 45 */ 46 @Override public Result visitDocument(@NotNull XMLParser.DocumentContext ctx) { return visitChildren(ctx); } 47 48 /** 49 * {@inheritDoc} 50 * 51 * <p>The default implementation returns the result of calling 52 * {@link #visitChildren} on {@code ctx}.</p> 53 */ 54 @Override public Result visitAttribute(@NotNull XMLParser.AttributeContext ctx) { return visitChildren(ctx); } 55 56 /** 57 * {@inheritDoc} 58 * 59 * <p>The default implementation returns the result of calling 60 * {@link #visitChildren} on {@code ctx}.</p> 61 */ 62 @Override public Result visitChardata(@NotNull XMLParser.ChardataContext ctx) { return visitChildren(ctx); } 63 64 /** 65 * {@inheritDoc} 66 * 67 * <p>The default implementation returns the result of calling 68 * {@link #visitChildren} on {@code ctx}.</p> 69 */ 70 @Override public Result visitReference(@NotNull XMLParser.ReferenceContext ctx) { return visitChildren(ctx); } 71 72 /** 73 * {@inheritDoc} 74 * 75 * <p>The default implementation returns the result of calling 76 * {@link #visitChildren} on {@code ctx}.</p> 77 */ 78 @Override public Result visitMisc(@NotNull XMLParser.MiscContext ctx) { return visitChildren(ctx); } 79}