Class SmaliBaseVisitor<T>
- Type Parameters:
T- The return type of the visit operation. UseVoidfor operations with no return type.
- All Implemented Interfaces:
SmaliVisitor<T>,org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
SmaliVisitor,
which can be extended to create a visitor which only needs to handle a subset
of the available methods.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionVisit a parse tree produced bySmaliParser.call_site().Visit a parse tree produced bySmaliParser.f0t().Visit a parse tree produced bySmaliParser.f0x().Visit a parse tree produced bySmaliParser.f1t().Visit a parse tree produced bySmaliParser.f1x().Visit a parse tree produced bySmaliParser.f2sb().Visit a parse tree produced bySmaliParser.f2t().Visit a parse tree produced bySmaliParser.f2x().Visit a parse tree produced bySmaliParser.f31t().Visit a parse tree produced bySmaliParser.f3x().Visit a parse tree produced bySmaliParser.farraydata().Visit a parse tree produced bySmaliParser.fcache().Visit a parse tree produced bySmaliParser.fcacheall().Visit a parse tree produced bySmaliParser.fconst().Visit a parse tree produced bySmaliParser.fend().Visit a parse tree produced bySmaliParser.fepiogue().Visit a parse tree produced bySmaliParser.ff1c().Visit a parse tree produced bySmaliParser.ff2c().Visit a parse tree produced bySmaliParser.fline().Visit a parse tree produced bySmaliParser.flocal().Visit a parse tree produced bySmaliParser.flocals().Visit a parse tree produced bySmaliParser.fm45cc().Visit a parse tree produced bySmaliParser.fm4rcc().Visit a parse tree produced bySmaliParser.fm5c().Visit a parse tree produced bySmaliParser.fmcustomc().Visit a parse tree produced bySmaliParser.fmcustomrc().Visit a parse tree produced bySmaliParser.fmrc().Visit a parse tree produced bySmaliParser.fpackageswitch().Visit a parse tree produced bySmaliParser.fprologue().Visit a parse tree produced bySmaliParser.fregisters().Visit a parse tree produced bySmaliParser.frestart().Visit a parse tree produced bySmaliParser.fspareswitch().Visit a parse tree produced bySmaliParser.ft2c().Visit a parse tree produced bySmaliParser.ft5c().Visit a parse tree produced bySmaliParser.ftrc().Visit a parse tree produced bySmaliParser.method_handler().Visit a parse tree produced bySmaliParser.sAccList().Visit a parse tree produced bySmaliParser.sAnnotation().Visit a parse tree produced bySmaliParser.sAnnotationKeyName().Visit a parse tree produced bySmaliParser.sAnnotationValue().Visit a parse tree produced bySmaliParser.sArrayValue().Visit a parse tree produced bySmaliParser.sBaseValue().Visit a parse tree produced bySmaliParser.sField().Visit a parse tree produced bySmaliParser.sFile().Visit a parse tree produced bySmaliParser.sFiles().Visit a parse tree produced bySmaliParser.sInstruction().Visit a parse tree produced bySmaliParser.sInterface().Visit a parse tree produced bySmaliParser.sLabel().Visit a parse tree produced bySmaliParser.sMethod().Visit a parse tree produced bySmaliParser.sParameter().Visit a parse tree produced bySmaliParser.sSource().Visit a parse tree produced bySmaliParser.sSubannotation().Visit a parse tree produced bySmaliParser.sSuper().Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminalMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.antlr.v4.runtime.tree.ParseTreeVisitor
visit, visitChildren, visitErrorNode, visitTerminal
-
Constructor Details
-
SmaliBaseVisitor
public SmaliBaseVisitor()
-
-
Method Details
-
visitSFiles
Visit a parse tree produced bySmaliParser.sFiles().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSFilesin interfaceSmaliVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSFile
Visit a parse tree produced bySmaliParser.sFile().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSFilein interfaceSmaliVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSSource
Visit a parse tree produced bySmaliParser.sSource().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSSourcein interfaceSmaliVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSSuper
Visit a parse tree produced bySmaliParser.sSuper().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSSuperin interfaceSmaliVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSInterface
Visit a parse tree produced bySmaliParser.sInterface().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSInterfacein interfaceSmaliVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSMethod
Visit a parse tree produced bySmaliParser.sMethod().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSMethodin interfaceSmaliVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSField
Visit a parse tree produced bySmaliParser.sField().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSFieldin interfaceSmaliVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSAccList
Visit a parse tree produced bySmaliParser.sAccList().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSAccListin interfaceSmaliVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSAnnotation
Visit a parse tree produced bySmaliParser.sAnnotation().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSAnnotationin interfaceSmaliVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSSubannotation
Visit a parse tree produced bySmaliParser.sSubannotation().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSSubannotationin interfaceSmaliVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSParameter
Visit a parse tree produced bySmaliParser.sParameter().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSParameterin interfaceSmaliVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSAnnotationKeyName
Visit a parse tree produced bySmaliParser.sAnnotationKeyName().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSAnnotationKeyNamein interfaceSmaliVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSAnnotationValue
Visit a parse tree produced bySmaliParser.sAnnotationValue().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSAnnotationValuein interfaceSmaliVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSBaseValue
Visit a parse tree produced bySmaliParser.sBaseValue().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSBaseValuein interfaceSmaliVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSArrayValue
Visit a parse tree produced bySmaliParser.sArrayValue().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSArrayValuein interfaceSmaliVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMethod_handler
Visit a parse tree produced bySmaliParser.method_handler().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMethod_handlerin interfaceSmaliVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCall_site
Visit a parse tree produced bySmaliParser.call_site().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitCall_sitein interfaceSmaliVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSInstruction
Visit a parse tree produced bySmaliParser.sInstruction().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSInstructionin interfaceSmaliVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFline
Visit a parse tree produced bySmaliParser.fline().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFlinein interfaceSmaliVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFlocal
Visit a parse tree produced bySmaliParser.flocal().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFlocalin interfaceSmaliVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFend
Visit a parse tree produced bySmaliParser.fend().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFendin interfaceSmaliVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFrestart
Visit a parse tree produced bySmaliParser.frestart().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFrestartin interfaceSmaliVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFprologue
Visit a parse tree produced bySmaliParser.fprologue().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFprologuein interfaceSmaliVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFepiogue
Visit a parse tree produced bySmaliParser.fepiogue().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFepioguein interfaceSmaliVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFregisters
Visit a parse tree produced bySmaliParser.fregisters().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFregistersin interfaceSmaliVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFlocals
Visit a parse tree produced bySmaliParser.flocals().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFlocalsin interfaceSmaliVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFcache
Visit a parse tree produced bySmaliParser.fcache().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFcachein interfaceSmaliVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFcacheall
Visit a parse tree produced bySmaliParser.fcacheall().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFcacheallin interfaceSmaliVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSLabel
Visit a parse tree produced bySmaliParser.sLabel().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSLabelin interfaceSmaliVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFpackageswitch
Visit a parse tree produced bySmaliParser.fpackageswitch().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFpackageswitchin interfaceSmaliVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFspareswitch
Visit a parse tree produced bySmaliParser.fspareswitch().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFspareswitchin interfaceSmaliVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFarraydata
Visit a parse tree produced bySmaliParser.farraydata().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFarraydatain interfaceSmaliVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitF0x
Visit a parse tree produced bySmaliParser.f0x().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitF0xin interfaceSmaliVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitF0t
Visit a parse tree produced bySmaliParser.f0t().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitF0tin interfaceSmaliVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitF1x
Visit a parse tree produced bySmaliParser.f1x().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitF1xin interfaceSmaliVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFconst
Visit a parse tree produced bySmaliParser.fconst().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFconstin interfaceSmaliVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFf1c
Visit a parse tree produced bySmaliParser.ff1c().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFf1cin interfaceSmaliVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFt2c
Visit a parse tree produced bySmaliParser.ft2c().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFt2cin interfaceSmaliVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFf2c
Visit a parse tree produced bySmaliParser.ff2c().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFf2cin interfaceSmaliVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitF2x
Visit a parse tree produced bySmaliParser.f2x().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitF2xin interfaceSmaliVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitF3x
Visit a parse tree produced bySmaliParser.f3x().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitF3xin interfaceSmaliVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFt5c
Visit a parse tree produced bySmaliParser.ft5c().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFt5cin interfaceSmaliVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFm5c
Visit a parse tree produced bySmaliParser.fm5c().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFm5cin interfaceSmaliVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFmrc
Visit a parse tree produced bySmaliParser.fmrc().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFmrcin interfaceSmaliVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFm45cc
Visit a parse tree produced bySmaliParser.fm45cc().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFm45ccin interfaceSmaliVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFm4rcc
Visit a parse tree produced bySmaliParser.fm4rcc().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFm4rccin interfaceSmaliVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFmcustomc
Visit a parse tree produced bySmaliParser.fmcustomc().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFmcustomcin interfaceSmaliVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFmcustomrc
Visit a parse tree produced bySmaliParser.fmcustomrc().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFmcustomrcin interfaceSmaliVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFtrc
Visit a parse tree produced bySmaliParser.ftrc().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFtrcin interfaceSmaliVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitF31t
Visit a parse tree produced bySmaliParser.f31t().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitF31tin interfaceSmaliVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitF1t
Visit a parse tree produced bySmaliParser.f1t().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitF1tin interfaceSmaliVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitF2t
Visit a parse tree produced bySmaliParser.f2t().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitF2tin interfaceSmaliVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitF2sb
Visit a parse tree produced bySmaliParser.f2sb().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitF2sbin interfaceSmaliVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-