Interface JuliaVisitor<T>
-
- Type Parameters:
T
- The return type of the visit operation. UseVoid
for operations with no return type.
- All Superinterfaces:
org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
- All Known Implementing Classes:
JuliaBaseVisitor
public interface JuliaVisitor<T> extends org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
This interface defines a complete generic visitor for a parse tree produced byJuliaParser
.
-
-
Method Summary
-
-
-
Method Detail
-
visitMain
T visitMain(JuliaParser.MainContext ctx)
Visit a parse tree produced byJuliaParser.main()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFunctionDefinition
T visitFunctionDefinition(JuliaParser.FunctionDefinitionContext ctx)
Visit a parse tree produced byJuliaParser.functionDefinition()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFunctionDefinition1
T visitFunctionDefinition1(JuliaParser.FunctionDefinition1Context ctx)
Visit a parse tree produced byJuliaParser.functionDefinition1()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFunctionDefinition2
T visitFunctionDefinition2(JuliaParser.FunctionDefinition2Context ctx)
Visit a parse tree produced byJuliaParser.functionDefinition2()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFunctionIdentifier
T visitFunctionIdentifier(JuliaParser.FunctionIdentifierContext ctx)
Visit a parse tree produced byJuliaParser.functionIdentifier()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitWhereClause
T visitWhereClause(JuliaParser.WhereClauseContext ctx)
Visit a parse tree produced byJuliaParser.whereClause()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFunctionBody
T visitFunctionBody(JuliaParser.FunctionBodyContext ctx)
Visit a parse tree produced byJuliaParser.functionBody()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitStatement
T visitStatement(JuliaParser.StatementContext ctx)
Visit a parse tree produced byJuliaParser.statement()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBeginStatement
T visitBeginStatement(JuliaParser.BeginStatementContext ctx)
Visit a parse tree produced byJuliaParser.beginStatement()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitDoStatement
T visitDoStatement(JuliaParser.DoStatementContext ctx)
Visit a parse tree produced byJuliaParser.doStatement()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitForStatement
T visitForStatement(JuliaParser.ForStatementContext ctx)
Visit a parse tree produced byJuliaParser.forStatement()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitIfStatement
T visitIfStatement(JuliaParser.IfStatementContext ctx)
Visit a parse tree produced byJuliaParser.ifStatement()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLetStatement
T visitLetStatement(JuliaParser.LetStatementContext ctx)
Visit a parse tree produced byJuliaParser.letStatement()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMacroStatement
T visitMacroStatement(JuliaParser.MacroStatementContext ctx)
Visit a parse tree produced byJuliaParser.macroStatement()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitStructStatement
T visitStructStatement(JuliaParser.StructStatementContext ctx)
Visit a parse tree produced byJuliaParser.structStatement()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTryCatchStatement
T visitTryCatchStatement(JuliaParser.TryCatchStatementContext ctx)
Visit a parse tree produced byJuliaParser.tryCatchStatement()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTypeStatement
T visitTypeStatement(JuliaParser.TypeStatementContext ctx)
Visit a parse tree produced byJuliaParser.typeStatement()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitWhileStatement
T visitWhileStatement(JuliaParser.WhileStatementContext ctx)
Visit a parse tree produced byJuliaParser.whileStatement()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitAnyToken
T visitAnyToken(JuliaParser.AnyTokenContext ctx)
Visit a parse tree produced byJuliaParser.anyToken()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
-