Interface KotlinVisitor<P,R>
-
- Type Parameters:
P
- The parameter type of the visitR
- The return type of the visit operation. UseVoid
for operations with no return type.
- All Superinterfaces:
AstVisitor<P,R>
- All Known Implementing Classes:
KotlinVisitorBase
public interface KotlinVisitor<P,R> extends AstVisitor<P,R>
This interface defines a complete generic visitor for a parse tree produced byKotlinParser
.
-
-
Method Summary
-
Methods inherited from interface net.sourceforge.pmd.lang.ast.AstVisitor
cannotVisit, visitNode
-
-
-
-
Method Detail
-
visitKotlinNode
default R visitKotlinNode(KotlinNode node, P data)
The default visit method for Kotlin nodes. Unless overridden, the default implementations of the methods of this interface delegate to this method. The default callsAstVisitor.visitNode(Node, Object)
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- Result of the visit
-
visitKotlinFile
default R visitKotlinFile(KotlinParser.KtKotlinFile node, P data)
Visit a parse tree produced byKotlinParser.kotlinFile()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitScript
default R visitScript(KotlinParser.KtScript node, P data)
Visit a parse tree produced byKotlinParser.script()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitShebangLine
default R visitShebangLine(KotlinParser.KtShebangLine node, P data)
Visit a parse tree produced byKotlinParser.shebangLine()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitFileAnnotation
default R visitFileAnnotation(KotlinParser.KtFileAnnotation node, P data)
Visit a parse tree produced byKotlinParser.fileAnnotation()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitPackageHeader
default R visitPackageHeader(KotlinParser.KtPackageHeader node, P data)
Visit a parse tree produced byKotlinParser.packageHeader()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitImportList
default R visitImportList(KotlinParser.KtImportList node, P data)
Visit a parse tree produced byKotlinParser.importList()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitImportHeader
default R visitImportHeader(KotlinParser.KtImportHeader node, P data)
Visit a parse tree produced byKotlinParser.importHeader()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitImportAlias
default R visitImportAlias(KotlinParser.KtImportAlias node, P data)
Visit a parse tree produced byKotlinParser.importAlias()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitTopLevelObject
default R visitTopLevelObject(KotlinParser.KtTopLevelObject node, P data)
Visit a parse tree produced byKotlinParser.topLevelObject()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitTypeAlias
default R visitTypeAlias(KotlinParser.KtTypeAlias node, P data)
Visit a parse tree produced byKotlinParser.typeAlias()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitDeclaration
default R visitDeclaration(KotlinParser.KtDeclaration node, P data)
Visit a parse tree produced byKotlinParser.declaration()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitClassDeclaration
default R visitClassDeclaration(KotlinParser.KtClassDeclaration node, P data)
Visit a parse tree produced byKotlinParser.classDeclaration()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitPrimaryConstructor
default R visitPrimaryConstructor(KotlinParser.KtPrimaryConstructor node, P data)
Visit a parse tree produced byKotlinParser.primaryConstructor()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitClassBody
default R visitClassBody(KotlinParser.KtClassBody node, P data)
Visit a parse tree produced byKotlinParser.classBody()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitClassParameters
default R visitClassParameters(KotlinParser.KtClassParameters node, P data)
Visit a parse tree produced byKotlinParser.classParameters()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitClassParameter
default R visitClassParameter(KotlinParser.KtClassParameter node, P data)
Visit a parse tree produced byKotlinParser.classParameter()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitDelegationSpecifiers
default R visitDelegationSpecifiers(KotlinParser.KtDelegationSpecifiers node, P data)
Visit a parse tree produced byKotlinParser.delegationSpecifiers()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitDelegationSpecifier
default R visitDelegationSpecifier(KotlinParser.KtDelegationSpecifier node, P data)
Visit a parse tree produced byKotlinParser.delegationSpecifier()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitConstructorInvocation
default R visitConstructorInvocation(KotlinParser.KtConstructorInvocation node, P data)
Visit a parse tree produced byKotlinParser.constructorInvocation()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitAnnotatedDelegationSpecifier
default R visitAnnotatedDelegationSpecifier(KotlinParser.KtAnnotatedDelegationSpecifier node, P data)
Visit a parse tree produced byKotlinParser.annotatedDelegationSpecifier()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitExplicitDelegation
default R visitExplicitDelegation(KotlinParser.KtExplicitDelegation node, P data)
Visit a parse tree produced byKotlinParser.explicitDelegation()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitTypeParameters
default R visitTypeParameters(KotlinParser.KtTypeParameters node, P data)
Visit a parse tree produced byKotlinParser.typeParameters()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitTypeParameter
default R visitTypeParameter(KotlinParser.KtTypeParameter node, P data)
Visit a parse tree produced byKotlinParser.typeParameter()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitTypeConstraints
default R visitTypeConstraints(KotlinParser.KtTypeConstraints node, P data)
Visit a parse tree produced byKotlinParser.typeConstraints()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitTypeConstraint
default R visitTypeConstraint(KotlinParser.KtTypeConstraint node, P data)
Visit a parse tree produced byKotlinParser.typeConstraint()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitClassMemberDeclarations
default R visitClassMemberDeclarations(KotlinParser.KtClassMemberDeclarations node, P data)
Visit a parse tree produced byKotlinParser.classMemberDeclarations()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitClassMemberDeclaration
default R visitClassMemberDeclaration(KotlinParser.KtClassMemberDeclaration node, P data)
Visit a parse tree produced byKotlinParser.classMemberDeclaration()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitAnonymousInitializer
default R visitAnonymousInitializer(KotlinParser.KtAnonymousInitializer node, P data)
Visit a parse tree produced byKotlinParser.anonymousInitializer()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitCompanionObject
default R visitCompanionObject(KotlinParser.KtCompanionObject node, P data)
Visit a parse tree produced byKotlinParser.companionObject()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitFunctionValueParameters
default R visitFunctionValueParameters(KotlinParser.KtFunctionValueParameters node, P data)
Visit a parse tree produced byKotlinParser.functionValueParameters()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitFunctionValueParameter
default R visitFunctionValueParameter(KotlinParser.KtFunctionValueParameter node, P data)
Visit a parse tree produced byKotlinParser.functionValueParameter()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitFunctionDeclaration
default R visitFunctionDeclaration(KotlinParser.KtFunctionDeclaration node, P data)
Visit a parse tree produced byKotlinParser.functionDeclaration()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitFunctionBody
default R visitFunctionBody(KotlinParser.KtFunctionBody node, P data)
Visit a parse tree produced byKotlinParser.functionBody()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitVariableDeclaration
default R visitVariableDeclaration(KotlinParser.KtVariableDeclaration node, P data)
Visit a parse tree produced byKotlinParser.variableDeclaration()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitMultiVariableDeclaration
default R visitMultiVariableDeclaration(KotlinParser.KtMultiVariableDeclaration node, P data)
Visit a parse tree produced byKotlinParser.multiVariableDeclaration()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitPropertyDeclaration
default R visitPropertyDeclaration(KotlinParser.KtPropertyDeclaration node, P data)
Visit a parse tree produced byKotlinParser.propertyDeclaration()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitPropertyDelegate
default R visitPropertyDelegate(KotlinParser.KtPropertyDelegate node, P data)
Visit a parse tree produced byKotlinParser.propertyDelegate()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitGetter
default R visitGetter(KotlinParser.KtGetter node, P data)
Visit a parse tree produced byKotlinParser.getter()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitSetter
default R visitSetter(KotlinParser.KtSetter node, P data)
Visit a parse tree produced byKotlinParser.setter()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitParametersWithOptionalType
default R visitParametersWithOptionalType(KotlinParser.KtParametersWithOptionalType node, P data)
Visit a parse tree produced byKotlinParser.parametersWithOptionalType()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitFunctionValueParameterWithOptionalType
default R visitFunctionValueParameterWithOptionalType(KotlinParser.KtFunctionValueParameterWithOptionalType node, P data)
Visit a parse tree produced byKotlinParser.functionValueParameterWithOptionalType()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitParameterWithOptionalType
default R visitParameterWithOptionalType(KotlinParser.KtParameterWithOptionalType node, P data)
Visit a parse tree produced byKotlinParser.parameterWithOptionalType()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitParameter
default R visitParameter(KotlinParser.KtParameter node, P data)
Visit a parse tree produced byKotlinParser.parameter()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitObjectDeclaration
default R visitObjectDeclaration(KotlinParser.KtObjectDeclaration node, P data)
Visit a parse tree produced byKotlinParser.objectDeclaration()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitSecondaryConstructor
default R visitSecondaryConstructor(KotlinParser.KtSecondaryConstructor node, P data)
Visit a parse tree produced byKotlinParser.secondaryConstructor()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitConstructorDelegationCall
default R visitConstructorDelegationCall(KotlinParser.KtConstructorDelegationCall node, P data)
Visit a parse tree produced byKotlinParser.constructorDelegationCall()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitEnumClassBody
default R visitEnumClassBody(KotlinParser.KtEnumClassBody node, P data)
Visit a parse tree produced byKotlinParser.enumClassBody()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitEnumEntries
default R visitEnumEntries(KotlinParser.KtEnumEntries node, P data)
Visit a parse tree produced byKotlinParser.enumEntries()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitEnumEntry
default R visitEnumEntry(KotlinParser.KtEnumEntry node, P data)
Visit a parse tree produced byKotlinParser.enumEntry()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitType
default R visitType(KotlinParser.KtType node, P data)
Visit a parse tree produced byKotlinParser.type()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitTypeReference
default R visitTypeReference(KotlinParser.KtTypeReference node, P data)
Visit a parse tree produced byKotlinParser.typeReference()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitNullableType
default R visitNullableType(KotlinParser.KtNullableType node, P data)
Visit a parse tree produced byKotlinParser.nullableType()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitQuest
default R visitQuest(KotlinParser.KtQuest node, P data)
Visit a parse tree produced byKotlinParser.quest()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitUserType
default R visitUserType(KotlinParser.KtUserType node, P data)
Visit a parse tree produced byKotlinParser.userType()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitSimpleUserType
default R visitSimpleUserType(KotlinParser.KtSimpleUserType node, P data)
Visit a parse tree produced byKotlinParser.simpleUserType()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitTypeProjection
default R visitTypeProjection(KotlinParser.KtTypeProjection node, P data)
Visit a parse tree produced byKotlinParser.typeProjection()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitTypeProjectionModifiers
default R visitTypeProjectionModifiers(KotlinParser.KtTypeProjectionModifiers node, P data)
Visit a parse tree produced byKotlinParser.typeProjectionModifiers()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitTypeProjectionModifier
default R visitTypeProjectionModifier(KotlinParser.KtTypeProjectionModifier node, P data)
Visit a parse tree produced byKotlinParser.typeProjectionModifier()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitFunctionType
default R visitFunctionType(KotlinParser.KtFunctionType node, P data)
Visit a parse tree produced byKotlinParser.functionType()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitFunctionTypeParameters
default R visitFunctionTypeParameters(KotlinParser.KtFunctionTypeParameters node, P data)
Visit a parse tree produced byKotlinParser.functionTypeParameters()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitParenthesizedType
default R visitParenthesizedType(KotlinParser.KtParenthesizedType node, P data)
Visit a parse tree produced byKotlinParser.parenthesizedType()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitReceiverType
default R visitReceiverType(KotlinParser.KtReceiverType node, P data)
Visit a parse tree produced byKotlinParser.receiverType()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitParenthesizedUserType
default R visitParenthesizedUserType(KotlinParser.KtParenthesizedUserType node, P data)
Visit a parse tree produced byKotlinParser.parenthesizedUserType()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitDefinitelyNonNullableType
default R visitDefinitelyNonNullableType(KotlinParser.KtDefinitelyNonNullableType node, P data)
Visit a parse tree produced byKotlinParser.definitelyNonNullableType()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitStatements
default R visitStatements(KotlinParser.KtStatements node, P data)
Visit a parse tree produced byKotlinParser.statements()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitStatement
default R visitStatement(KotlinParser.KtStatement node, P data)
Visit a parse tree produced byKotlinParser.statement()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitLabel
default R visitLabel(KotlinParser.KtLabel node, P data)
Visit a parse tree produced byKotlinParser.label()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitControlStructureBody
default R visitControlStructureBody(KotlinParser.KtControlStructureBody node, P data)
Visit a parse tree produced byKotlinParser.controlStructureBody()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitBlock
default R visitBlock(KotlinParser.KtBlock node, P data)
Visit a parse tree produced byKotlinParser.block()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitLoopStatement
default R visitLoopStatement(KotlinParser.KtLoopStatement node, P data)
Visit a parse tree produced byKotlinParser.loopStatement()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitForStatement
default R visitForStatement(KotlinParser.KtForStatement node, P data)
Visit a parse tree produced byKotlinParser.forStatement()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitWhileStatement
default R visitWhileStatement(KotlinParser.KtWhileStatement node, P data)
Visit a parse tree produced byKotlinParser.whileStatement()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitDoWhileStatement
default R visitDoWhileStatement(KotlinParser.KtDoWhileStatement node, P data)
Visit a parse tree produced byKotlinParser.doWhileStatement()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitAssignment
default R visitAssignment(KotlinParser.KtAssignment node, P data)
Visit a parse tree produced byKotlinParser.assignment()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitSemi
default R visitSemi(KotlinParser.KtSemi node, P data)
Visit a parse tree produced byKotlinParser.semi()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitSemis
default R visitSemis(KotlinParser.KtSemis node, P data)
Visit a parse tree produced byKotlinParser.semis()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitExpression
default R visitExpression(KotlinParser.KtExpression node, P data)
Visit a parse tree produced byKotlinParser.expression()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitDisjunction
default R visitDisjunction(KotlinParser.KtDisjunction node, P data)
Visit a parse tree produced byKotlinParser.disjunction()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitConjunction
default R visitConjunction(KotlinParser.KtConjunction node, P data)
Visit a parse tree produced byKotlinParser.conjunction()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitEquality
default R visitEquality(KotlinParser.KtEquality node, P data)
Visit a parse tree produced byKotlinParser.equality()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitComparison
default R visitComparison(KotlinParser.KtComparison node, P data)
Visit a parse tree produced byKotlinParser.comparison()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitGenericCallLikeComparison
default R visitGenericCallLikeComparison(KotlinParser.KtGenericCallLikeComparison node, P data)
Visit a parse tree produced byKotlinParser.genericCallLikeComparison()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitInfixOperation
default R visitInfixOperation(KotlinParser.KtInfixOperation node, P data)
Visit a parse tree produced byKotlinParser.infixOperation()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitElvisExpression
default R visitElvisExpression(KotlinParser.KtElvisExpression node, P data)
Visit a parse tree produced byKotlinParser.elvisExpression()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitElvis
default R visitElvis(KotlinParser.KtElvis node, P data)
Visit a parse tree produced byKotlinParser.elvis()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitInfixFunctionCall
default R visitInfixFunctionCall(KotlinParser.KtInfixFunctionCall node, P data)
Visit a parse tree produced byKotlinParser.infixFunctionCall()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitRangeExpression
default R visitRangeExpression(KotlinParser.KtRangeExpression node, P data)
Visit a parse tree produced byKotlinParser.rangeExpression()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitAdditiveExpression
default R visitAdditiveExpression(KotlinParser.KtAdditiveExpression node, P data)
Visit a parse tree produced byKotlinParser.additiveExpression()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitMultiplicativeExpression
default R visitMultiplicativeExpression(KotlinParser.KtMultiplicativeExpression node, P data)
Visit a parse tree produced byKotlinParser.multiplicativeExpression()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitAsExpression
default R visitAsExpression(KotlinParser.KtAsExpression node, P data)
Visit a parse tree produced byKotlinParser.asExpression()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitPrefixUnaryExpression
default R visitPrefixUnaryExpression(KotlinParser.KtPrefixUnaryExpression node, P data)
Visit a parse tree produced byKotlinParser.prefixUnaryExpression()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitUnaryPrefix
default R visitUnaryPrefix(KotlinParser.KtUnaryPrefix node, P data)
Visit a parse tree produced byKotlinParser.unaryPrefix()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitPostfixUnaryExpression
default R visitPostfixUnaryExpression(KotlinParser.KtPostfixUnaryExpression node, P data)
Visit a parse tree produced byKotlinParser.postfixUnaryExpression()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitPostfixUnarySuffix
default R visitPostfixUnarySuffix(KotlinParser.KtPostfixUnarySuffix node, P data)
Visit a parse tree produced byKotlinParser.postfixUnarySuffix()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitDirectlyAssignableExpression
default R visitDirectlyAssignableExpression(KotlinParser.KtDirectlyAssignableExpression node, P data)
Visit a parse tree produced byKotlinParser.directlyAssignableExpression()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitParenthesizedDirectlyAssignableExpression
default R visitParenthesizedDirectlyAssignableExpression(KotlinParser.KtParenthesizedDirectlyAssignableExpression node, P data)
Visit a parse tree produced byKotlinParser.parenthesizedDirectlyAssignableExpression()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitAssignableExpression
default R visitAssignableExpression(KotlinParser.KtAssignableExpression node, P data)
Visit a parse tree produced byKotlinParser.assignableExpression()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitParenthesizedAssignableExpression
default R visitParenthesizedAssignableExpression(KotlinParser.KtParenthesizedAssignableExpression node, P data)
Visit a parse tree produced byKotlinParser.parenthesizedAssignableExpression()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitAssignableSuffix
default R visitAssignableSuffix(KotlinParser.KtAssignableSuffix node, P data)
Visit a parse tree produced byKotlinParser.assignableSuffix()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitIndexingSuffix
default R visitIndexingSuffix(KotlinParser.KtIndexingSuffix node, P data)
Visit a parse tree produced byKotlinParser.indexingSuffix()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitNavigationSuffix
default R visitNavigationSuffix(KotlinParser.KtNavigationSuffix node, P data)
Visit a parse tree produced byKotlinParser.navigationSuffix()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitCallSuffix
default R visitCallSuffix(KotlinParser.KtCallSuffix node, P data)
Visit a parse tree produced byKotlinParser.callSuffix()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitAnnotatedLambda
default R visitAnnotatedLambda(KotlinParser.KtAnnotatedLambda node, P data)
Visit a parse tree produced byKotlinParser.annotatedLambda()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitTypeArguments
default R visitTypeArguments(KotlinParser.KtTypeArguments node, P data)
Visit a parse tree produced byKotlinParser.typeArguments()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitValueArguments
default R visitValueArguments(KotlinParser.KtValueArguments node, P data)
Visit a parse tree produced byKotlinParser.valueArguments()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitValueArgument
default R visitValueArgument(KotlinParser.KtValueArgument node, P data)
Visit a parse tree produced byKotlinParser.valueArgument()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitPrimaryExpression
default R visitPrimaryExpression(KotlinParser.KtPrimaryExpression node, P data)
Visit a parse tree produced byKotlinParser.primaryExpression()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitParenthesizedExpression
default R visitParenthesizedExpression(KotlinParser.KtParenthesizedExpression node, P data)
Visit a parse tree produced byKotlinParser.parenthesizedExpression()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitCollectionLiteral
default R visitCollectionLiteral(KotlinParser.KtCollectionLiteral node, P data)
Visit a parse tree produced byKotlinParser.collectionLiteral()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitLiteralConstant
default R visitLiteralConstant(KotlinParser.KtLiteralConstant node, P data)
Visit a parse tree produced byKotlinParser.literalConstant()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitStringLiteral
default R visitStringLiteral(KotlinParser.KtStringLiteral node, P data)
Visit a parse tree produced byKotlinParser.stringLiteral()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitLineStringLiteral
default R visitLineStringLiteral(KotlinParser.KtLineStringLiteral node, P data)
Visit a parse tree produced byKotlinParser.lineStringLiteral()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitMultiLineStringLiteral
default R visitMultiLineStringLiteral(KotlinParser.KtMultiLineStringLiteral node, P data)
Visit a parse tree produced byKotlinParser.multiLineStringLiteral()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitLineStringContent
default R visitLineStringContent(KotlinParser.KtLineStringContent node, P data)
Visit a parse tree produced byKotlinParser.lineStringContent()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitLineStringExpression
default R visitLineStringExpression(KotlinParser.KtLineStringExpression node, P data)
Visit a parse tree produced byKotlinParser.lineStringExpression()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitMultiLineStringContent
default R visitMultiLineStringContent(KotlinParser.KtMultiLineStringContent node, P data)
Visit a parse tree produced byKotlinParser.multiLineStringContent()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitMultiLineStringExpression
default R visitMultiLineStringExpression(KotlinParser.KtMultiLineStringExpression node, P data)
Visit a parse tree produced byKotlinParser.multiLineStringExpression()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitLambdaLiteral
default R visitLambdaLiteral(KotlinParser.KtLambdaLiteral node, P data)
Visit a parse tree produced byKotlinParser.lambdaLiteral()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitLambdaParameters
default R visitLambdaParameters(KotlinParser.KtLambdaParameters node, P data)
Visit a parse tree produced byKotlinParser.lambdaParameters()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitLambdaParameter
default R visitLambdaParameter(KotlinParser.KtLambdaParameter node, P data)
Visit a parse tree produced byKotlinParser.lambdaParameter()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitAnonymousFunction
default R visitAnonymousFunction(KotlinParser.KtAnonymousFunction node, P data)
Visit a parse tree produced byKotlinParser.anonymousFunction()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitFunctionLiteral
default R visitFunctionLiteral(KotlinParser.KtFunctionLiteral node, P data)
Visit a parse tree produced byKotlinParser.functionLiteral()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitObjectLiteral
default R visitObjectLiteral(KotlinParser.KtObjectLiteral node, P data)
Visit a parse tree produced byKotlinParser.objectLiteral()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitThisExpression
default R visitThisExpression(KotlinParser.KtThisExpression node, P data)
Visit a parse tree produced byKotlinParser.thisExpression()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitSuperExpression
default R visitSuperExpression(KotlinParser.KtSuperExpression node, P data)
Visit a parse tree produced byKotlinParser.superExpression()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitIfExpression
default R visitIfExpression(KotlinParser.KtIfExpression node, P data)
Visit a parse tree produced byKotlinParser.ifExpression()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitWhenSubject
default R visitWhenSubject(KotlinParser.KtWhenSubject node, P data)
Visit a parse tree produced byKotlinParser.whenSubject()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitWhenExpression
default R visitWhenExpression(KotlinParser.KtWhenExpression node, P data)
Visit a parse tree produced byKotlinParser.whenExpression()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitWhenEntry
default R visitWhenEntry(KotlinParser.KtWhenEntry node, P data)
Visit a parse tree produced byKotlinParser.whenEntry()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitWhenCondition
default R visitWhenCondition(KotlinParser.KtWhenCondition node, P data)
Visit a parse tree produced byKotlinParser.whenCondition()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitRangeTest
default R visitRangeTest(KotlinParser.KtRangeTest node, P data)
Visit a parse tree produced byKotlinParser.rangeTest()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitTypeTest
default R visitTypeTest(KotlinParser.KtTypeTest node, P data)
Visit a parse tree produced byKotlinParser.typeTest()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitTryExpression
default R visitTryExpression(KotlinParser.KtTryExpression node, P data)
Visit a parse tree produced byKotlinParser.tryExpression()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitCatchBlock
default R visitCatchBlock(KotlinParser.KtCatchBlock node, P data)
Visit a parse tree produced byKotlinParser.catchBlock()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitFinallyBlock
default R visitFinallyBlock(KotlinParser.KtFinallyBlock node, P data)
Visit a parse tree produced byKotlinParser.finallyBlock()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitJumpExpression
default R visitJumpExpression(KotlinParser.KtJumpExpression node, P data)
Visit a parse tree produced byKotlinParser.jumpExpression()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitCallableReference
default R visitCallableReference(KotlinParser.KtCallableReference node, P data)
Visit a parse tree produced byKotlinParser.callableReference()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitAssignmentAndOperator
default R visitAssignmentAndOperator(KotlinParser.KtAssignmentAndOperator node, P data)
Visit a parse tree produced byKotlinParser.assignmentAndOperator()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitEqualityOperator
default R visitEqualityOperator(KotlinParser.KtEqualityOperator node, P data)
Visit a parse tree produced byKotlinParser.equalityOperator()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitComparisonOperator
default R visitComparisonOperator(KotlinParser.KtComparisonOperator node, P data)
Visit a parse tree produced byKotlinParser.comparisonOperator()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitInOperator
default R visitInOperator(KotlinParser.KtInOperator node, P data)
Visit a parse tree produced byKotlinParser.inOperator()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitIsOperator
default R visitIsOperator(KotlinParser.KtIsOperator node, P data)
Visit a parse tree produced byKotlinParser.isOperator()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitAdditiveOperator
default R visitAdditiveOperator(KotlinParser.KtAdditiveOperator node, P data)
Visit a parse tree produced byKotlinParser.additiveOperator()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitMultiplicativeOperator
default R visitMultiplicativeOperator(KotlinParser.KtMultiplicativeOperator node, P data)
Visit a parse tree produced byKotlinParser.multiplicativeOperator()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitAsOperator
default R visitAsOperator(KotlinParser.KtAsOperator node, P data)
Visit a parse tree produced byKotlinParser.asOperator()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitPrefixUnaryOperator
default R visitPrefixUnaryOperator(KotlinParser.KtPrefixUnaryOperator node, P data)
Visit a parse tree produced byKotlinParser.prefixUnaryOperator()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitPostfixUnaryOperator
default R visitPostfixUnaryOperator(KotlinParser.KtPostfixUnaryOperator node, P data)
Visit a parse tree produced byKotlinParser.postfixUnaryOperator()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitExcl
default R visitExcl(KotlinParser.KtExcl node, P data)
Visit a parse tree produced byKotlinParser.excl()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitMemberAccessOperator
default R visitMemberAccessOperator(KotlinParser.KtMemberAccessOperator node, P data)
Visit a parse tree produced byKotlinParser.memberAccessOperator()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitSafeNav
default R visitSafeNav(KotlinParser.KtSafeNav node, P data)
Visit a parse tree produced byKotlinParser.safeNav()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitModifiers
default R visitModifiers(KotlinParser.KtModifiers node, P data)
Visit a parse tree produced byKotlinParser.modifiers()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitParameterModifiers
default R visitParameterModifiers(KotlinParser.KtParameterModifiers node, P data)
Visit a parse tree produced byKotlinParser.parameterModifiers()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitModifier
default R visitModifier(KotlinParser.KtModifier node, P data)
Visit a parse tree produced byKotlinParser.modifier()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitTypeModifiers
default R visitTypeModifiers(KotlinParser.KtTypeModifiers node, P data)
Visit a parse tree produced byKotlinParser.typeModifiers()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitTypeModifier
default R visitTypeModifier(KotlinParser.KtTypeModifier node, P data)
Visit a parse tree produced byKotlinParser.typeModifier()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitClassModifier
default R visitClassModifier(KotlinParser.KtClassModifier node, P data)
Visit a parse tree produced byKotlinParser.classModifier()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitMemberModifier
default R visitMemberModifier(KotlinParser.KtMemberModifier node, P data)
Visit a parse tree produced byKotlinParser.memberModifier()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitVisibilityModifier
default R visitVisibilityModifier(KotlinParser.KtVisibilityModifier node, P data)
Visit a parse tree produced byKotlinParser.visibilityModifier()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitVarianceModifier
default R visitVarianceModifier(KotlinParser.KtVarianceModifier node, P data)
Visit a parse tree produced byKotlinParser.varianceModifier()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitTypeParameterModifiers
default R visitTypeParameterModifiers(KotlinParser.KtTypeParameterModifiers node, P data)
Visit a parse tree produced byKotlinParser.typeParameterModifiers()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitTypeParameterModifier
default R visitTypeParameterModifier(KotlinParser.KtTypeParameterModifier node, P data)
Visit a parse tree produced byKotlinParser.typeParameterModifier()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitFunctionModifier
default R visitFunctionModifier(KotlinParser.KtFunctionModifier node, P data)
Visit a parse tree produced byKotlinParser.functionModifier()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitPropertyModifier
default R visitPropertyModifier(KotlinParser.KtPropertyModifier node, P data)
Visit a parse tree produced byKotlinParser.propertyModifier()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitInheritanceModifier
default R visitInheritanceModifier(KotlinParser.KtInheritanceModifier node, P data)
Visit a parse tree produced byKotlinParser.inheritanceModifier()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitParameterModifier
default R visitParameterModifier(KotlinParser.KtParameterModifier node, P data)
Visit a parse tree produced byKotlinParser.parameterModifier()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitReificationModifier
default R visitReificationModifier(KotlinParser.KtReificationModifier node, P data)
Visit a parse tree produced byKotlinParser.reificationModifier()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitPlatformModifier
default R visitPlatformModifier(KotlinParser.KtPlatformModifier node, P data)
Visit a parse tree produced byKotlinParser.platformModifier()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitAnnotation
default R visitAnnotation(KotlinParser.KtAnnotation node, P data)
Visit a parse tree produced byKotlinParser.annotation()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitSingleAnnotation
default R visitSingleAnnotation(KotlinParser.KtSingleAnnotation node, P data)
Visit a parse tree produced byKotlinParser.singleAnnotation()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitMultiAnnotation
default R visitMultiAnnotation(KotlinParser.KtMultiAnnotation node, P data)
Visit a parse tree produced byKotlinParser.multiAnnotation()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitAnnotationUseSiteTarget
default R visitAnnotationUseSiteTarget(KotlinParser.KtAnnotationUseSiteTarget node, P data)
Visit a parse tree produced byKotlinParser.annotationUseSiteTarget()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitUnescapedAnnotation
default R visitUnescapedAnnotation(KotlinParser.KtUnescapedAnnotation node, P data)
Visit a parse tree produced byKotlinParser.unescapedAnnotation()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitSimpleIdentifier
default R visitSimpleIdentifier(KotlinParser.KtSimpleIdentifier node, P data)
Visit a parse tree produced byKotlinParser.simpleIdentifier()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitIdentifier
default R visitIdentifier(KotlinParser.KtIdentifier node, P data)
Visit a parse tree produced byKotlinParser.identifier()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
-