Class JuliaBaseVisitor<T>
- java.lang.Object
-
- org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T>
-
- net.sourceforge.pmd.lang.julia.ast.JuliaBaseVisitor<T>
-
- Type Parameters:
T
- The return type of the visit operation. UseVoid
for operations with no return type.
- All Implemented Interfaces:
JuliaVisitor<T>
,org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
@Deprecated @Generated("org.antlr.v4.Tool") public class JuliaBaseVisitor<T> extends org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T> implements JuliaVisitor<T>
Deprecated.Since 7.8.0. This class was never intended to be generated. It will be removed with no replacement.This class provides an empty implementation ofJuliaVisitor
, which can be extended to create a visitor which only needs to handle a subset of the available methods.
-
-
Constructor Summary
Constructors Constructor Description JuliaBaseVisitor()
Deprecated.
-
Method Summary
-
Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminal
-
-
-
-
Method Detail
-
visitMain
public T visitMain(JuliaParser.MainContext ctx)
Deprecated.Visit a parse tree produced byJuliaParser.main()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitMain
in interfaceJuliaVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFunctionDefinition
public T visitFunctionDefinition(JuliaParser.FunctionDefinitionContext ctx)
Deprecated.Visit a parse tree produced byJuliaParser.functionDefinition()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitFunctionDefinition
in interfaceJuliaVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFunctionDefinition1
public T visitFunctionDefinition1(JuliaParser.FunctionDefinition1Context ctx)
Deprecated.Visit a parse tree produced byJuliaParser.functionDefinition1()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitFunctionDefinition1
in interfaceJuliaVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFunctionDefinition2
public T visitFunctionDefinition2(JuliaParser.FunctionDefinition2Context ctx)
Deprecated.Visit a parse tree produced byJuliaParser.functionDefinition2()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitFunctionDefinition2
in interfaceJuliaVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFunctionIdentifier
public T visitFunctionIdentifier(JuliaParser.FunctionIdentifierContext ctx)
Deprecated.Visit a parse tree produced byJuliaParser.functionIdentifier()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitFunctionIdentifier
in interfaceJuliaVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitWhereClause
public T visitWhereClause(JuliaParser.WhereClauseContext ctx)
Deprecated.Visit a parse tree produced byJuliaParser.whereClause()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitWhereClause
in interfaceJuliaVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFunctionBody
public T visitFunctionBody(JuliaParser.FunctionBodyContext ctx)
Deprecated.Visit a parse tree produced byJuliaParser.functionBody()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitFunctionBody
in interfaceJuliaVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitStatement
public T visitStatement(JuliaParser.StatementContext ctx)
Deprecated.Visit a parse tree produced byJuliaParser.statement()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitStatement
in interfaceJuliaVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBeginStatement
public T visitBeginStatement(JuliaParser.BeginStatementContext ctx)
Deprecated.Visit a parse tree produced byJuliaParser.beginStatement()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitBeginStatement
in interfaceJuliaVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitDoStatement
public T visitDoStatement(JuliaParser.DoStatementContext ctx)
Deprecated.Visit a parse tree produced byJuliaParser.doStatement()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitDoStatement
in interfaceJuliaVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitForStatement
public T visitForStatement(JuliaParser.ForStatementContext ctx)
Deprecated.Visit a parse tree produced byJuliaParser.forStatement()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitForStatement
in interfaceJuliaVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitIfStatement
public T visitIfStatement(JuliaParser.IfStatementContext ctx)
Deprecated.Visit a parse tree produced byJuliaParser.ifStatement()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitIfStatement
in interfaceJuliaVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLetStatement
public T visitLetStatement(JuliaParser.LetStatementContext ctx)
Deprecated.Visit a parse tree produced byJuliaParser.letStatement()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitLetStatement
in interfaceJuliaVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMacroStatement
public T visitMacroStatement(JuliaParser.MacroStatementContext ctx)
Deprecated.Visit a parse tree produced byJuliaParser.macroStatement()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitMacroStatement
in interfaceJuliaVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitStructStatement
public T visitStructStatement(JuliaParser.StructStatementContext ctx)
Deprecated.Visit a parse tree produced byJuliaParser.structStatement()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitStructStatement
in interfaceJuliaVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTryCatchStatement
public T visitTryCatchStatement(JuliaParser.TryCatchStatementContext ctx)
Deprecated.Visit a parse tree produced byJuliaParser.tryCatchStatement()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitTryCatchStatement
in interfaceJuliaVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTypeStatement
public T visitTypeStatement(JuliaParser.TypeStatementContext ctx)
Deprecated.Visit a parse tree produced byJuliaParser.typeStatement()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitTypeStatement
in interfaceJuliaVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitWhileStatement
public T visitWhileStatement(JuliaParser.WhileStatementContext ctx)
Deprecated.Visit a parse tree produced byJuliaParser.whileStatement()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitWhileStatement
in interfaceJuliaVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitAnyToken
public T visitAnyToken(JuliaParser.AnyTokenContext ctx)
Deprecated.Visit a parse tree produced byJuliaParser.anyToken()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitAnyToken
in interfaceJuliaVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
-