Class ProGuardBaseVisitor<T>
- java.lang.Object
-
- org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T>
-
- mc.limestone.remap.mappings.proguard.ProGuardBaseVisitor<T>
-
- Type Parameters:
T- The return type of the visit operation. UseVoidfor operations with no return type.
- All Implemented Interfaces:
ProGuardVisitor<T>,org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
public class ProGuardBaseVisitor<T> extends org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T> implements ProGuardVisitor<T>
This class provides an empty implementation ofProGuardVisitor, which can be extended to create a visitor which only needs to handle a subset of the available methods.
-
-
Constructor Summary
Constructors Constructor Description ProGuardBaseVisitor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TvisitClassStatement(ProGuardParser.ClassStatementContext ctx)Visit a parse tree produced byProGuardParser.classStatement().TvisitFieldStatement(ProGuardParser.FieldStatementContext ctx)Visit a parse tree produced byProGuardParser.fieldStatement().TvisitFile(ProGuardParser.FileContext ctx)Visit a parse tree produced byProGuardParser.file().TvisitMethodLineNumbers(ProGuardParser.MethodLineNumbersContext ctx)Visit a parse tree produced byProGuardParser.methodLineNumbers().TvisitMethodParameters(ProGuardParser.MethodParametersContext ctx)Visit a parse tree produced byProGuardParser.methodParameters().TvisitMethodStatement(ProGuardParser.MethodStatementContext ctx)Visit a parse tree produced byProGuardParser.methodStatement().-
Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminal
-
-
-
-
Method Detail
-
visitFile
public T visitFile(ProGuardParser.FileContext ctx)
Visit a parse tree produced byProGuardParser.file().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFilein interfaceProGuardVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitClassStatement
public T visitClassStatement(ProGuardParser.ClassStatementContext ctx)
Visit a parse tree produced byProGuardParser.classStatement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitClassStatementin interfaceProGuardVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFieldStatement
public T visitFieldStatement(ProGuardParser.FieldStatementContext ctx)
Visit a parse tree produced byProGuardParser.fieldStatement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFieldStatementin interfaceProGuardVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMethodStatement
public T visitMethodStatement(ProGuardParser.MethodStatementContext ctx)
Visit a parse tree produced byProGuardParser.methodStatement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMethodStatementin interfaceProGuardVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMethodLineNumbers
public T visitMethodLineNumbers(ProGuardParser.MethodLineNumbersContext ctx)
Visit a parse tree produced byProGuardParser.methodLineNumbers().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMethodLineNumbersin interfaceProGuardVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMethodParameters
public T visitMethodParameters(ProGuardParser.MethodParametersContext ctx)
Visit a parse tree produced byProGuardParser.methodParameters().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMethodParametersin interfaceProGuardVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
-