Package org.daiitech.naftah.parser
Interface NaftahParserVisitor<T>
- Type Parameters:
T- The return type of the visit operation. UseVoidfor operations with no return type.
- All Superinterfaces:
org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
- All Known Implementing Classes:
DefaultNaftahParserVisitor,NaftahParserBaseVisitor
public interface NaftahParserVisitor<T>
extends org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
This interface defines a complete generic visitor for a parse tree produced
by
NaftahParser.-
Method Summary
Modifier and TypeMethodDescriptionVisit 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.callSegment().Visit a parse tree produced byNaftahParser.caseLabelList().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.collectionMultipleElements().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.importElements().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().Visit a parse tree produced byNaftahParser.keyValue().Visit a parse tree produced by thekeyValueForeachTargetlabeled alternative inNaftahParser.foreachTarget().Visit a parse tree produced byNaftahParser.keyValuePairs().Visit a parse tree produced byNaftahParser.label().Visit a parse tree produced by thelistValuelabeled alternative inNaftahParser.collection().Visit a parse tree produced byNaftahParser.logicalExpression().Visit a parse tree produced by themapValuelabeled alternative inNaftahParser.collection().Visit a parse tree produced byNaftahParser.multipleAssignments().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.optionCases().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.primaryCall().Visit a parse tree produced byNaftahParser.program().Visit a parse tree produced byNaftahParser.propertyAccess().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().Visit a parse tree produced byNaftahParser.selfOrId().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.singleAssignment().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.targetExecutableIndex().Visit a parse tree produced byNaftahParser.ternaryExpression().Visit a parse tree produced by thetrueValuelabeled alternative inNaftahParser.value().Visit a parse tree produced byNaftahParser.tryCases().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 interface org.antlr.v4.runtime.tree.ParseTreeVisitor
visit, visitChildren, visitErrorNode, visitTerminal
-
Method Details
-
visitProgram
Visit a parse tree produced byNaftahParser.program().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitScopeBlockStatement
Visit a parse tree produced by thescopeBlockStatementlabeled alternative inNaftahParser.statement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBlockStatement
Visit a parse tree produced by theblockStatementlabeled alternative inNaftahParser.statement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitImportStatementStatement
Visit a parse tree produced by theimportStatementStatementlabeled alternative inNaftahParser.statement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIfStatementStatement
Visit a parse tree produced by theifStatementStatementlabeled alternative inNaftahParser.statement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitForStatementStatement
Visit a parse tree produced by theforStatementStatementlabeled alternative inNaftahParser.statement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitWhileStatementStatement
Visit a parse tree produced by thewhileStatementStatementlabeled alternative inNaftahParser.statement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRepeatStatementStatement
Visit a parse tree produced by therepeatStatementStatementlabeled alternative inNaftahParser.statement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCaseStatementStatement
Visit a parse tree produced by thecaseStatementStatementlabeled alternative inNaftahParser.statement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTryStatementStatement
Visit a parse tree produced by thetryStatementStatementlabeled alternative inNaftahParser.statement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFunctionDeclarationStatement
Visit a parse tree produced by thefunctionDeclarationStatementlabeled alternative inNaftahParser.statement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitImplementationDeclarationStatement
T visitImplementationDeclarationStatement(NaftahParser.ImplementationDeclarationStatementContext ctx) Visit a parse tree produced by theimplementationDeclarationStatementlabeled alternative inNaftahParser.statement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDeclarationStatement
Visit a parse tree produced by thedeclarationStatementlabeled alternative inNaftahParser.statement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitChannelDeclarationStatement
Visit a parse tree produced by thechannelDeclarationStatementlabeled alternative inNaftahParser.statement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitActorDeclarationStatement
Visit a parse tree produced by theactorDeclarationStatementlabeled alternative inNaftahParser.statement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAssignmentStatement
Visit a parse tree produced by theassignmentStatementlabeled alternative inNaftahParser.statement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitReturnStatementStatement
Visit a parse tree produced by thereturnStatementStatementlabeled alternative inNaftahParser.statement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBreakStatementStatement
Visit a parse tree produced by thebreakStatementStatementlabeled alternative inNaftahParser.statement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitContinueStatementStatement
Visit a parse tree produced by thecontinueStatementStatementlabeled alternative inNaftahParser.statement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpressionStatement
Visit a parse tree produced by theexpressionStatementlabeled alternative inNaftahParser.statement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitImportStatementAsAlias
Visit a parse tree produced by theimportStatementAsAliaslabeled alternative inNaftahParser.importStatement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitGroupedImportStatement
Visit a parse tree produced by thegroupedImportStatementlabeled alternative inNaftahParser.importStatement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitQualifiedCallImportStatement
Visit a parse tree produced by thequalifiedCallImportStatementlabeled alternative inNaftahParser.importStatement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitImports
Visit a parse tree produced byNaftahParser.imports().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitImportElements
Visit a parse tree produced byNaftahParser.importElements().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCallableImportElement
Visit a parse tree produced byNaftahParser.callableImportElement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitImportAlias
Visit a parse tree produced byNaftahParser.importAlias().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDeclaration
Visit a parse tree produced byNaftahParser.declaration().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSingleDeclaration
Visit a parse tree produced byNaftahParser.singleDeclaration().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMultipleDeclarations
Visit a parse tree produced byNaftahParser.multipleDeclarations().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAssignment
Visit a parse tree produced byNaftahParser.assignment().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSingleAssignmentExpression
Visit a parse tree produced byNaftahParser.singleAssignmentExpression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMultipleAssignmentsExpression
Visit a parse tree produced byNaftahParser.multipleAssignmentsExpression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSingleAssignment
Visit a parse tree produced byNaftahParser.singleAssignment().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMultipleAssignments
Visit a parse tree produced byNaftahParser.multipleAssignments().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFunctionDeclaration
Visit a parse tree produced byNaftahParser.functionDeclaration().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitParameterDeclarationList
Visit a parse tree produced byNaftahParser.parameterDeclarationList().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitParameterDeclaration
Visit a parse tree produced byNaftahParser.parameterDeclaration().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFunctionCall
Visit a parse tree produced byNaftahParser.functionCall().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInitCall
Visit a parse tree produced byNaftahParser.initCall().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCallSegment
Visit a parse tree produced byNaftahParser.callSegment().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPrimaryCall
Visit a parse tree produced byNaftahParser.primaryCall().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTargetExecutableIndex
Visit a parse tree produced byNaftahParser.targetExecutableIndex().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArgumentList
Visit a parse tree produced byNaftahParser.argumentList().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIfStatement
Visit a parse tree produced byNaftahParser.ifStatement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIndexBasedForLoopStatement
Visit a parse tree produced by theindexBasedForLoopStatementlabeled alternative inNaftahParser.forStatement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitForEachLoopStatement
Visit a parse tree produced by theforEachLoopStatementlabeled alternative inNaftahParser.forStatement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitValueForeachTarget
Visit a parse tree produced by thevalueForeachTargetlabeled alternative inNaftahParser.foreachTarget().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitKeyValueForeachTarget
Visit a parse tree produced by thekeyValueForeachTargetlabeled alternative inNaftahParser.foreachTarget().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIndexAndValueForeachTarget
Visit a parse tree produced by theindexAndValueForeachTargetlabeled alternative inNaftahParser.foreachTarget().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIndexAndKeyValueForeachTarget
Visit a parse tree produced by theindexAndKeyValueForeachTargetlabeled alternative inNaftahParser.foreachTarget().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitWhileStatement
Visit a parse tree produced byNaftahParser.whileStatement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRepeatStatement
Visit a parse tree produced byNaftahParser.repeatStatement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCaseStatement
Visit a parse tree produced byNaftahParser.caseStatement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCaseLabelList
Visit a parse tree produced byNaftahParser.caseLabelList().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTryStatementWithTryCases
Visit a parse tree produced by thetryStatementWithTryCaseslabeled alternative inNaftahParser.tryStatement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTryStatementWithOptionCases
Visit a parse tree produced by thetryStatementWithOptionCaseslabeled alternative inNaftahParser.tryStatement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTryCases
Visit a parse tree produced byNaftahParser.tryCases().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitOkCase
Visit a parse tree produced byNaftahParser.okCase().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitErrorCase
Visit a parse tree produced byNaftahParser.errorCase().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitOptionCases
Visit a parse tree produced byNaftahParser.optionCases().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSomeCase
Visit a parse tree produced byNaftahParser.someCase().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNoneCase
Visit a parse tree produced byNaftahParser.noneCase().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitScopeBlock
Visit a parse tree produced byNaftahParser.scopeBlock().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitChannelDeclaration
Visit a parse tree produced byNaftahParser.channelDeclaration().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitActorDeclaration
Visit a parse tree produced byNaftahParser.actorDeclaration().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBreakStatement
Visit a parse tree produced byNaftahParser.breakStatement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitContinueStatement
Visit a parse tree produced byNaftahParser.continueStatement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitReturnStatement
Visit a parse tree produced byNaftahParser.returnStatement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSingleReturn
Visit a parse tree produced byNaftahParser.singleReturn().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMultipleReturns
Visit a parse tree produced byNaftahParser.multipleReturns().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBlock
Visit a parse tree produced byNaftahParser.block().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpression
Visit a parse tree produced byNaftahParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTernaryExpression
Visit a parse tree produced byNaftahParser.ternaryExpression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNullishExpression
Visit a parse tree produced byNaftahParser.nullishExpression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLogicalExpression
Visit a parse tree produced byNaftahParser.logicalExpression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBitwiseExpression
Visit a parse tree produced byNaftahParser.bitwiseExpression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEqualityExpression
Visit a parse tree produced byNaftahParser.equalityExpression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRelationalExpression
Visit a parse tree produced byNaftahParser.relationalExpression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitShiftExpression
Visit a parse tree produced byNaftahParser.shiftExpression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAdditiveExpression
Visit a parse tree produced byNaftahParser.additiveExpression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMultiplicativeExpression
Visit a parse tree produced byNaftahParser.multiplicativeExpression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPowerExpression
Visit a parse tree produced byNaftahParser.powerExpression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSpawnUnaryExpression
Visit a parse tree produced by thespawnUnaryExpressionlabeled alternative inNaftahParser.unaryExpression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAwaitUnaryExpression
Visit a parse tree produced by theawaitUnaryExpressionlabeled alternative inNaftahParser.unaryExpression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPrefixUnaryExpression
Visit a parse tree produced by theprefixUnaryExpressionlabeled alternative inNaftahParser.unaryExpression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPostfixUnaryExpression
Visit a parse tree produced by thepostfixUnaryExpressionlabeled alternative inNaftahParser.unaryExpression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPostfixExpression
Visit a parse tree produced byNaftahParser.postfixExpression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInitCallExpression
Visit a parse tree produced by theinitCallExpressionlabeled alternative inNaftahParser.primary().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFunctionCallExpression
Visit a parse tree produced by thefunctionCallExpressionlabeled alternative inNaftahParser.primary().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitObjectExpression
Visit a parse tree produced by theobjectExpressionlabeled alternative inNaftahParser.primary().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCollectionExpression
Visit a parse tree produced by thecollectionExpressionlabeled alternative inNaftahParser.primary().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitObjectAccessExpression
Visit a parse tree produced by theobjectAccessExpressionlabeled alternative inNaftahParser.primary().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCollectionAccessExpression
Visit a parse tree produced by thecollectionAccessExpressionlabeled alternative inNaftahParser.primary().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitValueExpression
Visit a parse tree produced by thevalueExpressionlabeled alternative inNaftahParser.primary().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeExpression
Visit a parse tree produced by thetypeExpressionlabeled alternative inNaftahParser.primary().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitParenthesisExpression
Visit a parse tree produced by theparenthesisExpressionlabeled alternative inNaftahParser.primary().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEmptyObject
Visit a parse tree produced by theemptyObjectlabeled alternative inNaftahParser.object().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitObjectValue
Visit a parse tree produced by theobjectValuelabeled alternative inNaftahParser.object().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitObjectFields
Visit a parse tree produced byNaftahParser.objectFields().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitObjectAccess
Visit a parse tree produced byNaftahParser.objectAccess().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitImplementationDeclaration
Visit a parse tree produced byNaftahParser.implementationDeclaration().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitImplementationFunctions
Visit a parse tree produced byNaftahParser.implementationFunctions().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitListValue
Visit a parse tree produced by thelistValuelabeled alternative inNaftahParser.collection().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTupleValue
Visit a parse tree produced by thetupleValuelabeled alternative inNaftahParser.collection().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEmptySet
Visit a parse tree produced by theemptySetlabeled alternative inNaftahParser.collection().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSetValue
Visit a parse tree produced by thesetValuelabeled alternative inNaftahParser.collection().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEmptyMap
Visit a parse tree produced by theemptyMaplabeled alternative inNaftahParser.collection().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMapValue
Visit a parse tree produced by themapValuelabeled alternative inNaftahParser.collection().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSingleElement
Visit a parse tree produced by thesingleElementlabeled alternative inNaftahParser.elements().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMultipleElements
Visit a parse tree produced by themultipleElementslabeled alternative inNaftahParser.elements().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTupleSingleElement
Visit a parse tree produced by thetupleSingleElementlabeled alternative inNaftahParser.tupleElements().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTupleMultipleElements
Visit a parse tree produced by thetupleMultipleElementslabeled alternative inNaftahParser.tupleElements().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCollectionMultipleElements
Visit a parse tree produced byNaftahParser.collectionMultipleElements().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitKeyValuePairs
Visit a parse tree produced byNaftahParser.keyValuePairs().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitKeyValue
Visit a parse tree produced byNaftahParser.keyValue().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNumberValue
Visit a parse tree produced by thenumberValuelabeled alternative inNaftahParser.value().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRadixNumberValue
Visit a parse tree produced by theradixNumberValuelabeled alternative inNaftahParser.value().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTrueValue
Visit a parse tree produced by thetrueValuelabeled alternative inNaftahParser.value().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFalseValue
Visit a parse tree produced by thefalseValuelabeled alternative inNaftahParser.value().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNullValue
Visit a parse tree produced by thenullValuelabeled alternative inNaftahParser.value().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCharacterValue
Visit a parse tree produced by thecharacterValuelabeled alternative inNaftahParser.value().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStringValue
Visit a parse tree produced by thestringValuelabeled alternative inNaftahParser.value().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNanValue
Visit a parse tree produced by thenanValuelabeled alternative inNaftahParser.value().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIdValue
Visit a parse tree produced by theidValuelabeled alternative inNaftahParser.value().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVoidReturnType
Visit a parse tree produced by thevoidReturnTypelabeled alternative inNaftahParser.returnType().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeReturnType
Visit a parse tree produced by thetypeReturnTypelabeled alternative inNaftahParser.returnType().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitComplexType
Visit a parse tree produced by thecomplexTypelabeled alternative inNaftahParser.type().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBuiltInType
Visit a parse tree produced by thebuiltInTypelabeled alternative inNaftahParser.type().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVarType
Visit a parse tree produced by thevarTypelabeled alternative inNaftahParser.type().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitQualifiedNameType
Visit a parse tree produced by thequalifiedNameTypelabeled alternative inNaftahParser.type().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitComplexBuiltIn
Visit a parse tree produced byNaftahParser.complexBuiltIn().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBuiltIn
Visit a parse tree produced byNaftahParser.builtIn().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitQualifiedName
Visit a parse tree produced byNaftahParser.qualifiedName().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSimpleCall
Visit a parse tree produced by thesimpleCalllabeled alternative inNaftahParser.qualifiedCall().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitQualifiedNameCall
Visit a parse tree produced by thequalifiedNameCalllabeled alternative inNaftahParser.qualifiedCall().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitQualifiedObjectAccess
Visit a parse tree produced byNaftahParser.qualifiedObjectAccess().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCollectionAccess
Visit a parse tree produced byNaftahParser.collectionAccess().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPropertyAccess
Visit a parse tree produced byNaftahParser.propertyAccess().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCollectionAccessIndex
Visit a parse tree produced byNaftahParser.collectionAccessIndex().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLabel
Visit a parse tree produced byNaftahParser.label().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSelfOrId
Visit a parse tree produced byNaftahParser.selfOrId().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-