|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.antlr.v4.runtime.tree.AbstractParseTreeVisitor<Result>
android.databinding.parser.XMLParserBaseVisitor<Result>
Result
- The return type of the visit operation. Use Void
for
operations with no return type.public class XMLParserBaseVisitor<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 |
---|
public XMLParserBaseVisitor()
Method Detail |
---|
public Result visitContent(@NotNull XMLParser.ContentContext ctx)
XMLParser.content()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitContent
in interface XMLParserVisitor<Result>
ctx
- the parse tree
public Result visitElement(@NotNull XMLParser.ElementContext ctx)
XMLParser.element()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitElement
in interface XMLParserVisitor<Result>
ctx
- the parse tree
public Result visitProlog(@NotNull XMLParser.PrologContext ctx)
XMLParser.prolog()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitProlog
in interface XMLParserVisitor<Result>
ctx
- the parse tree
public Result visitDocument(@NotNull XMLParser.DocumentContext ctx)
XMLParser.document()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitDocument
in interface XMLParserVisitor<Result>
ctx
- the parse tree
public Result visitAttribute(@NotNull XMLParser.AttributeContext ctx)
XMLParser.attribute()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitAttribute
in interface XMLParserVisitor<Result>
ctx
- the parse tree
public Result visitChardata(@NotNull XMLParser.ChardataContext ctx)
XMLParser.chardata()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitChardata
in interface XMLParserVisitor<Result>
ctx
- the parse tree
public Result visitReference(@NotNull XMLParser.ReferenceContext ctx)
XMLParser.reference()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitReference
in interface XMLParserVisitor<Result>
ctx
- the parse tree
public Result visitMisc(@NotNull XMLParser.MiscContext ctx)
XMLParser.misc()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitMisc
in interface XMLParserVisitor<Result>
ctx
- the parse tree
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |