Class SLangBaseVisitor<T>
- Type Parameters:
T- The return type of the visit operation. UseVoidfor operations with no return type.
- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTreeVisitor<T>,SLangVisitor<T>
SLangVisitor,
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 bySLangParser.additiveExpression().Visit a parse tree produced bySLangParser.additiveOperator().Visit a parse tree produced bySLangParser.annotation().Visit a parse tree produced bySLangParser.annotationParameter().Visit a parse tree produced bySLangParser.annotationParameterList().Visit a parse tree produced bySLangParser.annotationParameters().Visit a parse tree produced bySLangParser.argumentList().Visit a parse tree produced bySLangParser.assignment().Visit a parse tree produced bySLangParser.assignmentOperator().Visit a parse tree produced bySLangParser.atomicExpression().Visit a parse tree produced bySLangParser.block().Visit a parse tree produced bySLangParser.breakExpression().Visit a parse tree produced bySLangParser.catchBlock().Visit a parse tree produced bySLangParser.classDeclaration().Visit a parse tree produced bySLangParser.comparison().Visit a parse tree produced bySLangParser.comparisonOperator().Visit a parse tree produced bySLangParser.conditional().Visit a parse tree produced bySLangParser.conjunction().Visit a parse tree produced bySLangParser.conjunctionOperator().Visit a parse tree produced bySLangParser.continueExpression().Visit a parse tree produced bySLangParser.controlBlock().Visit a parse tree produced bySLangParser.declaration().Visit a parse tree produced bySLangParser.declarationModifier().Visit a parse tree produced bySLangParser.disjunction().Visit a parse tree produced bySLangParser.disjunctionOperator().Visit a parse tree produced bySLangParser.doWhileLoop().Visit a parse tree produced bySLangParser.equalityComparison().Visit a parse tree produced bySLangParser.equalityOperator().Visit a parse tree produced bySLangParser.expression().Visit a parse tree produced bySLangParser.expressionName().Visit a parse tree produced bySLangParser.finallyBlock().Visit a parse tree produced bySLangParser.forLoop().Visit a parse tree produced bySLangParser.formalParameter().Visit a parse tree produced bySLangParser.formalParameterList().Visit a parse tree produced bySLangParser.formalParameters().Visit a parse tree produced bySLangParser.identifier().Visit a parse tree produced bySLangParser.ifExpression().Visit a parse tree produced bySLangParser.importDeclaration().Visit a parse tree produced bySLangParser.jumpExpression().Visit a parse tree produced bySLangParser.label().Visit a parse tree produced bySLangParser.lastFormalParameter().Visit a parse tree produced bySLangParser.literal().Visit a parse tree produced bySLangParser.loopExpression().Visit a parse tree produced bySLangParser.matchCase().Visit a parse tree produced bySLangParser.matchExpression().Visit a parse tree produced bySLangParser.memberSelect().Visit a parse tree produced bySLangParser.methodBody().Visit a parse tree produced bySLangParser.methodDeclaration().Visit a parse tree produced bySLangParser.methodDeclarator().Visit a parse tree produced bySLangParser.methodHeader().Visit a parse tree produced bySLangParser.methodInvocation().Visit a parse tree produced bySLangParser.methodModifier().Visit a parse tree produced bySLangParser.multiplicativeExpression().Visit a parse tree produced bySLangParser.multiplicativeOperator().Visit a parse tree produced bySLangParser.nativeBlock().Visit a parse tree produced bySLangParser.nativeExpression().Visit a parse tree produced bySLangParser.packageDeclaration().Visit a parse tree produced bySLangParser.parameterModifier().Visit a parse tree produced bySLangParser.parenthesizedExpression().Visit a parse tree produced bySLangParser.receiverParameter().Visit a parse tree produced bySLangParser.returnExpression().Visit a parse tree produced bySLangParser.semi().Visit a parse tree produced bySLangParser.simpleType().Visit a parse tree produced bySLangParser.slangFile().Visit a parse tree produced bySLangParser.statement().Visit a parse tree produced bySLangParser.throwExpression().Visit a parse tree produced bySLangParser.tryExpression().Visit a parse tree produced bySLangParser.typeDeclaration().Visit a parse tree produced bySLangParser.unaryExpression().Visit a parse tree produced bySLangParser.unaryOperator().Visit a parse tree produced bySLangParser.variableDeclaratorId().Visit a parse tree produced bySLangParser.whileLoop().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
-
SLangBaseVisitor
public SLangBaseVisitor()
-
-
Method Details
-
visitSlangFile
Visit a parse tree produced bySLangParser.slangFile().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSlangFilein interfaceSLangVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPackageDeclaration
Visit a parse tree produced bySLangParser.packageDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPackageDeclarationin interfaceSLangVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitImportDeclaration
Visit a parse tree produced bySLangParser.importDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitImportDeclarationin interfaceSLangVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeDeclaration
Visit a parse tree produced bySLangParser.typeDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTypeDeclarationin interfaceSLangVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitClassDeclaration
Visit a parse tree produced bySLangParser.classDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitClassDeclarationin interfaceSLangVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMethodDeclaration
Visit a parse tree produced bySLangParser.methodDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMethodDeclarationin interfaceSLangVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnnotation
Visit a parse tree produced bySLangParser.annotation().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAnnotationin interfaceSLangVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnnotationParameters
Visit a parse tree produced bySLangParser.annotationParameters().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAnnotationParametersin interfaceSLangVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnnotationParameter
Visit a parse tree produced bySLangParser.annotationParameter().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAnnotationParameterin interfaceSLangVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnnotationParameterList
Visit a parse tree produced bySLangParser.annotationParameterList().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAnnotationParameterListin interfaceSLangVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMethodModifier
Visit a parse tree produced bySLangParser.methodModifier().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMethodModifierin interfaceSLangVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMethodHeader
Visit a parse tree produced bySLangParser.methodHeader().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMethodHeaderin interfaceSLangVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMethodDeclarator
Visit a parse tree produced bySLangParser.methodDeclarator().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMethodDeclaratorin interfaceSLangVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFormalParameterList
Visit a parse tree produced bySLangParser.formalParameterList().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFormalParameterListin interfaceSLangVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFormalParameters
Visit a parse tree produced bySLangParser.formalParameters().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFormalParametersin interfaceSLangVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFormalParameter
Visit a parse tree produced bySLangParser.formalParameter().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFormalParameterin interfaceSLangVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitParameterModifier
Visit a parse tree produced bySLangParser.parameterModifier().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitParameterModifierin interfaceSLangVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLastFormalParameter
Visit a parse tree produced bySLangParser.lastFormalParameter().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLastFormalParameterin interfaceSLangVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitReceiverParameter
Visit a parse tree produced bySLangParser.receiverParameter().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitReceiverParameterin interfaceSLangVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVariableDeclaratorId
Visit a parse tree produced bySLangParser.variableDeclaratorId().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitVariableDeclaratorIdin interfaceSLangVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMethodBody
Visit a parse tree produced bySLangParser.methodBody().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMethodBodyin interfaceSLangVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBlock
Visit a parse tree produced bySLangParser.block().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBlockin interfaceSLangVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStatement
Visit a parse tree produced bySLangParser.statement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitStatementin interfaceSLangVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDeclaration
Visit a parse tree produced bySLangParser.declaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDeclarationin interfaceSLangVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDeclarationModifier
Visit a parse tree produced bySLangParser.declarationModifier().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDeclarationModifierin interfaceSLangVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAssignment
Visit a parse tree produced bySLangParser.assignment().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAssignmentin interfaceSLangVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpression
Visit a parse tree produced bySLangParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitExpressionin interfaceSLangVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDisjunction
Visit a parse tree produced bySLangParser.disjunction().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDisjunctionin interfaceSLangVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitConjunction
Visit a parse tree produced bySLangParser.conjunction().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitConjunctionin interfaceSLangVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEqualityComparison
Visit a parse tree produced bySLangParser.equalityComparison().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitEqualityComparisonin interfaceSLangVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitComparison
Visit a parse tree produced bySLangParser.comparison().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitComparisonin interfaceSLangVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAdditiveExpression
Visit a parse tree produced bySLangParser.additiveExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAdditiveExpressionin interfaceSLangVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMultiplicativeExpression
Visit a parse tree produced bySLangParser.multiplicativeExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMultiplicativeExpressionin interfaceSLangVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitUnaryExpression
Visit a parse tree produced bySLangParser.unaryExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitUnaryExpressionin interfaceSLangVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAtomicExpression
Visit a parse tree produced bySLangParser.atomicExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAtomicExpressionin interfaceSLangVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitParenthesizedExpression
Visit a parse tree produced bySLangParser.parenthesizedExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitParenthesizedExpressionin interfaceSLangVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMethodInvocation
Visit a parse tree produced bySLangParser.methodInvocation().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMethodInvocationin interfaceSLangVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMemberSelect
Visit a parse tree produced bySLangParser.memberSelect().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMemberSelectin interfaceSLangVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArgumentList
Visit a parse tree produced bySLangParser.argumentList().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitArgumentListin interfaceSLangVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpressionName
Visit a parse tree produced bySLangParser.expressionName().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitExpressionNamein interfaceSLangVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitConditional
Visit a parse tree produced bySLangParser.conditional().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitConditionalin interfaceSLangVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIfExpression
Visit a parse tree produced bySLangParser.ifExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitIfExpressionin interfaceSLangVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMatchExpression
Visit a parse tree produced bySLangParser.matchExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMatchExpressionin interfaceSLangVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMatchCase
Visit a parse tree produced bySLangParser.matchCase().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMatchCasein interfaceSLangVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLoopExpression
Visit a parse tree produced bySLangParser.loopExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLoopExpressionin interfaceSLangVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitForLoop
Visit a parse tree produced bySLangParser.forLoop().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitForLoopin interfaceSLangVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitWhileLoop
Visit a parse tree produced bySLangParser.whileLoop().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitWhileLoopin interfaceSLangVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDoWhileLoop
Visit a parse tree produced bySLangParser.doWhileLoop().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDoWhileLoopin interfaceSLangVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitControlBlock
Visit a parse tree produced bySLangParser.controlBlock().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitControlBlockin interfaceSLangVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTryExpression
Visit a parse tree produced bySLangParser.tryExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTryExpressionin interfaceSLangVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCatchBlock
Visit a parse tree produced bySLangParser.catchBlock().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitCatchBlockin interfaceSLangVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFinallyBlock
Visit a parse tree produced bySLangParser.finallyBlock().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFinallyBlockin interfaceSLangVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNativeExpression
Visit a parse tree produced bySLangParser.nativeExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNativeExpressionin interfaceSLangVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNativeBlock
Visit a parse tree produced bySLangParser.nativeBlock().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNativeBlockin interfaceSLangVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitReturnExpression
Visit a parse tree produced bySLangParser.returnExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitReturnExpressionin interfaceSLangVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitThrowExpression
Visit a parse tree produced bySLangParser.throwExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitThrowExpressionin interfaceSLangVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitJumpExpression
Visit a parse tree produced bySLangParser.jumpExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitJumpExpressionin interfaceSLangVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBreakExpression
Visit a parse tree produced bySLangParser.breakExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBreakExpressionin interfaceSLangVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitContinueExpression
Visit a parse tree produced bySLangParser.continueExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitContinueExpressionin interfaceSLangVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLabel
Visit a parse tree produced bySLangParser.label().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLabelin interfaceSLangVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMultiplicativeOperator
Visit a parse tree produced bySLangParser.multiplicativeOperator().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMultiplicativeOperatorin interfaceSLangVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAdditiveOperator
Visit a parse tree produced bySLangParser.additiveOperator().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAdditiveOperatorin interfaceSLangVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitComparisonOperator
Visit a parse tree produced bySLangParser.comparisonOperator().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitComparisonOperatorin interfaceSLangVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEqualityOperator
Visit a parse tree produced bySLangParser.equalityOperator().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitEqualityOperatorin interfaceSLangVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAssignmentOperator
Visit a parse tree produced bySLangParser.assignmentOperator().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAssignmentOperatorin interfaceSLangVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitUnaryOperator
Visit a parse tree produced bySLangParser.unaryOperator().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitUnaryOperatorin interfaceSLangVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDisjunctionOperator
Visit a parse tree produced bySLangParser.disjunctionOperator().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDisjunctionOperatorin interfaceSLangVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitConjunctionOperator
Visit a parse tree produced bySLangParser.conjunctionOperator().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitConjunctionOperatorin interfaceSLangVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSimpleType
Visit a parse tree produced bySLangParser.simpleType().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSimpleTypein interfaceSLangVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLiteral
Visit a parse tree produced bySLangParser.literal().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLiteralin interfaceSLangVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSemi
Visit a parse tree produced bySLangParser.semi().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSemiin interfaceSLangVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIdentifier
Visit a parse tree produced bySLangParser.identifier().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitIdentifierin interfaceSLangVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-