Class DefaultNaftahParserVisitor
- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTreeVisitor<Object>,NaftahParserVisitor<Object>
This class visits and evaluates parse tree nodes generated by the Naftah parser. It provides the interpretation logic for various language constructs such as expressions, statements, operations, and control flows.
- Author:
- Chakib Daii
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Stringprivate final NTupleprivate final Stringprivate final Stringprivate intCurrent depth in the parse tree traversal.(package private) static final LoggerLogger instance for logging parser visitor activities.private final NaftahParserThe ANTLR parser instance that produces the parse tree.static org.antlr.v4.runtime.VocabularyThe vocabulary used by the parser, typically containing mappings from token names to their symbolic and literal representations. -
Constructor Summary
ConstructorsConstructorDescriptionDefaultNaftahParserVisitor(NaftahParser parser, List<String> args) Constructs the visitor with a given parser. -
Method Summary
Modifier and TypeMethodDescriptionvisit()Starts the visiting process by parsing the program and visiting the resulting parse tree.Visit a parse tree produced byNaftahParser.actorDeclaration().Visit a parse tree produced by theactorDeclarationStatementlabeled alternative inNaftahParser.statement().Visit a parse tree produced byNaftahParser.additiveExpression().Visit a parse tree produced byNaftahParser.argumentList().Visit a parse tree produced byNaftahParser.assignment().Visit a parse tree produced by theassignmentStatementlabeled alternative inNaftahParser.statement().Visit a parse tree produced by theawaitUnaryExpressionlabeled alternative inNaftahParser.unaryExpression().Visit a parse tree produced byNaftahParser.bitwiseExpression().Visit a parse tree produced byNaftahParser.block().Visit a parse tree produced by theblockStatementlabeled alternative inNaftahParser.statement().Visit a parse tree produced byNaftahParser.breakStatement().Visit a parse tree produced by thebreakStatementStatementlabeled alternative inNaftahParser.statement().Visit a parse tree produced byNaftahParser.builtIn().Visit a parse tree produced by thebuiltInTypelabeled alternative inNaftahParser.type().Visit a parse tree produced byNaftahParser.callableImportElement().Visit a parse tree produced byNaftahParser.caseStatement().Visit a parse tree produced by thecaseStatementStatementlabeled alternative inNaftahParser.statement().Visit a parse tree produced byNaftahParser.channelDeclaration().Visit a parse tree produced by thechannelDeclarationStatementlabeled alternative inNaftahParser.statement().Visit a parse tree produced by thecharacterValuelabeled alternative inNaftahParser.value().Visit a parse tree produced byNaftahParser.collectionAccess().Visit a parse tree produced by thecollectionAccessExpressionlabeled alternative inNaftahParser.primary().Visit a parse tree produced byNaftahParser.collectionAccessIndex().Visit a parse tree produced by thecollectionExpressionlabeled alternative inNaftahParser.primary().Visit a parse tree produced byNaftahParser.complexBuiltIn().Visit a parse tree produced by thecomplexTypelabeled alternative inNaftahParser.type().Visit a parse tree produced byNaftahParser.continueStatement().Visit a parse tree produced by thecontinueStatementStatementlabeled alternative inNaftahParser.statement().Visit a parse tree produced byNaftahParser.declaration().Visit a parse tree produced by thedeclarationStatementlabeled alternative inNaftahParser.statement().Visit a parse tree produced by theemptyMaplabeled alternative inNaftahParser.collection().Visit a parse tree produced by theemptyObjectlabeled alternative inNaftahParser.object().Visit a parse tree produced by theemptySetlabeled alternative inNaftahParser.collection().Visit a parse tree produced byNaftahParser.equalityExpression().Visit a parse tree produced byNaftahParser.errorCase().Visit a parse tree produced byNaftahParser.expression().Visit a parse tree produced by theexpressionStatementlabeled alternative inNaftahParser.statement().Visit a parse tree produced by thefalseValuelabeled alternative inNaftahParser.value().Visit a parse tree produced by theforEachLoopStatementlabeled alternative inNaftahParser.forStatement().Visit a parse tree produced by theforStatementStatementlabeled alternative inNaftahParser.statement().Visit a parse tree produced byNaftahParser.functionCall().Visit a parse tree produced by thefunctionCallExpressionlabeled alternative inNaftahParser.primary().Visit a parse tree produced byNaftahParser.functionDeclaration().Visit a parse tree produced by thefunctionDeclarationStatementlabeled alternative inNaftahParser.statement().Visit a parse tree produced by thegroupedImportStatementlabeled alternative inNaftahParser.importStatement().Visit a parse tree produced by theidValuelabeled alternative inNaftahParser.value().Visit a parse tree produced byNaftahParser.ifStatement().Visit a parse tree produced by theifStatementStatementlabeled alternative inNaftahParser.statement().Visit a parse tree produced byNaftahParser.implementationDeclaration().Visit a parse tree produced by theimplementationDeclarationStatementlabeled alternative inNaftahParser.statement().Visit a parse tree produced byNaftahParser.implementationFunctions().Visit a parse tree produced byNaftahParser.importAlias().Visit a parse tree produced byNaftahParser.imports().Visit a parse tree produced by theimportStatementAsAliaslabeled alternative inNaftahParser.importStatement().Visit a parse tree produced by theimportStatementStatementlabeled alternative inNaftahParser.statement().Visit a parse tree produced by theindexAndKeyValueForeachTargetlabeled alternative inNaftahParser.foreachTarget().Visit a parse tree produced by theindexAndValueForeachTargetlabeled alternative inNaftahParser.foreachTarget().Visit a parse tree produced by theindexBasedForLoopStatementlabeled alternative inNaftahParser.forStatement().Visit a parse tree produced byNaftahParser.initCall().Visit a parse tree produced by theinitCallExpressionlabeled alternative inNaftahParser.primary().Map.Entry<?,?> Visit a parse tree produced byNaftahParser.keyValue().Visit a parse tree produced by thekeyValueForeachTargetlabeled alternative inNaftahParser.foreachTarget().Map<?,?> Visit a parse tree produced byNaftahParser.keyValuePairs().Visit a parse tree produced byNaftahParser.label().List<?>Visit a parse tree produced by thelistValuelabeled alternative inNaftahParser.collection().Visit a parse tree produced byNaftahParser.logicalExpression().Map<?,?> Visit a parse tree produced by themapValuelabeled alternative inNaftahParser.collection().Visit a parse tree produced byNaftahParser.multipleAssignmentsExpression().Visit a parse tree produced byNaftahParser.multipleDeclarations().Visit a parse tree produced by themultipleElementslabeled alternative inNaftahParser.elements().Visit a parse tree produced byNaftahParser.multipleReturns().Visit a parse tree produced byNaftahParser.multiplicativeExpression().Visit a parse tree produced by thenanValuelabeled alternative inNaftahParser.value().Visit a parse tree produced byNaftahParser.noneCase().Visit a parse tree produced byNaftahParser.nullishExpression().Visit a parse tree produced by thenullValuelabeled alternative inNaftahParser.value().Visit a parse tree produced by thenumberValuelabeled alternative inNaftahParser.value().Visit a parse tree produced byNaftahParser.objectAccess().Visit a parse tree produced by theobjectAccessExpressionlabeled alternative inNaftahParser.primary().Visit a parse tree produced by theobjectExpressionlabeled alternative inNaftahParser.primary().Visit a parse tree produced byNaftahParser.objectFields().Visit a parse tree produced by theobjectValuelabeled alternative inNaftahParser.object().Visit a parse tree produced byNaftahParser.okCase().Visit a parse tree produced byNaftahParser.parameterDeclaration().Visit a parse tree produced byNaftahParser.parameterDeclarationList().Visit a parse tree produced by theparenthesisExpressionlabeled alternative inNaftahParser.primary().Visit a parse tree produced byNaftahParser.postfixExpression().Visit a parse tree produced by thepostfixUnaryExpressionlabeled alternative inNaftahParser.unaryExpression().Visit a parse tree produced byNaftahParser.powerExpression().Visit a parse tree produced by theprefixUnaryExpressionlabeled alternative inNaftahParser.unaryExpression().Visit a parse tree produced byNaftahParser.program().Visit a parse tree produced by thequalifiedCallImportStatementlabeled alternative inNaftahParser.importStatement().Visit a parse tree produced byNaftahParser.qualifiedName().Visit a parse tree produced by thequalifiedNameCalllabeled alternative inNaftahParser.qualifiedCall().Visit a parse tree produced by thequalifiedNameTypelabeled alternative inNaftahParser.type().Visit a parse tree produced byNaftahParser.qualifiedObjectAccess().Visit a parse tree produced by theradixNumberValuelabeled alternative inNaftahParser.value().Visit a parse tree produced byNaftahParser.relationalExpression().Visit a parse tree produced byNaftahParser.repeatStatement().Visit a parse tree produced by therepeatStatementStatementlabeled alternative inNaftahParser.statement().Visit a parse tree produced byNaftahParser.returnStatement().Visit a parse tree produced by thereturnStatementStatementlabeled alternative inNaftahParser.statement().Visit a parse tree produced byNaftahParser.scopeBlock().Visit a parse tree produced by thescopeBlockStatementlabeled alternative inNaftahParser.statement().Set<?>Visit a parse tree produced by thesetValuelabeled alternative inNaftahParser.collection().Visit a parse tree produced byNaftahParser.shiftExpression().Visit a parse tree produced by thesimpleCalllabeled alternative inNaftahParser.qualifiedCall().Visit a parse tree produced byNaftahParser.singleAssignmentExpression().Visit a parse tree produced byNaftahParser.singleDeclaration().Visit a parse tree produced by thesingleElementlabeled alternative inNaftahParser.elements().Visit a parse tree produced byNaftahParser.singleReturn().Visit a parse tree produced byNaftahParser.someCase().Visit a parse tree produced by thespawnUnaryExpressionlabeled alternative inNaftahParser.unaryExpression().Visit a parse tree produced by thestringValuelabeled alternative inNaftahParser.value().Visit a parse tree produced byNaftahParser.ternaryExpression().Visit a parse tree produced by thetrueValuelabeled alternative inNaftahParser.value().Visit a parse tree produced by thetryStatementStatementlabeled alternative inNaftahParser.statement().Visit a parse tree produced by thetryStatementWithOptionCaseslabeled alternative inNaftahParser.tryStatement().Visit a parse tree produced by thetryStatementWithTryCaseslabeled alternative inNaftahParser.tryStatement().Visit a parse tree produced by thetupleMultipleElementslabeled alternative inNaftahParser.tupleElements().Visit a parse tree produced by thetupleSingleElementlabeled alternative inNaftahParser.tupleElements().Visit a parse tree produced by thetupleValuelabeled alternative inNaftahParser.collection().Visit a parse tree produced by thetypeExpressionlabeled alternative inNaftahParser.primary().Visit a parse tree produced by thetypeReturnTypelabeled alternative inNaftahParser.returnType().Visit a parse tree produced by thevalueExpressionlabeled alternative inNaftahParser.primary().Visit a parse tree produced by thevalueForeachTargetlabeled alternative inNaftahParser.foreachTarget().Visit a parse tree produced by thevarTypelabeled alternative inNaftahParser.type().Visit a parse tree produced by thevoidReturnTypelabeled alternative inNaftahParser.returnType().Visit a parse tree produced byNaftahParser.whileStatement().Visit a parse tree produced by thewhileStatementStatementlabeled alternative inNaftahParser.statement().Methods inherited from class org.daiitech.naftah.parser.NaftahParserBaseVisitor
visitCallSegment, visitCaseLabelList, visitCollectionMultipleElements, visitImportElements, visitMultipleAssignments, visitOptionCases, visitPrimaryCall, visitPropertyAccess, visitSelfOrId, visitSingleAssignment, visitTargetExecutableIndex, visitTryCasesMethods 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
-
Field Details
-
LOGGER
Logger instance for logging parser visitor activities. -
PARSER_VOCABULARY
public static org.antlr.v4.runtime.Vocabulary PARSER_VOCABULARYThe vocabulary used by the parser, typically containing mappings from token names to their symbolic and literal representations. This is often generated by ANTLR and used for error reporting, syntax highlighting, and introspection.This field is usually initialized by the parser class generated by ANTLR and provides access to the full vocabulary of the language grammar, including terminals and their associated names.
-
parser
The ANTLR parser instance that produces the parse tree. -
args
-
ARGS_VAR_NAME
- See Also:
-
ARGS_SIZE
- See Also:
-
ACTOR_MESSAGE
- See Also:
-
depth
private int depthCurrent depth in the parse tree traversal.
-
-
Constructor Details
-
DefaultNaftahParserVisitor
Constructs the visitor with a given parser.- Parameters:
parser- the ANTLR-generated Naftah parser instance
-
-
Method Details
-
visit
Starts the visiting process by parsing the program and visiting the resulting parse tree.- Returns:
- the result of visiting the parse tree
-
visitProgram
Visit a parse tree produced byNaftahParser.program().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitProgramin interfaceNaftahParserVisitor<Object>- Overrides:
visitProgramin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitImportStatementStatement
Visit a parse tree produced by theimportStatementStatementlabeled alternative inNaftahParser.statement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitImportStatementStatementin interfaceNaftahParserVisitor<Object>- Overrides:
visitImportStatementStatementin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitImportStatementAsAlias
Visit a parse tree produced by theimportStatementAsAliaslabeled alternative inNaftahParser.importStatement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitImportStatementAsAliasin interfaceNaftahParserVisitor<Object>- Overrides:
visitImportStatementAsAliasin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitGroupedImportStatement
Visit a parse tree produced by thegroupedImportStatementlabeled alternative inNaftahParser.importStatement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitGroupedImportStatementin interfaceNaftahParserVisitor<Object>- Overrides:
visitGroupedImportStatementin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitQualifiedCallImportStatement
public Object visitQualifiedCallImportStatement(NaftahParser.QualifiedCallImportStatementContext ctx) Visit a parse tree produced by thequalifiedCallImportStatementlabeled alternative inNaftahParser.importStatement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitQualifiedCallImportStatementin interfaceNaftahParserVisitor<Object>- Overrides:
visitQualifiedCallImportStatementin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitImports
Visit a parse tree produced byNaftahParser.imports().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitImportsin interfaceNaftahParserVisitor<Object>- Overrides:
visitImportsin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCallableImportElement
Visit a parse tree produced byNaftahParser.callableImportElement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitCallableImportElementin interfaceNaftahParserVisitor<Object>- Overrides:
visitCallableImportElementin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitImportAlias
Visit a parse tree produced byNaftahParser.importAlias().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitImportAliasin interfaceNaftahParserVisitor<Object>- Overrides:
visitImportAliasin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDeclarationStatement
Visit a parse tree produced by thedeclarationStatementlabeled alternative inNaftahParser.statement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDeclarationStatementin interfaceNaftahParserVisitor<Object>- Overrides:
visitDeclarationStatementin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitChannelDeclarationStatement
Visit a parse tree produced by thechannelDeclarationStatementlabeled alternative inNaftahParser.statement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitChannelDeclarationStatementin interfaceNaftahParserVisitor<Object>- Overrides:
visitChannelDeclarationStatementin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitActorDeclarationStatement
Visit a parse tree produced by theactorDeclarationStatementlabeled alternative inNaftahParser.statement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitActorDeclarationStatementin interfaceNaftahParserVisitor<Object>- Overrides:
visitActorDeclarationStatementin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAssignmentStatement
Visit a parse tree produced by theassignmentStatementlabeled alternative inNaftahParser.statement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAssignmentStatementin interfaceNaftahParserVisitor<Object>- Overrides:
visitAssignmentStatementin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFunctionDeclarationStatement
public Object visitFunctionDeclarationStatement(NaftahParser.FunctionDeclarationStatementContext ctx) Visit a parse tree produced by thefunctionDeclarationStatementlabeled alternative inNaftahParser.statement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFunctionDeclarationStatementin interfaceNaftahParserVisitor<Object>- Overrides:
visitFunctionDeclarationStatementin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIfStatementStatement
Visit a parse tree produced by theifStatementStatementlabeled alternative inNaftahParser.statement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitIfStatementStatementin interfaceNaftahParserVisitor<Object>- Overrides:
visitIfStatementStatementin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitForStatementStatement
Visit a parse tree produced by theforStatementStatementlabeled alternative inNaftahParser.statement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitForStatementStatementin interfaceNaftahParserVisitor<Object>- Overrides:
visitForStatementStatementin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitWhileStatementStatement
Visit a parse tree produced by thewhileStatementStatementlabeled alternative inNaftahParser.statement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitWhileStatementStatementin interfaceNaftahParserVisitor<Object>- Overrides:
visitWhileStatementStatementin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRepeatStatementStatement
Visit a parse tree produced by therepeatStatementStatementlabeled alternative inNaftahParser.statement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitRepeatStatementStatementin interfaceNaftahParserVisitor<Object>- Overrides:
visitRepeatStatementStatementin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCaseStatementStatement
Visit a parse tree produced by thecaseStatementStatementlabeled alternative inNaftahParser.statement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitCaseStatementStatementin interfaceNaftahParserVisitor<Object>- Overrides:
visitCaseStatementStatementin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTryStatementStatement
Visit a parse tree produced by thetryStatementStatementlabeled alternative inNaftahParser.statement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTryStatementStatementin interfaceNaftahParserVisitor<Object>- Overrides:
visitTryStatementStatementin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBreakStatementStatement
Visit a parse tree produced by thebreakStatementStatementlabeled alternative inNaftahParser.statement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBreakStatementStatementin interfaceNaftahParserVisitor<Object>- Overrides:
visitBreakStatementStatementin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitContinueStatementStatement
Visit a parse tree produced by thecontinueStatementStatementlabeled alternative inNaftahParser.statement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitContinueStatementStatementin interfaceNaftahParserVisitor<Object>- Overrides:
visitContinueStatementStatementin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitReturnStatementStatement
Visit a parse tree produced by thereturnStatementStatementlabeled alternative inNaftahParser.statement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitReturnStatementStatementin interfaceNaftahParserVisitor<Object>- Overrides:
visitReturnStatementStatementin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitScopeBlockStatement
Visit a parse tree produced by thescopeBlockStatementlabeled alternative inNaftahParser.statement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitScopeBlockStatementin interfaceNaftahParserVisitor<Object>- Overrides:
visitScopeBlockStatementin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBlockStatement
Visit a parse tree produced by theblockStatementlabeled alternative inNaftahParser.statement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBlockStatementin interfaceNaftahParserVisitor<Object>- Overrides:
visitBlockStatementin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDeclaration
Visit a parse tree produced byNaftahParser.declaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDeclarationin interfaceNaftahParserVisitor<Object>- Overrides:
visitDeclarationin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSingleDeclaration
Visit a parse tree produced byNaftahParser.singleDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSingleDeclarationin interfaceNaftahParserVisitor<Object>- Overrides:
visitSingleDeclarationin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMultipleDeclarations
Visit a parse tree produced byNaftahParser.multipleDeclarations().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMultipleDeclarationsin interfaceNaftahParserVisitor<Object>- Overrides:
visitMultipleDeclarationsin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitChannelDeclaration
Visit a parse tree produced byNaftahParser.channelDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitChannelDeclarationin interfaceNaftahParserVisitor<Object>- Overrides:
visitChannelDeclarationin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitActorDeclaration
Visit a parse tree produced byNaftahParser.actorDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitActorDeclarationin interfaceNaftahParserVisitor<Object>- Overrides:
visitActorDeclarationin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAssignment
Visit a parse tree produced byNaftahParser.assignment().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAssignmentin interfaceNaftahParserVisitor<Object>- Overrides:
visitAssignmentin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSingleAssignmentExpression
Visit a parse tree produced byNaftahParser.singleAssignmentExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSingleAssignmentExpressionin interfaceNaftahParserVisitor<Object>- Overrides:
visitSingleAssignmentExpressionin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMultipleAssignmentsExpression
public Object visitMultipleAssignmentsExpression(NaftahParser.MultipleAssignmentsExpressionContext ctx) Visit a parse tree produced byNaftahParser.multipleAssignmentsExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMultipleAssignmentsExpressionin interfaceNaftahParserVisitor<Object>- Overrides:
visitMultipleAssignmentsExpressionin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFunctionDeclaration
Visit a parse tree produced byNaftahParser.functionDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFunctionDeclarationin interfaceNaftahParserVisitor<Object>- Overrides:
visitFunctionDeclarationin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitParameterDeclarationList
Visit a parse tree produced byNaftahParser.parameterDeclarationList().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitParameterDeclarationListin interfaceNaftahParserVisitor<Object>- Overrides:
visitParameterDeclarationListin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitParameterDeclaration
Visit a parse tree produced byNaftahParser.parameterDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitParameterDeclarationin interfaceNaftahParserVisitor<Object>- Overrides:
visitParameterDeclarationin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInitCall
Visit a parse tree produced byNaftahParser.initCall().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitInitCallin interfaceNaftahParserVisitor<Object>- Overrides:
visitInitCallin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFunctionCall
Visit a parse tree produced byNaftahParser.functionCall().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFunctionCallin interfaceNaftahParserVisitor<Object>- Overrides:
visitFunctionCallin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSimpleCall
Visit a parse tree produced by thesimpleCalllabeled alternative inNaftahParser.qualifiedCall().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSimpleCallin interfaceNaftahParserVisitor<Object>- Overrides:
visitSimpleCallin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitQualifiedNameCall
Visit a parse tree produced by thequalifiedNameCalllabeled alternative inNaftahParser.qualifiedCall().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitQualifiedNameCallin interfaceNaftahParserVisitor<Object>- Overrides:
visitQualifiedNameCallin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArgumentList
Visit a parse tree produced byNaftahParser.argumentList().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitArgumentListin interfaceNaftahParserVisitor<Object>- Overrides:
visitArgumentListin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIfStatement
Visit a parse tree produced byNaftahParser.ifStatement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitIfStatementin interfaceNaftahParserVisitor<Object>- Overrides:
visitIfStatementin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIndexBasedForLoopStatement
Visit a parse tree produced by theindexBasedForLoopStatementlabeled alternative inNaftahParser.forStatement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitIndexBasedForLoopStatementin interfaceNaftahParserVisitor<Object>- Overrides:
visitIndexBasedForLoopStatementin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitForEachLoopStatement
Visit a parse tree produced by theforEachLoopStatementlabeled alternative inNaftahParser.forStatement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitForEachLoopStatementin interfaceNaftahParserVisitor<Object>- Overrides:
visitForEachLoopStatementin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitValueForeachTarget
Visit a parse tree produced by thevalueForeachTargetlabeled alternative inNaftahParser.foreachTarget().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitValueForeachTargetin interfaceNaftahParserVisitor<Object>- Overrides:
visitValueForeachTargetin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIndexAndValueForeachTarget
Visit a parse tree produced by theindexAndValueForeachTargetlabeled alternative inNaftahParser.foreachTarget().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitIndexAndValueForeachTargetin interfaceNaftahParserVisitor<Object>- Overrides:
visitIndexAndValueForeachTargetin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitKeyValueForeachTarget
Visit a parse tree produced by thekeyValueForeachTargetlabeled alternative inNaftahParser.foreachTarget().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitKeyValueForeachTargetin interfaceNaftahParserVisitor<Object>- Overrides:
visitKeyValueForeachTargetin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIndexAndKeyValueForeachTarget
public NTuple visitIndexAndKeyValueForeachTarget(NaftahParser.IndexAndKeyValueForeachTargetContext ctx) Visit a parse tree produced by theindexAndKeyValueForeachTargetlabeled alternative inNaftahParser.foreachTarget().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitIndexAndKeyValueForeachTargetin interfaceNaftahParserVisitor<Object>- Overrides:
visitIndexAndKeyValueForeachTargetin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitWhileStatement
Visit a parse tree produced byNaftahParser.whileStatement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitWhileStatementin interfaceNaftahParserVisitor<Object>- Overrides:
visitWhileStatementin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRepeatStatement
Visit a parse tree produced byNaftahParser.repeatStatement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitRepeatStatementin interfaceNaftahParserVisitor<Object>- Overrides:
visitRepeatStatementin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCaseStatement
Visit a parse tree produced byNaftahParser.caseStatement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitCaseStatementin interfaceNaftahParserVisitor<Object>- Overrides:
visitCaseStatementin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTryStatementWithTryCases
Visit a parse tree produced by thetryStatementWithTryCaseslabeled alternative inNaftahParser.tryStatement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTryStatementWithTryCasesin interfaceNaftahParserVisitor<Object>- Overrides:
visitTryStatementWithTryCasesin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTryStatementWithOptionCases
Visit a parse tree produced by thetryStatementWithOptionCaseslabeled alternative inNaftahParser.tryStatement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTryStatementWithOptionCasesin interfaceNaftahParserVisitor<Object>- Overrides:
visitTryStatementWithOptionCasesin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitOkCase
Visit a parse tree produced byNaftahParser.okCase().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitOkCasein interfaceNaftahParserVisitor<Object>- Overrides:
visitOkCasein classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitErrorCase
Visit a parse tree produced byNaftahParser.errorCase().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitErrorCasein interfaceNaftahParserVisitor<Object>- Overrides:
visitErrorCasein classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSomeCase
Visit a parse tree produced byNaftahParser.someCase().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSomeCasein interfaceNaftahParserVisitor<Object>- Overrides:
visitSomeCasein classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNoneCase
Visit a parse tree produced byNaftahParser.noneCase().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNoneCasein interfaceNaftahParserVisitor<Object>- Overrides:
visitNoneCasein classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpressionStatement
Visit a parse tree produced by theexpressionStatementlabeled alternative inNaftahParser.statement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitExpressionStatementin interfaceNaftahParserVisitor<Object>- Overrides:
visitExpressionStatementin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBreakStatement
Visit a parse tree produced byNaftahParser.breakStatement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBreakStatementin interfaceNaftahParserVisitor<Object>- Overrides:
visitBreakStatementin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitContinueStatement
Visit a parse tree produced byNaftahParser.continueStatement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitContinueStatementin interfaceNaftahParserVisitor<Object>- Overrides:
visitContinueStatementin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitReturnStatement
Visit a parse tree produced byNaftahParser.returnStatement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitReturnStatementin interfaceNaftahParserVisitor<Object>- Overrides:
visitReturnStatementin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSingleReturn
Visit a parse tree produced byNaftahParser.singleReturn().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSingleReturnin interfaceNaftahParserVisitor<Object>- Overrides:
visitSingleReturnin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMultipleReturns
Visit a parse tree produced byNaftahParser.multipleReturns().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMultipleReturnsin interfaceNaftahParserVisitor<Object>- Overrides:
visitMultipleReturnsin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitScopeBlock
Visit a parse tree produced byNaftahParser.scopeBlock().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitScopeBlockin interfaceNaftahParserVisitor<Object>- Overrides:
visitScopeBlockin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBlock
Visit a parse tree produced byNaftahParser.block().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBlockin interfaceNaftahParserVisitor<Object>- Overrides:
visitBlockin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitObjectExpression
Visit a parse tree produced by theobjectExpressionlabeled alternative inNaftahParser.primary().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitObjectExpressionin interfaceNaftahParserVisitor<Object>- Overrides:
visitObjectExpressionin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEmptyObject
Visit a parse tree produced by theemptyObjectlabeled alternative inNaftahParser.object().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitEmptyObjectin interfaceNaftahParserVisitor<Object>- Overrides:
visitEmptyObjectin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitObjectValue
Visit a parse tree produced by theobjectValuelabeled alternative inNaftahParser.object().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitObjectValuein interfaceNaftahParserVisitor<Object>- Overrides:
visitObjectValuein classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitObjectFields
Visit a parse tree produced byNaftahParser.objectFields().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitObjectFieldsin interfaceNaftahParserVisitor<Object>- Overrides:
visitObjectFieldsin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitImplementationDeclarationStatement
public Object visitImplementationDeclarationStatement(NaftahParser.ImplementationDeclarationStatementContext ctx) Visit a parse tree produced by theimplementationDeclarationStatementlabeled alternative inNaftahParser.statement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitImplementationDeclarationStatementin interfaceNaftahParserVisitor<Object>- Overrides:
visitImplementationDeclarationStatementin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitImplementationDeclaration
Visit a parse tree produced byNaftahParser.implementationDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitImplementationDeclarationin interfaceNaftahParserVisitor<Object>- Overrides:
visitImplementationDeclarationin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitImplementationFunctions
Visit a parse tree produced byNaftahParser.implementationFunctions().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitImplementationFunctionsin interfaceNaftahParserVisitor<Object>- Overrides:
visitImplementationFunctionsin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitObjectAccessExpression
Visit a parse tree produced by theobjectAccessExpressionlabeled alternative inNaftahParser.primary().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitObjectAccessExpressionin interfaceNaftahParserVisitor<Object>- Overrides:
visitObjectAccessExpressionin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitObjectAccess
Visit a parse tree produced byNaftahParser.objectAccess().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitObjectAccessin interfaceNaftahParserVisitor<Object>- Overrides:
visitObjectAccessin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitQualifiedObjectAccess
Visit a parse tree produced byNaftahParser.qualifiedObjectAccess().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitQualifiedObjectAccessin interfaceNaftahParserVisitor<Object>- Overrides:
visitQualifiedObjectAccessin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCollectionExpression
Visit a parse tree produced by thecollectionExpressionlabeled alternative inNaftahParser.primary().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitCollectionExpressionin interfaceNaftahParserVisitor<Object>- Overrides:
visitCollectionExpressionin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCollectionAccessExpression
Visit a parse tree produced by thecollectionAccessExpressionlabeled alternative inNaftahParser.primary().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitCollectionAccessExpressionin interfaceNaftahParserVisitor<Object>- Overrides:
visitCollectionAccessExpressionin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCollectionAccess
Visit a parse tree produced byNaftahParser.collectionAccess().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitCollectionAccessin interfaceNaftahParserVisitor<Object>- Overrides:
visitCollectionAccessin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCollectionAccessIndex
Visit a parse tree produced byNaftahParser.collectionAccessIndex().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitCollectionAccessIndexin interfaceNaftahParserVisitor<Object>- Overrides:
visitCollectionAccessIndexin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitListValue
Visit a parse tree produced by thelistValuelabeled alternative inNaftahParser.collection().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitListValuein interfaceNaftahParserVisitor<Object>- Overrides:
visitListValuein classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTupleValue
Visit a parse tree produced by thetupleValuelabeled alternative inNaftahParser.collection().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTupleValuein interfaceNaftahParserVisitor<Object>- Overrides:
visitTupleValuein classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEmptySet
Visit a parse tree produced by theemptySetlabeled alternative inNaftahParser.collection().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitEmptySetin interfaceNaftahParserVisitor<Object>- Overrides:
visitEmptySetin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSetValue
Visit a parse tree produced by thesetValuelabeled alternative inNaftahParser.collection().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSetValuein interfaceNaftahParserVisitor<Object>- Overrides:
visitSetValuein classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEmptyMap
Visit a parse tree produced by theemptyMaplabeled alternative inNaftahParser.collection().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitEmptyMapin interfaceNaftahParserVisitor<Object>- Overrides:
visitEmptyMapin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMapValue
Visit a parse tree produced by themapValuelabeled alternative inNaftahParser.collection().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMapValuein interfaceNaftahParserVisitor<Object>- Overrides:
visitMapValuein classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSingleElement
Visit a parse tree produced by thesingleElementlabeled alternative inNaftahParser.elements().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSingleElementin interfaceNaftahParserVisitor<Object>- Overrides:
visitSingleElementin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTupleSingleElement
Visit a parse tree produced by thetupleSingleElementlabeled alternative inNaftahParser.tupleElements().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTupleSingleElementin interfaceNaftahParserVisitor<Object>- Overrides:
visitTupleSingleElementin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMultipleElements
Visit a parse tree produced by themultipleElementslabeled alternative inNaftahParser.elements().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMultipleElementsin interfaceNaftahParserVisitor<Object>- Overrides:
visitMultipleElementsin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTupleMultipleElements
Visit a parse tree produced by thetupleMultipleElementslabeled alternative inNaftahParser.tupleElements().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTupleMultipleElementsin interfaceNaftahParserVisitor<Object>- Overrides:
visitTupleMultipleElementsin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitKeyValuePairs
Visit a parse tree produced byNaftahParser.keyValuePairs().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitKeyValuePairsin interfaceNaftahParserVisitor<Object>- Overrides:
visitKeyValuePairsin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitKeyValue
Visit a parse tree produced byNaftahParser.keyValue().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitKeyValuein interfaceNaftahParserVisitor<Object>- Overrides:
visitKeyValuein classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitValueExpression
Visit a parse tree produced by thevalueExpressionlabeled alternative inNaftahParser.primary().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitValueExpressionin interfaceNaftahParserVisitor<Object>- Overrides:
visitValueExpressionin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeExpression
Visit a parse tree produced by thetypeExpressionlabeled alternative inNaftahParser.primary().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTypeExpressionin interfaceNaftahParserVisitor<Object>- Overrides:
visitTypeExpressionin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitParenthesisExpression
Visit a parse tree produced by theparenthesisExpressionlabeled alternative inNaftahParser.primary().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitParenthesisExpressionin interfaceNaftahParserVisitor<Object>- Overrides:
visitParenthesisExpressionin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInitCallExpression
Visit a parse tree produced by theinitCallExpressionlabeled alternative inNaftahParser.primary().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitInitCallExpressionin interfaceNaftahParserVisitor<Object>- Overrides:
visitInitCallExpressionin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFunctionCallExpression
Visit a parse tree produced by thefunctionCallExpressionlabeled alternative inNaftahParser.primary().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFunctionCallExpressionin interfaceNaftahParserVisitor<Object>- Overrides:
visitFunctionCallExpressionin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNumberValue
Visit a parse tree produced by thenumberValuelabeled alternative inNaftahParser.value().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNumberValuein interfaceNaftahParserVisitor<Object>- Overrides:
visitNumberValuein classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRadixNumberValue
Visit a parse tree produced by theradixNumberValuelabeled alternative inNaftahParser.value().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitRadixNumberValuein interfaceNaftahParserVisitor<Object>- Overrides:
visitRadixNumberValuein classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCharacterValue
Visit a parse tree produced by thecharacterValuelabeled alternative inNaftahParser.value().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitCharacterValuein interfaceNaftahParserVisitor<Object>- Overrides:
visitCharacterValuein classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStringValue
Visit a parse tree produced by thestringValuelabeled alternative inNaftahParser.value().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitStringValuein interfaceNaftahParserVisitor<Object>- Overrides:
visitStringValuein classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTrueValue
Visit a parse tree produced by thetrueValuelabeled alternative inNaftahParser.value().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTrueValuein interfaceNaftahParserVisitor<Object>- Overrides:
visitTrueValuein classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFalseValue
Visit a parse tree produced by thefalseValuelabeled alternative inNaftahParser.value().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFalseValuein interfaceNaftahParserVisitor<Object>- Overrides:
visitFalseValuein classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNullValue
Visit a parse tree produced by thenullValuelabeled alternative inNaftahParser.value().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNullValuein interfaceNaftahParserVisitor<Object>- Overrides:
visitNullValuein classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIdValue
Visit a parse tree produced by theidValuelabeled alternative inNaftahParser.value().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitIdValuein interfaceNaftahParserVisitor<Object>- Overrides:
visitIdValuein classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVoidReturnType
Visit a parse tree produced by thevoidReturnTypelabeled alternative inNaftahParser.returnType().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitVoidReturnTypein interfaceNaftahParserVisitor<Object>- Overrides:
visitVoidReturnTypein classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeReturnType
Visit a parse tree produced by thetypeReturnTypelabeled alternative inNaftahParser.returnType().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTypeReturnTypein interfaceNaftahParserVisitor<Object>- Overrides:
visitTypeReturnTypein classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVarType
Visit a parse tree produced by thevarTypelabeled alternative inNaftahParser.type().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitVarTypein interfaceNaftahParserVisitor<Object>- Overrides:
visitVarTypein classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitComplexType
Visit a parse tree produced by thecomplexTypelabeled alternative inNaftahParser.type().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitComplexTypein interfaceNaftahParserVisitor<Object>- Overrides:
visitComplexTypein classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBuiltInType
Visit a parse tree produced by thebuiltInTypelabeled alternative inNaftahParser.type().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBuiltInTypein interfaceNaftahParserVisitor<Object>- Overrides:
visitBuiltInTypein classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitComplexBuiltIn
Visit a parse tree produced byNaftahParser.complexBuiltIn().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitComplexBuiltInin interfaceNaftahParserVisitor<Object>- Overrides:
visitComplexBuiltInin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBuiltIn
Visit a parse tree produced byNaftahParser.builtIn().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBuiltInin interfaceNaftahParserVisitor<Object>- Overrides:
visitBuiltInin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitQualifiedNameType
Visit a parse tree produced by thequalifiedNameTypelabeled alternative inNaftahParser.type().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitQualifiedNameTypein interfaceNaftahParserVisitor<Object>- Overrides:
visitQualifiedNameTypein classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitQualifiedName
Visit a parse tree produced byNaftahParser.qualifiedName().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitQualifiedNamein interfaceNaftahParserVisitor<Object>- Overrides:
visitQualifiedNamein classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLabel
Visit a parse tree produced byNaftahParser.label().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLabelin interfaceNaftahParserVisitor<Object>- Overrides:
visitLabelin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpression
Visit a parse tree produced byNaftahParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitExpressionin interfaceNaftahParserVisitor<Object>- Overrides:
visitExpressionin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTernaryExpression
Visit a parse tree produced byNaftahParser.ternaryExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTernaryExpressionin interfaceNaftahParserVisitor<Object>- Overrides:
visitTernaryExpressionin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNullishExpression
Visit a parse tree produced byNaftahParser.nullishExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNullishExpressionin interfaceNaftahParserVisitor<Object>- Overrides:
visitNullishExpressionin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLogicalExpression
Visit a parse tree produced byNaftahParser.logicalExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLogicalExpressionin interfaceNaftahParserVisitor<Object>- Overrides:
visitLogicalExpressionin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBitwiseExpression
Visit a parse tree produced byNaftahParser.bitwiseExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBitwiseExpressionin interfaceNaftahParserVisitor<Object>- Overrides:
visitBitwiseExpressionin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEqualityExpression
Visit a parse tree produced byNaftahParser.equalityExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitEqualityExpressionin interfaceNaftahParserVisitor<Object>- Overrides:
visitEqualityExpressionin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRelationalExpression
Visit a parse tree produced byNaftahParser.relationalExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitRelationalExpressionin interfaceNaftahParserVisitor<Object>- Overrides:
visitRelationalExpressionin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitShiftExpression
Visit a parse tree produced byNaftahParser.shiftExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitShiftExpressionin interfaceNaftahParserVisitor<Object>- Overrides:
visitShiftExpressionin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAdditiveExpression
Visit a parse tree produced byNaftahParser.additiveExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAdditiveExpressionin interfaceNaftahParserVisitor<Object>- Overrides:
visitAdditiveExpressionin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMultiplicativeExpression
Visit a parse tree produced byNaftahParser.multiplicativeExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMultiplicativeExpressionin interfaceNaftahParserVisitor<Object>- Overrides:
visitMultiplicativeExpressionin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPowerExpression
Visit a parse tree produced byNaftahParser.powerExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPowerExpressionin interfaceNaftahParserVisitor<Object>- Overrides:
visitPowerExpressionin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSpawnUnaryExpression
Visit a parse tree produced by thespawnUnaryExpressionlabeled alternative inNaftahParser.unaryExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSpawnUnaryExpressionin interfaceNaftahParserVisitor<Object>- Overrides:
visitSpawnUnaryExpressionin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAwaitUnaryExpression
Visit a parse tree produced by theawaitUnaryExpressionlabeled alternative inNaftahParser.unaryExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAwaitUnaryExpressionin interfaceNaftahParserVisitor<Object>- Overrides:
visitAwaitUnaryExpressionin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPrefixUnaryExpression
Visit a parse tree produced by theprefixUnaryExpressionlabeled alternative inNaftahParser.unaryExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPrefixUnaryExpressionin interfaceNaftahParserVisitor<Object>- Overrides:
visitPrefixUnaryExpressionin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPostfixUnaryExpression
Visit a parse tree produced by thepostfixUnaryExpressionlabeled alternative inNaftahParser.unaryExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPostfixUnaryExpressionin interfaceNaftahParserVisitor<Object>- Overrides:
visitPostfixUnaryExpressionin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPostfixExpression
Visit a parse tree produced byNaftahParser.postfixExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPostfixExpressionin interfaceNaftahParserVisitor<Object>- Overrides:
visitPostfixExpressionin classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNanValue
Visit a parse tree produced by thenanValuelabeled alternative inNaftahParser.value().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNanValuein interfaceNaftahParserVisitor<Object>- Overrides:
visitNanValuein classNaftahParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-