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