Class PklParserBaseVisitor<Result>
- Type Parameters:
Result- The return type of the visit operation. UseVoidfor operations with no return type.
- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTreeVisitor<Result>,PklParserVisitor<Result>
- Direct Known Subclasses:
AbstractAstBuilder
PklParserVisitor,
which can be extended to create a visitor which only needs to handle a subset
of the available methods.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionVisit a parse tree produced by theadditiveExprlabeled alternative inPklParser.expr().Visit a parse tree produced by theamendExprlabeled alternative inPklParser.expr().Visit a parse tree produced byPklParser.annotation().Visit a parse tree produced byPklParser.argumentList().Visit a parse tree produced byPklParser.classBody().Visit a parse tree produced byPklParser.classHeader().Visit a parse tree produced byPklParser.classMethod().Visit a parse tree produced byPklParser.classProperty().Visit a parse tree produced byPklParser.clazz().Visit a parse tree produced by thecomparisonExprlabeled alternative inPklParser.expr().Visit a parse tree produced by theconstrainedTypelabeled alternative inPklParser.type().Visit a parse tree produced by thedeclaredTypelabeled alternative inPklParser.type().Visit a parse tree produced by thedefaultUnionTypelabeled alternative inPklParser.type().Visit a parse tree produced by theequalityExprlabeled alternative inPklParser.expr().Visit a parse tree produced by theexponentiationExprlabeled alternative inPklParser.expr().Visit a parse tree produced byPklParser.expr().Visit a parse tree produced byPklParser.exprInput().Visit a parse tree produced by thefalseLiterallabeled alternative inPklParser.expr().Visit a parse tree produced by thefloatLiterallabeled alternative inPklParser.expr().Visit a parse tree produced by theforGeneratorlabeled alternative inPklParser.objectMember().Visit a parse tree produced by thefunctionLiterallabeled alternative inPklParser.expr().Visit a parse tree produced by thefunctionTypelabeled alternative inPklParser.type().Visit a parse tree produced by theifExprlabeled alternative inPklParser.expr().Visit a parse tree produced byPklParser.importClause().Visit a parse tree produced by theimportExprlabeled alternative inPklParser.expr().Visit a parse tree produced by theintLiterallabeled alternative inPklParser.expr().Visit a parse tree produced by theletExprlabeled alternative inPklParser.expr().Visit a parse tree produced by thelogicalAndExprlabeled alternative inPklParser.expr().Visit a parse tree produced by thelogicalNotExprlabeled alternative inPklParser.expr().Visit a parse tree produced by thelogicalOrExprlabeled alternative inPklParser.expr().Visit a parse tree produced by thememberPredicatelabeled alternative inPklParser.objectMember().Visit a parse tree produced byPklParser.methodHeader().Visit a parse tree produced byPklParser.modifier().Visit a parse tree produced byPklParser.module().Visit a parse tree produced byPklParser.moduleDecl().Visit a parse tree produced by themoduleExprlabeled alternative inPklParser.expr().Visit a parse tree produced byPklParser.moduleExtendsOrAmendsClause().Visit a parse tree produced byPklParser.moduleHeader().Visit a parse tree produced by themoduleTypelabeled alternative inPklParser.type().Visit a parse tree produced by themultiLineStringLiterallabeled alternative inPklParser.expr().Visit a parse tree produced byPklParser.multiLineStringPart().Visit a parse tree produced by themultiplicativeExprlabeled alternative inPklParser.expr().Visit a parse tree produced by thenewExprlabeled alternative inPklParser.expr().Visit a parse tree produced by thenonNullExprlabeled alternative inPklParser.expr().Visit a parse tree produced by thenothingTypelabeled alternative inPklParser.type().Visit a parse tree produced by thenullableTypelabeled alternative inPklParser.type().Visit a parse tree produced by thenullCoalesceExprlabeled alternative inPklParser.expr().Visit a parse tree produced by thenullLiterallabeled alternative inPklParser.expr().Visit a parse tree produced byPklParser.objectBody().Visit a parse tree produced by theobjectElementlabeled alternative inPklParser.objectMember().Visit a parse tree produced by theobjectEntrylabeled alternative inPklParser.objectMember().Visit a parse tree produced byPklParser.objectMember().Visit a parse tree produced by theobjectMethodlabeled alternative inPklParser.objectMember().Visit a parse tree produced by theobjectPropertylabeled alternative inPklParser.objectMember().Visit a parse tree produced by theobjectSpreadlabeled alternative inPklParser.objectMember().Visit a parse tree produced by theouterExprlabeled alternative inPklParser.expr().Visit a parse tree produced byPklParser.parameter().Visit a parse tree produced byPklParser.parameterList().Visit a parse tree produced by theparenthesizedExprlabeled alternative inPklParser.expr().Visit a parse tree produced by theparenthesizedTypelabeled alternative inPklParser.type().Visit a parse tree produced by thepipeExprlabeled alternative inPklParser.expr().Visit a parse tree produced by thequalifiedAccessExprlabeled alternative inPklParser.expr().Visit a parse tree produced byPklParser.qualifiedIdentifier().Visit a parse tree produced by thereadExprlabeled alternative inPklParser.expr().Visit a parse tree produced byPklParser.replInput().Visit a parse tree produced byPklParser.reservedKeyword().Visit a parse tree produced by thesingleLineStringLiterallabeled alternative inPklParser.expr().Visit a parse tree produced byPklParser.singleLineStringPart().Visit a parse tree produced byPklParser.stringConstant().Visit a parse tree produced by thestringLiteralTypelabeled alternative inPklParser.type().Visit a parse tree produced by thesubscriptExprlabeled alternative inPklParser.expr().Visit a parse tree produced by thesuperAccessExprlabeled alternative inPklParser.expr().Visit a parse tree produced by thesuperSubscriptExprlabeled alternative inPklParser.expr().Visit a parse tree produced by thethisExprlabeled alternative inPklParser.expr().Visit a parse tree produced by thethrowExprlabeled alternative inPklParser.expr().Visit a parse tree produced by thetraceExprlabeled alternative inPklParser.expr().Visit a parse tree produced by thetrueLiterallabeled alternative inPklParser.expr().Visit a parse tree produced byPklParser.type().Visit a parse tree produced byPklParser.typeAlias().Visit a parse tree produced byPklParser.typeAliasHeader().Visit a parse tree produced byPklParser.typeAnnotation().Visit a parse tree produced byPklParser.typeArgumentList().Visit a parse tree produced byPklParser.typedIdentifier().Visit a parse tree produced byPklParser.typeParameter().Visit a parse tree produced byPklParser.typeParameterList().Visit a parse tree produced by thetypeTestExprlabeled alternative inPklParser.expr().Visit a parse tree produced by theunaryMinusExprlabeled alternative inPklParser.expr().Visit a parse tree produced by theunionTypelabeled alternative inPklParser.type().Visit a parse tree produced by theunknownTypelabeled alternative inPklParser.type().Visit a parse tree produced by theunqualifiedAccessExprlabeled alternative inPklParser.expr().Visit a parse tree produced by thewhenGeneratorlabeled alternative inPklParser.objectMember().Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminalMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.antlr.v4.runtime.tree.ParseTreeVisitor
visit, visitChildren, visitErrorNode, visitTerminal
-
Constructor Details
-
PklParserBaseVisitor
public PklParserBaseVisitor()
-
-
Method Details
-
visitUnknownType
Visit a parse tree produced by theunknownTypelabeled alternative inPklParser.type().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitUnknownTypein interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNothingType
Visit a parse tree produced by thenothingTypelabeled alternative inPklParser.type().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNothingTypein interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitModuleType
Visit a parse tree produced by themoduleTypelabeled alternative inPklParser.type().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitModuleTypein interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStringLiteralType
Visit a parse tree produced by thestringLiteralTypelabeled alternative inPklParser.type().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitStringLiteralTypein interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDeclaredType
Visit a parse tree produced by thedeclaredTypelabeled alternative inPklParser.type().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDeclaredTypein interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitParenthesizedType
Visit a parse tree produced by theparenthesizedTypelabeled alternative inPklParser.type().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitParenthesizedTypein interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNullableType
Visit a parse tree produced by thenullableTypelabeled alternative inPklParser.type().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNullableTypein interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitConstrainedType
Visit a parse tree produced by theconstrainedTypelabeled alternative inPklParser.type().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitConstrainedTypein interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDefaultUnionType
Visit a parse tree produced by thedefaultUnionTypelabeled alternative inPklParser.type().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDefaultUnionTypein interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitUnionType
Visit a parse tree produced by theunionTypelabeled alternative inPklParser.type().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitUnionTypein interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFunctionType
Visit a parse tree produced by thefunctionTypelabeled alternative inPklParser.type().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFunctionTypein interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitThisExpr
Visit a parse tree produced by thethisExprlabeled alternative inPklParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitThisExprin interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitOuterExpr
Visit a parse tree produced by theouterExprlabeled alternative inPklParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitOuterExprin interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitModuleExpr
Visit a parse tree produced by themoduleExprlabeled alternative inPklParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitModuleExprin interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNullLiteral
Visit a parse tree produced by thenullLiterallabeled alternative inPklParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNullLiteralin interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTrueLiteral
Visit a parse tree produced by thetrueLiterallabeled alternative inPklParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTrueLiteralin interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFalseLiteral
Visit a parse tree produced by thefalseLiterallabeled alternative inPklParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFalseLiteralin interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIntLiteral
Visit a parse tree produced by theintLiterallabeled alternative inPklParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitIntLiteralin interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFloatLiteral
Visit a parse tree produced by thefloatLiterallabeled alternative inPklParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFloatLiteralin interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitThrowExpr
Visit a parse tree produced by thethrowExprlabeled alternative inPklParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitThrowExprin interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTraceExpr
Visit a parse tree produced by thetraceExprlabeled alternative inPklParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTraceExprin interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitImportExpr
Visit a parse tree produced by theimportExprlabeled alternative inPklParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitImportExprin interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitReadExpr
Visit a parse tree produced by thereadExprlabeled alternative inPklParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitReadExprin interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitUnqualifiedAccessExpr
Visit a parse tree produced by theunqualifiedAccessExprlabeled alternative inPklParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitUnqualifiedAccessExprin interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSingleLineStringLiteral
Visit a parse tree produced by thesingleLineStringLiterallabeled alternative inPklParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSingleLineStringLiteralin interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMultiLineStringLiteral
Visit a parse tree produced by themultiLineStringLiterallabeled alternative inPklParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMultiLineStringLiteralin interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNewExpr
Visit a parse tree produced by thenewExprlabeled alternative inPklParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNewExprin interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAmendExpr
Visit a parse tree produced by theamendExprlabeled alternative inPklParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAmendExprin interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSuperAccessExpr
Visit a parse tree produced by thesuperAccessExprlabeled alternative inPklParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSuperAccessExprin interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSuperSubscriptExpr
Visit a parse tree produced by thesuperSubscriptExprlabeled alternative inPklParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSuperSubscriptExprin interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitQualifiedAccessExpr
Visit a parse tree produced by thequalifiedAccessExprlabeled alternative inPklParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitQualifiedAccessExprin interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSubscriptExpr
Visit a parse tree produced by thesubscriptExprlabeled alternative inPklParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSubscriptExprin interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNonNullExpr
Visit a parse tree produced by thenonNullExprlabeled alternative inPklParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNonNullExprin interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitUnaryMinusExpr
Visit a parse tree produced by theunaryMinusExprlabeled alternative inPklParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitUnaryMinusExprin interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLogicalNotExpr
Visit a parse tree produced by thelogicalNotExprlabeled alternative inPklParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLogicalNotExprin interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExponentiationExpr
Visit a parse tree produced by theexponentiationExprlabeled alternative inPklParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitExponentiationExprin interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMultiplicativeExpr
Visit a parse tree produced by themultiplicativeExprlabeled alternative inPklParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMultiplicativeExprin interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAdditiveExpr
Visit a parse tree produced by theadditiveExprlabeled alternative inPklParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAdditiveExprin interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitComparisonExpr
Visit a parse tree produced by thecomparisonExprlabeled alternative inPklParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitComparisonExprin interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeTestExpr
Visit a parse tree produced by thetypeTestExprlabeled alternative inPklParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTypeTestExprin interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEqualityExpr
Visit a parse tree produced by theequalityExprlabeled alternative inPklParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitEqualityExprin interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLogicalAndExpr
Visit a parse tree produced by thelogicalAndExprlabeled alternative inPklParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLogicalAndExprin interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLogicalOrExpr
Visit a parse tree produced by thelogicalOrExprlabeled alternative inPklParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLogicalOrExprin interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPipeExpr
Visit a parse tree produced by thepipeExprlabeled alternative inPklParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPipeExprin interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNullCoalesceExpr
Visit a parse tree produced by thenullCoalesceExprlabeled alternative inPklParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNullCoalesceExprin interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIfExpr
Visit a parse tree produced by theifExprlabeled alternative inPklParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitIfExprin interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLetExpr
Visit a parse tree produced by theletExprlabeled alternative inPklParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLetExprin interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFunctionLiteral
Visit a parse tree produced by thefunctionLiterallabeled alternative inPklParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFunctionLiteralin interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitParenthesizedExpr
Visit a parse tree produced by theparenthesizedExprlabeled alternative inPklParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitParenthesizedExprin interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitObjectProperty
Visit a parse tree produced by theobjectPropertylabeled alternative inPklParser.objectMember().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitObjectPropertyin interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitObjectMethod
Visit a parse tree produced by theobjectMethodlabeled alternative inPklParser.objectMember().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitObjectMethodin interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMemberPredicate
Visit a parse tree produced by thememberPredicatelabeled alternative inPklParser.objectMember().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMemberPredicatein interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitObjectEntry
Visit a parse tree produced by theobjectEntrylabeled alternative inPklParser.objectMember().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitObjectEntryin interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitObjectElement
Visit a parse tree produced by theobjectElementlabeled alternative inPklParser.objectMember().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitObjectElementin interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitObjectSpread
Visit a parse tree produced by theobjectSpreadlabeled alternative inPklParser.objectMember().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitObjectSpreadin interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitWhenGenerator
Visit a parse tree produced by thewhenGeneratorlabeled alternative inPklParser.objectMember().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitWhenGeneratorin interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitForGenerator
Visit a parse tree produced by theforGeneratorlabeled alternative inPklParser.objectMember().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitForGeneratorin interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitReplInput
Visit a parse tree produced byPklParser.replInput().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitReplInputin interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExprInput
Visit a parse tree produced byPklParser.exprInput().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitExprInputin interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitModule
Visit a parse tree produced byPklParser.module().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitModulein interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitModuleDecl
Visit a parse tree produced byPklParser.moduleDecl().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitModuleDeclin interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitModuleHeader
Visit a parse tree produced byPklParser.moduleHeader().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitModuleHeaderin interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitModuleExtendsOrAmendsClause
public Result visitModuleExtendsOrAmendsClause(@NotNull PklParser.ModuleExtendsOrAmendsClauseContext ctx) Visit a parse tree produced byPklParser.moduleExtendsOrAmendsClause().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitModuleExtendsOrAmendsClausein interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitImportClause
Visit a parse tree produced byPklParser.importClause().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitImportClausein interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitClazz
Visit a parse tree produced byPklParser.clazz().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitClazzin interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitClassHeader
Visit a parse tree produced byPklParser.classHeader().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitClassHeaderin interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitModifier
Visit a parse tree produced byPklParser.modifier().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitModifierin interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitClassBody
Visit a parse tree produced byPklParser.classBody().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitClassBodyin interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeAlias
Visit a parse tree produced byPklParser.typeAlias().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTypeAliasin interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeAliasHeader
Visit a parse tree produced byPklParser.typeAliasHeader().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTypeAliasHeaderin interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitClassProperty
Visit a parse tree produced byPklParser.classProperty().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitClassPropertyin interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitClassMethod
Visit a parse tree produced byPklParser.classMethod().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitClassMethodin interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMethodHeader
Visit a parse tree produced byPklParser.methodHeader().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMethodHeaderin interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitParameterList
Visit a parse tree produced byPklParser.parameterList().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitParameterListin interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArgumentList
Visit a parse tree produced byPklParser.argumentList().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitArgumentListin interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnnotation
Visit a parse tree produced byPklParser.annotation().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAnnotationin interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitQualifiedIdentifier
Visit a parse tree produced byPklParser.qualifiedIdentifier().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitQualifiedIdentifierin interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeAnnotation
Visit a parse tree produced byPklParser.typeAnnotation().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTypeAnnotationin interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeParameterList
Visit a parse tree produced byPklParser.typeParameterList().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTypeParameterListin interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeParameter
Visit a parse tree produced byPklParser.typeParameter().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTypeParameterin interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeArgumentList
Visit a parse tree produced byPklParser.typeArgumentList().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTypeArgumentListin interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitType
Visit a parse tree produced byPklParser.type().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTypein interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypedIdentifier
Visit a parse tree produced byPklParser.typedIdentifier().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTypedIdentifierin interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitParameter
Visit a parse tree produced byPklParser.parameter().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitParameterin interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpr
Visit a parse tree produced byPklParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitExprin interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitObjectBody
Visit a parse tree produced byPklParser.objectBody().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitObjectBodyin interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitObjectMember
Visit a parse tree produced byPklParser.objectMember().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitObjectMemberin interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStringConstant
Visit a parse tree produced byPklParser.stringConstant().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitStringConstantin interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSingleLineStringPart
Visit a parse tree produced byPklParser.singleLineStringPart().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSingleLineStringPartin interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMultiLineStringPart
Visit a parse tree produced byPklParser.multiLineStringPart().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMultiLineStringPartin interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitReservedKeyword
Visit a parse tree produced byPklParser.reservedKeyword().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitReservedKeywordin interfacePklParserVisitor<Result>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-