T - The return type of the visit operation. Use Void for
operations with no return type.public class JimpleBaseVisitor<T> extends org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T> implements JimpleVisitor<T>
JimpleVisitor,
which can be extended to create a visitor which only needs to handle a subset
of the available methods.| Constructor and Description |
|---|
JimpleBaseVisitor() |
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminalpublic T visitIdentifier(JimpleParser.IdentifierContext ctx)
JimpleParser.identifier().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitIdentifier in interface JimpleVisitor<T>ctx - the parse treepublic T visitInteger_constant(JimpleParser.Integer_constantContext ctx)
JimpleParser.integer_constant().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitInteger_constant in interface JimpleVisitor<T>ctx - the parse treepublic T visitFile(JimpleParser.FileContext ctx)
JimpleParser.file().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitFile in interface JimpleVisitor<T>ctx - the parse treepublic T visitImportItem(JimpleParser.ImportItemContext ctx)
JimpleParser.importItem().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitImportItem in interface JimpleVisitor<T>ctx - the parse treepublic T visitCommon_modifier(JimpleParser.Common_modifierContext ctx)
JimpleParser.common_modifier().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitCommon_modifier in interface JimpleVisitor<T>ctx - the parse treepublic T visitClass_modifier(JimpleParser.Class_modifierContext ctx)
JimpleParser.class_modifier().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitClass_modifier in interface JimpleVisitor<T>ctx - the parse treepublic T visitMethod_modifier(JimpleParser.Method_modifierContext ctx)
JimpleParser.method_modifier().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitMethod_modifier in interface JimpleVisitor<T>ctx - the parse treepublic T visitField_modifier(JimpleParser.Field_modifierContext ctx)
JimpleParser.field_modifier().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitField_modifier in interface JimpleVisitor<T>ctx - the parse treepublic T visitFile_type(JimpleParser.File_typeContext ctx)
JimpleParser.file_type().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitFile_type in interface JimpleVisitor<T>ctx - the parse treepublic T visitExtends_clause(JimpleParser.Extends_clauseContext ctx)
JimpleParser.extends_clause().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitExtends_clause in interface JimpleVisitor<T>ctx - the parse treepublic T visitImplements_clause(JimpleParser.Implements_clauseContext ctx)
JimpleParser.implements_clause().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitImplements_clause in interface JimpleVisitor<T>ctx - the parse treepublic T visitType(JimpleParser.TypeContext ctx)
JimpleParser.type().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitType in interface JimpleVisitor<T>ctx - the parse treepublic T visitType_list(JimpleParser.Type_listContext ctx)
JimpleParser.type_list().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitType_list in interface JimpleVisitor<T>ctx - the parse treepublic T visitMember(JimpleParser.MemberContext ctx)
JimpleParser.member().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitMember in interface JimpleVisitor<T>ctx - the parse treepublic T visitField(JimpleParser.FieldContext ctx)
JimpleParser.field().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitField in interface JimpleVisitor<T>ctx - the parse treepublic T visitMethod(JimpleParser.MethodContext ctx)
JimpleParser.method().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitMethod in interface JimpleVisitor<T>ctx - the parse treepublic T visitMethod_name(JimpleParser.Method_nameContext ctx)
JimpleParser.method_name().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitMethod_name in interface JimpleVisitor<T>ctx - the parse treepublic T visitThrows_clause(JimpleParser.Throws_clauseContext ctx)
JimpleParser.throws_clause().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitThrows_clause in interface JimpleVisitor<T>ctx - the parse treepublic T visitMethod_body(JimpleParser.Method_bodyContext ctx)
JimpleParser.method_body().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitMethod_body in interface JimpleVisitor<T>ctx - the parse treepublic T visitMethod_body_contents(JimpleParser.Method_body_contentsContext ctx)
JimpleParser.method_body_contents().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitMethod_body_contents in interface JimpleVisitor<T>ctx - the parse treepublic T visitTrap_clauses(JimpleParser.Trap_clausesContext ctx)
JimpleParser.trap_clauses().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitTrap_clauses in interface JimpleVisitor<T>ctx - the parse treepublic T visitStatements(JimpleParser.StatementsContext ctx)
JimpleParser.statements().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitStatements in interface JimpleVisitor<T>ctx - the parse treepublic T visitDeclarations(JimpleParser.DeclarationsContext ctx)
JimpleParser.declarations().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitDeclarations in interface JimpleVisitor<T>ctx - the parse treepublic T visitDeclaration(JimpleParser.DeclarationContext ctx)
JimpleParser.declaration().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitDeclaration in interface JimpleVisitor<T>ctx - the parse treepublic T visitStatement(JimpleParser.StatementContext ctx)
JimpleParser.statement().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitStatement in interface JimpleVisitor<T>ctx - the parse treepublic T visitStmt(JimpleParser.StmtContext ctx)
JimpleParser.stmt().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitStmt in interface JimpleVisitor<T>ctx - the parse treepublic T visitAssignments(JimpleParser.AssignmentsContext ctx)
JimpleParser.assignments().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitAssignments in interface JimpleVisitor<T>ctx - the parse treepublic T visitIdentity_ref(JimpleParser.Identity_refContext ctx)
JimpleParser.identity_ref().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitIdentity_ref in interface JimpleVisitor<T>ctx - the parse treepublic T visitCase_stmt(JimpleParser.Case_stmtContext ctx)
JimpleParser.case_stmt().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitCase_stmt in interface JimpleVisitor<T>ctx - the parse treepublic T visitCase_label(JimpleParser.Case_labelContext ctx)
JimpleParser.case_label().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitCase_label in interface JimpleVisitor<T>ctx - the parse treepublic T visitGoto_stmt(JimpleParser.Goto_stmtContext ctx)
JimpleParser.goto_stmt().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitGoto_stmt in interface JimpleVisitor<T>ctx - the parse treepublic T visitTrap_clause(JimpleParser.Trap_clauseContext ctx)
JimpleParser.trap_clause().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitTrap_clause in interface JimpleVisitor<T>ctx - the parse treepublic T visitValue(JimpleParser.ValueContext ctx)
JimpleParser.value().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitValue in interface JimpleVisitor<T>ctx - the parse treepublic T visitBool_expr(JimpleParser.Bool_exprContext ctx)
JimpleParser.bool_expr().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitBool_expr in interface JimpleVisitor<T>ctx - the parse treepublic T visitInvoke_expr(JimpleParser.Invoke_exprContext ctx)
JimpleParser.invoke_expr().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitInvoke_expr in interface JimpleVisitor<T>ctx - the parse treepublic T visitBinop_expr(JimpleParser.Binop_exprContext ctx)
JimpleParser.binop_expr().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitBinop_expr in interface JimpleVisitor<T>ctx - the parse treepublic T visitUnop_expr(JimpleParser.Unop_exprContext ctx)
JimpleParser.unop_expr().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitUnop_expr in interface JimpleVisitor<T>ctx - the parse treepublic T visitMethod_subsignature(JimpleParser.Method_subsignatureContext ctx)
JimpleParser.method_subsignature().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitMethod_subsignature in interface JimpleVisitor<T>ctx - the parse treepublic T visitMethod_signature(JimpleParser.Method_signatureContext ctx)
JimpleParser.method_signature().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitMethod_signature in interface JimpleVisitor<T>ctx - the parse treepublic T visitReference(JimpleParser.ReferenceContext ctx)
JimpleParser.reference().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitReference in interface JimpleVisitor<T>ctx - the parse treepublic T visitField_signature(JimpleParser.Field_signatureContext ctx)
JimpleParser.field_signature().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitField_signature in interface JimpleVisitor<T>ctx - the parse treepublic T visitArray_descriptor(JimpleParser.Array_descriptorContext ctx)
JimpleParser.array_descriptor().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitArray_descriptor in interface JimpleVisitor<T>ctx - the parse treepublic T visitArg_list(JimpleParser.Arg_listContext ctx)
JimpleParser.arg_list().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitArg_list in interface JimpleVisitor<T>ctx - the parse treepublic T visitImmediate(JimpleParser.ImmediateContext ctx)
JimpleParser.immediate().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitImmediate in interface JimpleVisitor<T>ctx - the parse treepublic T visitMethodhandle(JimpleParser.MethodhandleContext ctx)
JimpleParser.methodhandle().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitMethodhandle in interface JimpleVisitor<T>ctx - the parse treepublic T visitConstant(JimpleParser.ConstantContext ctx)
JimpleParser.constant().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitConstant in interface JimpleVisitor<T>ctx - the parse treepublic T visitBinop(JimpleParser.BinopContext ctx)
JimpleParser.binop().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitBinop in interface JimpleVisitor<T>ctx - the parse treepublic T visitUnop(JimpleParser.UnopContext ctx)
JimpleParser.unop().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitUnop in interface JimpleVisitor<T>ctx - the parse treeCopyright © 2024 Soot OSS. All rights reserved.