android.databinding.parser
Class XMLParserBaseVisitor<Result>

java.lang.Object
  extended by org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<Result>
      extended by android.databinding.parser.XMLParserBaseVisitor<Result>
Type Parameters:
Result - The return type of the visit operation. Use Void for operations with no return type.
All Implemented Interfaces:
XMLParserVisitor<Result>, org.antlr.v4.runtime.tree.ParseTreeVisitor<Result>

public class XMLParserBaseVisitor<Result>
extends org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<Result>
implements XMLParserVisitor<Result>

This class provides an empty implementation of XMLParserVisitor, which can be extended to create a visitor which only needs to handle a subset of the available methods.


Constructor Summary
XMLParserBaseVisitor()
           
 
Method Summary
 Result visitAttribute(XMLParser.AttributeContext ctx)
          Visit a parse tree produced by XMLParser.attribute().
 Result visitChardata(XMLParser.ChardataContext ctx)
          Visit a parse tree produced by XMLParser.chardata().
 Result visitContent(XMLParser.ContentContext ctx)
          Visit a parse tree produced by XMLParser.content().
 Result visitDocument(XMLParser.DocumentContext ctx)
          Visit a parse tree produced by XMLParser.document().
 Result visitElement(XMLParser.ElementContext ctx)
          Visit a parse tree produced by XMLParser.element().
 Result visitMisc(XMLParser.MiscContext ctx)
          Visit a parse tree produced by XMLParser.misc().
 Result visitProlog(XMLParser.PrologContext ctx)
          Visit a parse tree produced by XMLParser.prolog().
 Result visitReference(XMLParser.ReferenceContext ctx)
          Visit a parse tree produced by XMLParser.reference().
 
Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.antlr.v4.runtime.tree.ParseTreeVisitor
visit, visitChildren, visitErrorNode, visitTerminal
 

Constructor Detail

XMLParserBaseVisitor

public XMLParserBaseVisitor()
Method Detail

visitContent

public Result visitContent(@NotNull
                           XMLParser.ContentContext ctx)
Visit a parse tree produced by XMLParser.content().

The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

Specified by:
visitContent in interface XMLParserVisitor<Result>
Parameters:
ctx - the parse tree
Returns:
the visitor result

visitElement

public Result visitElement(@NotNull
                           XMLParser.ElementContext ctx)
Visit a parse tree produced by XMLParser.element().

The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

Specified by:
visitElement in interface XMLParserVisitor<Result>
Parameters:
ctx - the parse tree
Returns:
the visitor result

visitProlog

public Result visitProlog(@NotNull
                          XMLParser.PrologContext ctx)
Visit a parse tree produced by XMLParser.prolog().

The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

Specified by:
visitProlog in interface XMLParserVisitor<Result>
Parameters:
ctx - the parse tree
Returns:
the visitor result

visitDocument

public Result visitDocument(@NotNull
                            XMLParser.DocumentContext ctx)
Visit a parse tree produced by XMLParser.document().

The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

Specified by:
visitDocument in interface XMLParserVisitor<Result>
Parameters:
ctx - the parse tree
Returns:
the visitor result

visitAttribute

public Result visitAttribute(@NotNull
                             XMLParser.AttributeContext ctx)
Visit a parse tree produced by XMLParser.attribute().

The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

Specified by:
visitAttribute in interface XMLParserVisitor<Result>
Parameters:
ctx - the parse tree
Returns:
the visitor result

visitChardata

public Result visitChardata(@NotNull
                            XMLParser.ChardataContext ctx)
Visit a parse tree produced by XMLParser.chardata().

The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

Specified by:
visitChardata in interface XMLParserVisitor<Result>
Parameters:
ctx - the parse tree
Returns:
the visitor result

visitReference

public Result visitReference(@NotNull
                             XMLParser.ReferenceContext ctx)
Visit a parse tree produced by XMLParser.reference().

The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

Specified by:
visitReference in interface XMLParserVisitor<Result>
Parameters:
ctx - the parse tree
Returns:
the visitor result

visitMisc

public Result visitMisc(@NotNull
                        XMLParser.MiscContext ctx)
Visit a parse tree produced by XMLParser.misc().

The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

Specified by:
visitMisc in interface XMLParserVisitor<Result>
Parameters:
ctx - the parse tree
Returns:
the visitor result