Interface SwiftVisitor<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:
SwiftVisitorBase
public interface SwiftVisitor<P,R> extends AstVisitor<P,R>
This interface defines a complete generic visitor for a parse tree produced bySwiftParser
.
-
-
Method Summary
-
Methods inherited from interface net.sourceforge.pmd.lang.ast.AstVisitor
cannotVisit, visitNode
-
-
-
-
Method Detail
-
visitSwiftNode
default R visitSwiftNode(SwiftNode node, P data)
The default visit method for Swift 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
-
visitTopLevel
default R visitTopLevel(SwiftParser.SwTopLevel node, P data)
Visit a parse tree produced bySwiftParser.topLevel()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitStatement
default R visitStatement(SwiftParser.SwStatement node, P data)
Visit a parse tree produced bySwiftParser.statement()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitStatements
default R visitStatements(SwiftParser.SwStatements node, P data)
Visit a parse tree produced bySwiftParser.statements()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitLoopStatement
default R visitLoopStatement(SwiftParser.SwLoopStatement node, P data)
Visit a parse tree produced bySwiftParser.loopStatement()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitForInStatement
default R visitForInStatement(SwiftParser.SwForInStatement node, P data)
Visit a parse tree produced bySwiftParser.forInStatement()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitWhileStatement
default R visitWhileStatement(SwiftParser.SwWhileStatement node, P data)
Visit a parse tree produced bySwiftParser.whileStatement()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitRepeatWhileStatement
default R visitRepeatWhileStatement(SwiftParser.SwRepeatWhileStatement node, P data)
Visit a parse tree produced bySwiftParser.repeatWhileStatement()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitBranchStatement
default R visitBranchStatement(SwiftParser.SwBranchStatement node, P data)
Visit a parse tree produced bySwiftParser.branchStatement()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitIfStatement
default R visitIfStatement(SwiftParser.SwIfStatement node, P data)
Visit a parse tree produced bySwiftParser.ifStatement()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitElseClause
default R visitElseClause(SwiftParser.SwElseClause node, P data)
Visit a parse tree produced bySwiftParser.elseClause()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitGuardStatement
default R visitGuardStatement(SwiftParser.SwGuardStatement node, P data)
Visit a parse tree produced bySwiftParser.guardStatement()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitSwitchStatement
default R visitSwitchStatement(SwiftParser.SwSwitchStatement node, P data)
Visit a parse tree produced bySwiftParser.switchStatement()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitSwitchCases
default R visitSwitchCases(SwiftParser.SwSwitchCases node, P data)
Visit a parse tree produced bySwiftParser.switchCases()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitSwitchCase
default R visitSwitchCase(SwiftParser.SwSwitchCase node, P data)
Visit a parse tree produced bySwiftParser.switchCase()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitCaseLabel
default R visitCaseLabel(SwiftParser.SwCaseLabel node, P data)
Visit a parse tree produced bySwiftParser.caseLabel()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitCaseItemList
default R visitCaseItemList(SwiftParser.SwCaseItemList node, P data)
Visit a parse tree produced bySwiftParser.caseItemList()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitCaseItem
default R visitCaseItem(SwiftParser.SwCaseItem node, P data)
Visit a parse tree produced bySwiftParser.caseItem()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitDefaultLabel
default R visitDefaultLabel(SwiftParser.SwDefaultLabel node, P data)
Visit a parse tree produced bySwiftParser.defaultLabel()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitLabeledStatement
default R visitLabeledStatement(SwiftParser.SwLabeledStatement node, P data)
Visit a parse tree produced bySwiftParser.labeledStatement()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitStatementLabel
default R visitStatementLabel(SwiftParser.SwStatementLabel node, P data)
Visit a parse tree produced bySwiftParser.statementLabel()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitLabelName
default R visitLabelName(SwiftParser.SwLabelName node, P data)
Visit a parse tree produced bySwiftParser.labelName()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitControlTransferStatement
default R visitControlTransferStatement(SwiftParser.SwControlTransferStatement node, P data)
Visit a parse tree produced bySwiftParser.controlTransferStatement()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitBreakStatement
default R visitBreakStatement(SwiftParser.SwBreakStatement node, P data)
Visit a parse tree produced bySwiftParser.breakStatement()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitContinueStatement
default R visitContinueStatement(SwiftParser.SwContinueStatement node, P data)
Visit a parse tree produced bySwiftParser.continueStatement()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitFallthroughStatement
default R visitFallthroughStatement(SwiftParser.SwFallthroughStatement node, P data)
Visit a parse tree produced bySwiftParser.fallthroughStatement()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitReturnStatement
default R visitReturnStatement(SwiftParser.SwReturnStatement node, P data)
Visit a parse tree produced bySwiftParser.returnStatement()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitThrowStatement
default R visitThrowStatement(SwiftParser.SwThrowStatement node, P data)
Visit a parse tree produced bySwiftParser.throwStatement()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitDeferStatement
default R visitDeferStatement(SwiftParser.SwDeferStatement node, P data)
Visit a parse tree produced bySwiftParser.deferStatement()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitDoStatement
default R visitDoStatement(SwiftParser.SwDoStatement node, P data)
Visit a parse tree produced bySwiftParser.doStatement()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitCatchClauses
default R visitCatchClauses(SwiftParser.SwCatchClauses node, P data)
Visit a parse tree produced bySwiftParser.catchClauses()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitCatchClause
default R visitCatchClause(SwiftParser.SwCatchClause node, P data)
Visit a parse tree produced bySwiftParser.catchClause()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitConditionList
default R visitConditionList(SwiftParser.SwConditionList node, P data)
Visit a parse tree produced bySwiftParser.conditionList()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitCondition
default R visitCondition(SwiftParser.SwCondition node, P data)
Visit a parse tree produced bySwiftParser.condition()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitCaseCondition
default R visitCaseCondition(SwiftParser.SwCaseCondition node, P data)
Visit a parse tree produced bySwiftParser.caseCondition()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitOptionalBindingCondition
default R visitOptionalBindingCondition(SwiftParser.SwOptionalBindingCondition node, P data)
Visit a parse tree produced bySwiftParser.optionalBindingCondition()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitWhereClause
default R visitWhereClause(SwiftParser.SwWhereClause node, P data)
Visit a parse tree produced bySwiftParser.whereClause()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitWhereExpression
default R visitWhereExpression(SwiftParser.SwWhereExpression node, P data)
Visit a parse tree produced bySwiftParser.whereExpression()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitAvailabilityCondition
default R visitAvailabilityCondition(SwiftParser.SwAvailabilityCondition node, P data)
Visit a parse tree produced bySwiftParser.availabilityCondition()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitAvailabilityArguments
default R visitAvailabilityArguments(SwiftParser.SwAvailabilityArguments node, P data)
Visit a parse tree produced bySwiftParser.availabilityArguments()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitAvailabilityArgument
default R visitAvailabilityArgument(SwiftParser.SwAvailabilityArgument node, P data)
Visit a parse tree produced bySwiftParser.availabilityArgument()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitPlatformName
default R visitPlatformName(SwiftParser.SwPlatformName node, P data)
Visit a parse tree produced bySwiftParser.platformName()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitPlatformVersion
default R visitPlatformVersion(SwiftParser.SwPlatformVersion node, P data)
Visit a parse tree produced bySwiftParser.platformVersion()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitGenericParameterClause
default R visitGenericParameterClause(SwiftParser.SwGenericParameterClause node, P data)
Visit a parse tree produced bySwiftParser.genericParameterClause()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitGenericParameterList
default R visitGenericParameterList(SwiftParser.SwGenericParameterList node, P data)
Visit a parse tree produced bySwiftParser.genericParameterList()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitGenericParameter
default R visitGenericParameter(SwiftParser.SwGenericParameter node, P data)
Visit a parse tree produced bySwiftParser.genericParameter()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitGenericWhereClause
default R visitGenericWhereClause(SwiftParser.SwGenericWhereClause node, P data)
Visit a parse tree produced bySwiftParser.genericWhereClause()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitRequirementList
default R visitRequirementList(SwiftParser.SwRequirementList node, P data)
Visit a parse tree produced bySwiftParser.requirementList()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitRequirement
default R visitRequirement(SwiftParser.SwRequirement node, P data)
Visit a parse tree produced bySwiftParser.requirement()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitConformanceRequirement
default R visitConformanceRequirement(SwiftParser.SwConformanceRequirement node, P data)
Visit a parse tree produced bySwiftParser.conformanceRequirement()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitSameTypeRequirement
default R visitSameTypeRequirement(SwiftParser.SwSameTypeRequirement node, P data)
Visit a parse tree produced bySwiftParser.sameTypeRequirement()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitGenericArgumentClause
default R visitGenericArgumentClause(SwiftParser.SwGenericArgumentClause node, P data)
Visit a parse tree produced bySwiftParser.genericArgumentClause()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitGenericArgumentList
default R visitGenericArgumentList(SwiftParser.SwGenericArgumentList node, P data)
Visit a parse tree produced bySwiftParser.genericArgumentList()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitGenericArgument
default R visitGenericArgument(SwiftParser.SwGenericArgument node, P data)
Visit a parse tree produced bySwiftParser.genericArgument()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitDeclaration
default R visitDeclaration(SwiftParser.SwDeclaration node, P data)
Visit a parse tree produced bySwiftParser.declaration()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitDeclarations
default R visitDeclarations(SwiftParser.SwDeclarations node, P data)
Visit a parse tree produced bySwiftParser.declarations()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitDeclarationModifiers
default R visitDeclarationModifiers(SwiftParser.SwDeclarationModifiers node, P data)
Visit a parse tree produced bySwiftParser.declarationModifiers()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitDeclarationModifier
default R visitDeclarationModifier(SwiftParser.SwDeclarationModifier node, P data)
Visit a parse tree produced bySwiftParser.declarationModifier()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitAccessLevelModifier
default R visitAccessLevelModifier(SwiftParser.SwAccessLevelModifier node, P data)
Visit a parse tree produced bySwiftParser.accessLevelModifier()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitAccessLevelModifiers
default R visitAccessLevelModifiers(SwiftParser.SwAccessLevelModifiers node, P data)
Visit a parse tree produced bySwiftParser.accessLevelModifiers()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitMutationModifier
default R visitMutationModifier(SwiftParser.SwMutationModifier node, P data)
Visit a parse tree produced bySwiftParser.mutationModifier()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitCodeBlock
default R visitCodeBlock(SwiftParser.SwCodeBlock node, P data)
Visit a parse tree produced bySwiftParser.codeBlock()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitImportDeclaration
default R visitImportDeclaration(SwiftParser.SwImportDeclaration node, P data)
Visit a parse tree produced bySwiftParser.importDeclaration()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitImportKind
default R visitImportKind(SwiftParser.SwImportKind node, P data)
Visit a parse tree produced bySwiftParser.importKind()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitImportPath
default R visitImportPath(SwiftParser.SwImportPath node, P data)
Visit a parse tree produced bySwiftParser.importPath()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitImportPathIdentifier
default R visitImportPathIdentifier(SwiftParser.SwImportPathIdentifier node, P data)
Visit a parse tree produced bySwiftParser.importPathIdentifier()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitConstantDeclaration
default R visitConstantDeclaration(SwiftParser.SwConstantDeclaration node, P data)
Visit a parse tree produced bySwiftParser.constantDeclaration()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitPatternInitializerList
default R visitPatternInitializerList(SwiftParser.SwPatternInitializerList node, P data)
Visit a parse tree produced bySwiftParser.patternInitializerList()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitPatternInitializer
default R visitPatternInitializer(SwiftParser.SwPatternInitializer node, P data)
Visit a parse tree produced bySwiftParser.patternInitializer()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitInitializer
default R visitInitializer(SwiftParser.SwInitializer node, P data)
Visit a parse tree produced bySwiftParser.initializer()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitVariableDeclaration
default R visitVariableDeclaration(SwiftParser.SwVariableDeclaration node, P data)
Visit a parse tree produced bySwiftParser.variableDeclaration()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitVariableDeclarationHead
default R visitVariableDeclarationHead(SwiftParser.SwVariableDeclarationHead node, P data)
Visit a parse tree produced bySwiftParser.variableDeclarationHead()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitVariableName
default R visitVariableName(SwiftParser.SwVariableName node, P data)
Visit a parse tree produced bySwiftParser.variableName()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitGetterSetterBlock
default R visitGetterSetterBlock(SwiftParser.SwGetterSetterBlock node, P data)
Visit a parse tree produced bySwiftParser.getterSetterBlock()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitGetterClause
default R visitGetterClause(SwiftParser.SwGetterClause node, P data)
Visit a parse tree produced bySwiftParser.getterClause()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitSetterClause
default R visitSetterClause(SwiftParser.SwSetterClause node, P data)
Visit a parse tree produced bySwiftParser.setterClause()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitSetterName
default R visitSetterName(SwiftParser.SwSetterName node, P data)
Visit a parse tree produced bySwiftParser.setterName()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitGetterSetterKeywordBlock
default R visitGetterSetterKeywordBlock(SwiftParser.SwGetterSetterKeywordBlock node, P data)
Visit a parse tree produced bySwiftParser.getterSetterKeywordBlock()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitGetterKeywordClause
default R visitGetterKeywordClause(SwiftParser.SwGetterKeywordClause node, P data)
Visit a parse tree produced bySwiftParser.getterKeywordClause()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitSetterKeywordClause
default R visitSetterKeywordClause(SwiftParser.SwSetterKeywordClause node, P data)
Visit a parse tree produced bySwiftParser.setterKeywordClause()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitWillSetDidSetBlock
default R visitWillSetDidSetBlock(SwiftParser.SwWillSetDidSetBlock node, P data)
Visit a parse tree produced bySwiftParser.willSetDidSetBlock()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitWillSetClause
default R visitWillSetClause(SwiftParser.SwWillSetClause node, P data)
Visit a parse tree produced bySwiftParser.willSetClause()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitDidSetClause
default R visitDidSetClause(SwiftParser.SwDidSetClause node, P data)
Visit a parse tree produced bySwiftParser.didSetClause()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitTypealiasDeclaration
default R visitTypealiasDeclaration(SwiftParser.SwTypealiasDeclaration node, P data)
Visit a parse tree produced bySwiftParser.typealiasDeclaration()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitTypealiasHead
default R visitTypealiasHead(SwiftParser.SwTypealiasHead node, P data)
Visit a parse tree produced bySwiftParser.typealiasHead()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitTypealiasName
default R visitTypealiasName(SwiftParser.SwTypealiasName node, P data)
Visit a parse tree produced bySwiftParser.typealiasName()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitTypealiasAssignment
default R visitTypealiasAssignment(SwiftParser.SwTypealiasAssignment node, P data)
Visit a parse tree produced bySwiftParser.typealiasAssignment()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitFunctionDeclaration
default R visitFunctionDeclaration(SwiftParser.SwFunctionDeclaration node, P data)
Visit a parse tree produced bySwiftParser.functionDeclaration()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitFunctionHead
default R visitFunctionHead(SwiftParser.SwFunctionHead node, P data)
Visit a parse tree produced bySwiftParser.functionHead()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitFunctionName
default R visitFunctionName(SwiftParser.SwFunctionName node, P data)
Visit a parse tree produced bySwiftParser.functionName()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitFunctionSignature
default R visitFunctionSignature(SwiftParser.SwFunctionSignature node, P data)
Visit a parse tree produced bySwiftParser.functionSignature()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitFunctionResult
default R visitFunctionResult(SwiftParser.SwFunctionResult node, P data)
Visit a parse tree produced bySwiftParser.functionResult()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitFunctionBody
default R visitFunctionBody(SwiftParser.SwFunctionBody node, P data)
Visit a parse tree produced bySwiftParser.functionBody()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitParameterClause
default R visitParameterClause(SwiftParser.SwParameterClause node, P data)
Visit a parse tree produced bySwiftParser.parameterClause()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitParameterList
default R visitParameterList(SwiftParser.SwParameterList node, P data)
Visit a parse tree produced bySwiftParser.parameterList()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitParameter
default R visitParameter(SwiftParser.SwParameter node, P data)
Visit a parse tree produced bySwiftParser.parameter()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitExternalParameterName
default R visitExternalParameterName(SwiftParser.SwExternalParameterName node, P data)
Visit a parse tree produced bySwiftParser.externalParameterName()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitLocalParameterName
default R visitLocalParameterName(SwiftParser.SwLocalParameterName node, P data)
Visit a parse tree produced bySwiftParser.localParameterName()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitDefaultArgumentClause
default R visitDefaultArgumentClause(SwiftParser.SwDefaultArgumentClause node, P data)
Visit a parse tree produced bySwiftParser.defaultArgumentClause()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitEnumDeclaration
default R visitEnumDeclaration(SwiftParser.SwEnumDeclaration node, P data)
Visit a parse tree produced bySwiftParser.enumDeclaration()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitEnumDef
default R visitEnumDef(SwiftParser.SwEnumDef node, P data)
Visit a parse tree produced bySwiftParser.enumDef()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitUnionStyleEnum
default R visitUnionStyleEnum(SwiftParser.SwUnionStyleEnum node, P data)
Visit a parse tree produced bySwiftParser.unionStyleEnum()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitUnionStyleEnumMembers
default R visitUnionStyleEnumMembers(SwiftParser.SwUnionStyleEnumMembers node, P data)
Visit a parse tree produced bySwiftParser.unionStyleEnumMembers()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitUnionStyleEnumMember
default R visitUnionStyleEnumMember(SwiftParser.SwUnionStyleEnumMember node, P data)
Visit a parse tree produced bySwiftParser.unionStyleEnumMember()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitUnionStyleEnumCaseClause
default R visitUnionStyleEnumCaseClause(SwiftParser.SwUnionStyleEnumCaseClause node, P data)
Visit a parse tree produced bySwiftParser.unionStyleEnumCaseClause()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitUnionStyleEnumCaseList
default R visitUnionStyleEnumCaseList(SwiftParser.SwUnionStyleEnumCaseList node, P data)
Visit a parse tree produced bySwiftParser.unionStyleEnumCaseList()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitUnionStyleEnumCase
default R visitUnionStyleEnumCase(SwiftParser.SwUnionStyleEnumCase node, P data)
Visit a parse tree produced bySwiftParser.unionStyleEnumCase()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitEnumName
default R visitEnumName(SwiftParser.SwEnumName node, P data)
Visit a parse tree produced bySwiftParser.enumName()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitEnumCaseName
default R visitEnumCaseName(SwiftParser.SwEnumCaseName node, P data)
Visit a parse tree produced bySwiftParser.enumCaseName()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitRawValueStyleEnum
default R visitRawValueStyleEnum(SwiftParser.SwRawValueStyleEnum node, P data)
Visit a parse tree produced bySwiftParser.rawValueStyleEnum()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitRawValueStyleEnumMembers
default R visitRawValueStyleEnumMembers(SwiftParser.SwRawValueStyleEnumMembers node, P data)
Visit a parse tree produced bySwiftParser.rawValueStyleEnumMembers()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitRawValueStyleEnumMember
default R visitRawValueStyleEnumMember(SwiftParser.SwRawValueStyleEnumMember node, P data)
Visit a parse tree produced bySwiftParser.rawValueStyleEnumMember()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitRawValueStyleEnumCaseClause
default R visitRawValueStyleEnumCaseClause(SwiftParser.SwRawValueStyleEnumCaseClause node, P data)
Visit a parse tree produced bySwiftParser.rawValueStyleEnumCaseClause()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitRawValueStyleEnumCaseList
default R visitRawValueStyleEnumCaseList(SwiftParser.SwRawValueStyleEnumCaseList node, P data)
Visit a parse tree produced bySwiftParser.rawValueStyleEnumCaseList()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitRawValueStyleEnumCase
default R visitRawValueStyleEnumCase(SwiftParser.SwRawValueStyleEnumCase node, P data)
Visit a parse tree produced bySwiftParser.rawValueStyleEnumCase()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitRawValueAssignment
default R visitRawValueAssignment(SwiftParser.SwRawValueAssignment node, P data)
Visit a parse tree produced bySwiftParser.rawValueAssignment()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitStructDeclaration
default R visitStructDeclaration(SwiftParser.SwStructDeclaration node, P data)
Visit a parse tree produced bySwiftParser.structDeclaration()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitStructName
default R visitStructName(SwiftParser.SwStructName node, P data)
Visit a parse tree produced bySwiftParser.structName()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitStructBody
default R visitStructBody(SwiftParser.SwStructBody node, P data)
Visit a parse tree produced bySwiftParser.structBody()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitStructMembers
default R visitStructMembers(SwiftParser.SwStructMembers node, P data)
Visit a parse tree produced bySwiftParser.structMembers()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitStructMember
default R visitStructMember(SwiftParser.SwStructMember node, P data)
Visit a parse tree produced bySwiftParser.structMember()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitClassDeclaration
default R visitClassDeclaration(SwiftParser.SwClassDeclaration node, P data)
Visit a parse tree produced bySwiftParser.classDeclaration()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitClassDeclarationModifiers
default R visitClassDeclarationModifiers(SwiftParser.SwClassDeclarationModifiers node, P data)
Visit a parse tree produced bySwiftParser.classDeclarationModifiers()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitClassName
default R visitClassName(SwiftParser.SwClassName node, P data)
Visit a parse tree produced bySwiftParser.className()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitClassBody
default R visitClassBody(SwiftParser.SwClassBody node, P data)
Visit a parse tree produced bySwiftParser.classBody()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitClassMembers
default R visitClassMembers(SwiftParser.SwClassMembers node, P data)
Visit a parse tree produced bySwiftParser.classMembers()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitClassMember
default R visitClassMember(SwiftParser.SwClassMember node, P data)
Visit a parse tree produced bySwiftParser.classMember()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitProtocolDeclaration
default R visitProtocolDeclaration(SwiftParser.SwProtocolDeclaration node, P data)
Visit a parse tree produced bySwiftParser.protocolDeclaration()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitProtocolName
default R visitProtocolName(SwiftParser.SwProtocolName node, P data)
Visit a parse tree produced bySwiftParser.protocolName()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitProtocolBody
default R visitProtocolBody(SwiftParser.SwProtocolBody node, P data)
Visit a parse tree produced bySwiftParser.protocolBody()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitProtocolMembers
default R visitProtocolMembers(SwiftParser.SwProtocolMembers node, P data)
Visit a parse tree produced bySwiftParser.protocolMembers()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitProtocolMember
default R visitProtocolMember(SwiftParser.SwProtocolMember node, P data)
Visit a parse tree produced bySwiftParser.protocolMember()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitProtocolMemberDeclaration
default R visitProtocolMemberDeclaration(SwiftParser.SwProtocolMemberDeclaration node, P data)
Visit a parse tree produced bySwiftParser.protocolMemberDeclaration()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitProtocolPropertyDeclaration
default R visitProtocolPropertyDeclaration(SwiftParser.SwProtocolPropertyDeclaration node, P data)
Visit a parse tree produced bySwiftParser.protocolPropertyDeclaration()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitProtocolMethodDeclaration
default R visitProtocolMethodDeclaration(SwiftParser.SwProtocolMethodDeclaration node, P data)
Visit a parse tree produced bySwiftParser.protocolMethodDeclaration()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitProtocolInitializerDeclaration
default R visitProtocolInitializerDeclaration(SwiftParser.SwProtocolInitializerDeclaration node, P data)
Visit a parse tree produced bySwiftParser.protocolInitializerDeclaration()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitProtocolSubscriptDeclaration
default R visitProtocolSubscriptDeclaration(SwiftParser.SwProtocolSubscriptDeclaration node, P data)
Visit a parse tree produced bySwiftParser.protocolSubscriptDeclaration()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitProtocolAssociatedTypeDeclaration
default R visitProtocolAssociatedTypeDeclaration(SwiftParser.SwProtocolAssociatedTypeDeclaration node, P data)
Visit a parse tree produced bySwiftParser.protocolAssociatedTypeDeclaration()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitInitializerDeclaration
default R visitInitializerDeclaration(SwiftParser.SwInitializerDeclaration node, P data)
Visit a parse tree produced bySwiftParser.initializerDeclaration()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitInitializerHead
default R visitInitializerHead(SwiftParser.SwInitializerHead node, P data)
Visit a parse tree produced bySwiftParser.initializerHead()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitInitializerBody
default R visitInitializerBody(SwiftParser.SwInitializerBody node, P data)
Visit a parse tree produced bySwiftParser.initializerBody()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitDeinitializerDeclaration
default R visitDeinitializerDeclaration(SwiftParser.SwDeinitializerDeclaration node, P data)
Visit a parse tree produced bySwiftParser.deinitializerDeclaration()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitExtensionDeclaration
default R visitExtensionDeclaration(SwiftParser.SwExtensionDeclaration node, P data)
Visit a parse tree produced bySwiftParser.extensionDeclaration()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitExtensionBody
default R visitExtensionBody(SwiftParser.SwExtensionBody node, P data)
Visit a parse tree produced bySwiftParser.extensionBody()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitExtensionMembers
default R visitExtensionMembers(SwiftParser.SwExtensionMembers node, P data)
Visit a parse tree produced bySwiftParser.extensionMembers()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitExtensionMember
default R visitExtensionMember(SwiftParser.SwExtensionMember node, P data)
Visit a parse tree produced bySwiftParser.extensionMember()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitSubscriptDeclaration
default R visitSubscriptDeclaration(SwiftParser.SwSubscriptDeclaration node, P data)
Visit a parse tree produced bySwiftParser.subscriptDeclaration()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitSubscriptHead
default R visitSubscriptHead(SwiftParser.SwSubscriptHead node, P data)
Visit a parse tree produced bySwiftParser.subscriptHead()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitSubscriptResult
default R visitSubscriptResult(SwiftParser.SwSubscriptResult node, P data)
Visit a parse tree produced bySwiftParser.subscriptResult()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitOperatorDeclaration
default R visitOperatorDeclaration(SwiftParser.SwOperatorDeclaration node, P data)
Visit a parse tree produced bySwiftParser.operatorDeclaration()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitPrefixOperatorDeclaration
default R visitPrefixOperatorDeclaration(SwiftParser.SwPrefixOperatorDeclaration node, P data)
Visit a parse tree produced bySwiftParser.prefixOperatorDeclaration()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitPostfixOperatorDeclaration
default R visitPostfixOperatorDeclaration(SwiftParser.SwPostfixOperatorDeclaration node, P data)
Visit a parse tree produced bySwiftParser.postfixOperatorDeclaration()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitInfixOperatorDeclaration
default R visitInfixOperatorDeclaration(SwiftParser.SwInfixOperatorDeclaration node, P data)
Visit a parse tree produced bySwiftParser.infixOperatorDeclaration()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitInfixOperatorGroup
default R visitInfixOperatorGroup(SwiftParser.SwInfixOperatorGroup node, P data)
Visit a parse tree produced bySwiftParser.infixOperatorGroup()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitPrecedenceGroupDeclaration
default R visitPrecedenceGroupDeclaration(SwiftParser.SwPrecedenceGroupDeclaration node, P data)
Visit a parse tree produced bySwiftParser.precedenceGroupDeclaration()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitPrecedenceGroupAttributes
default R visitPrecedenceGroupAttributes(SwiftParser.SwPrecedenceGroupAttributes node, P data)
Visit a parse tree produced bySwiftParser.precedenceGroupAttributes()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitPrecedenceGroupAttribute
default R visitPrecedenceGroupAttribute(SwiftParser.SwPrecedenceGroupAttribute node, P data)
Visit a parse tree produced bySwiftParser.precedenceGroupAttribute()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitPrecedenceGroupRelation
default R visitPrecedenceGroupRelation(SwiftParser.SwPrecedenceGroupRelation node, P data)
Visit a parse tree produced bySwiftParser.precedenceGroupRelation()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitPrecedenceGroupAssignment
default R visitPrecedenceGroupAssignment(SwiftParser.SwPrecedenceGroupAssignment node, P data)
Visit a parse tree produced bySwiftParser.precedenceGroupAssignment()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitPrecedenceGroupAssociativity
default R visitPrecedenceGroupAssociativity(SwiftParser.SwPrecedenceGroupAssociativity node, P data)
Visit a parse tree produced bySwiftParser.precedenceGroupAssociativity()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitPrecedenceGroupNames
default R visitPrecedenceGroupNames(SwiftParser.SwPrecedenceGroupNames node, P data)
Visit a parse tree produced bySwiftParser.precedenceGroupNames()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitPrecedenceGroupName
default R visitPrecedenceGroupName(SwiftParser.SwPrecedenceGroupName node, P data)
Visit a parse tree produced bySwiftParser.precedenceGroupName()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitPattern
default R visitPattern(SwiftParser.SwPattern node, P data)
Visit a parse tree produced bySwiftParser.pattern()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitWildcardPattern
default R visitWildcardPattern(SwiftParser.SwWildcardPattern node, P data)
Visit a parse tree produced bySwiftParser.wildcardPattern()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitIdentifierPattern
default R visitIdentifierPattern(SwiftParser.SwIdentifierPattern node, P data)
Visit a parse tree produced bySwiftParser.identifierPattern()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitValueBindingPattern
default R visitValueBindingPattern(SwiftParser.SwValueBindingPattern node, P data)
Visit a parse tree produced bySwiftParser.valueBindingPattern()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitTuplePattern
default R visitTuplePattern(SwiftParser.SwTuplePattern node, P data)
Visit a parse tree produced bySwiftParser.tuplePattern()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitTuplePatternElementList
default R visitTuplePatternElementList(SwiftParser.SwTuplePatternElementList node, P data)
Visit a parse tree produced bySwiftParser.tuplePatternElementList()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitTuplePatternElement
default R visitTuplePatternElement(SwiftParser.SwTuplePatternElement node, P data)
Visit a parse tree produced bySwiftParser.tuplePatternElement()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitEnumCasePattern
default R visitEnumCasePattern(SwiftParser.SwEnumCasePattern node, P data)
Visit a parse tree produced bySwiftParser.enumCasePattern()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitTypeCastingPattern
default R visitTypeCastingPattern(SwiftParser.SwTypeCastingPattern node, P data)
Visit a parse tree produced bySwiftParser.typeCastingPattern()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitIsPattern
default R visitIsPattern(SwiftParser.SwIsPattern node, P data)
Visit a parse tree produced bySwiftParser.isPattern()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitAsPattern
default R visitAsPattern(SwiftParser.SwAsPattern node, P data)
Visit a parse tree produced bySwiftParser.asPattern()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitExpressionPattern
default R visitExpressionPattern(SwiftParser.SwExpressionPattern node, P data)
Visit a parse tree produced bySwiftParser.expressionPattern()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitAttribute
default R visitAttribute(SwiftParser.SwAttribute node, P data)
Visit a parse tree produced bySwiftParser.attribute()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitAttributeName
default R visitAttributeName(SwiftParser.SwAttributeName node, P data)
Visit a parse tree produced bySwiftParser.attributeName()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitAttributeArgumentClause
default R visitAttributeArgumentClause(SwiftParser.SwAttributeArgumentClause node, P data)
Visit a parse tree produced bySwiftParser.attributeArgumentClause()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitAttributes
default R visitAttributes(SwiftParser.SwAttributes node, P data)
Visit a parse tree produced bySwiftParser.attributes()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitBalancedTokens
default R visitBalancedTokens(SwiftParser.SwBalancedTokens node, P data)
Visit a parse tree produced bySwiftParser.balancedTokens()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitBalancedToken
default R visitBalancedToken(SwiftParser.SwBalancedToken node, P data)
Visit a parse tree produced bySwiftParser.balancedToken()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitExpression
default R visitExpression(SwiftParser.SwExpression node, P data)
Visit a parse tree produced bySwiftParser.expression()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitPrefixExpression
default R visitPrefixExpression(SwiftParser.SwPrefixExpression node, P data)
Visit a parse tree produced bySwiftParser.prefixExpression()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitInOutExpression
default R visitInOutExpression(SwiftParser.SwInOutExpression node, P data)
Visit a parse tree produced bySwiftParser.inOutExpression()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitTryOperator
default R visitTryOperator(SwiftParser.SwTryOperator node, P data)
Visit a parse tree produced bySwiftParser.tryOperator()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitBinaryExpression
default R visitBinaryExpression(SwiftParser.SwBinaryExpression node, P data)
Visit a parse tree produced bySwiftParser.binaryExpression()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitAssignmentOperator
default R visitAssignmentOperator(SwiftParser.SwAssignmentOperator node, P data)
Visit a parse tree produced bySwiftParser.assignmentOperator()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitConditionalOperator
default R visitConditionalOperator(SwiftParser.SwConditionalOperator node, P data)
Visit a parse tree produced bySwiftParser.conditionalOperator()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitTypeCastingOperator
default R visitTypeCastingOperator(SwiftParser.SwTypeCastingOperator node, P data)
Visit a parse tree produced bySwiftParser.typeCastingOperator()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitPrimaryExpression
default R visitPrimaryExpression(SwiftParser.SwPrimaryExpression node, P data)
Visit a parse tree produced bySwiftParser.primaryExpression()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitLiteralExpression
default R visitLiteralExpression(SwiftParser.SwLiteralExpression node, P data)
Visit a parse tree produced bySwiftParser.literalExpression()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitArrayLiteral
default R visitArrayLiteral(SwiftParser.SwArrayLiteral node, P data)
Visit a parse tree produced bySwiftParser.arrayLiteral()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitArrayLiteralItems
default R visitArrayLiteralItems(SwiftParser.SwArrayLiteralItems node, P data)
Visit a parse tree produced bySwiftParser.arrayLiteralItems()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitArrayLiteralItem
default R visitArrayLiteralItem(SwiftParser.SwArrayLiteralItem node, P data)
Visit a parse tree produced bySwiftParser.arrayLiteralItem()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitDictionaryLiteral
default R visitDictionaryLiteral(SwiftParser.SwDictionaryLiteral node, P data)
Visit a parse tree produced bySwiftParser.dictionaryLiteral()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitDictionaryLiteralItems
default R visitDictionaryLiteralItems(SwiftParser.SwDictionaryLiteralItems node, P data)
Visit a parse tree produced bySwiftParser.dictionaryLiteralItems()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitDictionaryLiteralItem
default R visitDictionaryLiteralItem(SwiftParser.SwDictionaryLiteralItem node, P data)
Visit a parse tree produced bySwiftParser.dictionaryLiteralItem()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitPlaygroundLiteral
default R visitPlaygroundLiteral(SwiftParser.SwPlaygroundLiteral node, P data)
Visit a parse tree produced bySwiftParser.playgroundLiteral()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitSelfExpression
default R visitSelfExpression(SwiftParser.SwSelfExpression node, P data)
Visit a parse tree produced bySwiftParser.selfExpression()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitSuperclassExpression
default R visitSuperclassExpression(SwiftParser.SwSuperclassExpression node, P data)
Visit a parse tree produced bySwiftParser.superclassExpression()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitSuperclassMethodExpression
default R visitSuperclassMethodExpression(SwiftParser.SwSuperclassMethodExpression node, P data)
Visit a parse tree produced bySwiftParser.superclassMethodExpression()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitSuperclassSubscriptExpression
default R visitSuperclassSubscriptExpression(SwiftParser.SwSuperclassSubscriptExpression node, P data)
Visit a parse tree produced bySwiftParser.superclassSubscriptExpression()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitSuperclassInitializerExpression
default R visitSuperclassInitializerExpression(SwiftParser.SwSuperclassInitializerExpression node, P data)
Visit a parse tree produced bySwiftParser.superclassInitializerExpression()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitClosureExpression
default R visitClosureExpression(SwiftParser.SwClosureExpression node, P data)
Visit a parse tree produced bySwiftParser.closureExpression()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitClosureSignature
default R visitClosureSignature(SwiftParser.SwClosureSignature node, P data)
Visit a parse tree produced bySwiftParser.closureSignature()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitClosureParameterClause
default R visitClosureParameterClause(SwiftParser.SwClosureParameterClause node, P data)
Visit a parse tree produced bySwiftParser.closureParameterClause()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitClosureParameterList
default R visitClosureParameterList(SwiftParser.SwClosureParameterList node, P data)
Visit a parse tree produced bySwiftParser.closureParameterList()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitClosureParameter
default R visitClosureParameter(SwiftParser.SwClosureParameter node, P data)
Visit a parse tree produced bySwiftParser.closureParameter()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitClosureParameterName
default R visitClosureParameterName(SwiftParser.SwClosureParameterName node, P data)
Visit a parse tree produced bySwiftParser.closureParameterName()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitCaptureList
default R visitCaptureList(SwiftParser.SwCaptureList node, P data)
Visit a parse tree produced bySwiftParser.captureList()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitCaptureListItems
default R visitCaptureListItems(SwiftParser.SwCaptureListItems node, P data)
Visit a parse tree produced bySwiftParser.captureListItems()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitCaptureListItem
default R visitCaptureListItem(SwiftParser.SwCaptureListItem node, P data)
Visit a parse tree produced bySwiftParser.captureListItem()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitCaptureSpecifier
default R visitCaptureSpecifier(SwiftParser.SwCaptureSpecifier node, P data)
Visit a parse tree produced bySwiftParser.captureSpecifier()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitImplicitMemberExpression
default R visitImplicitMemberExpression(SwiftParser.SwImplicitMemberExpression node, P data)
Visit a parse tree produced bySwiftParser.implicitMemberExpression()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitParenthesizedExpression
default R visitParenthesizedExpression(SwiftParser.SwParenthesizedExpression node, P data)
Visit a parse tree produced bySwiftParser.parenthesizedExpression()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitTupleExpression
default R visitTupleExpression(SwiftParser.SwTupleExpression node, P data)
Visit a parse tree produced bySwiftParser.tupleExpression()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitTupleElementList
default R visitTupleElementList(SwiftParser.SwTupleElementList node, P data)
Visit a parse tree produced bySwiftParser.tupleElementList()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitTupleElement
default R visitTupleElement(SwiftParser.SwTupleElement node, P data)
Visit a parse tree produced bySwiftParser.tupleElement()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitWildcardExpression
default R visitWildcardExpression(SwiftParser.SwWildcardExpression node, P data)
Visit a parse tree produced bySwiftParser.wildcardExpression()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitMacroExpansionExpression
default R visitMacroExpansionExpression(SwiftParser.SwMacroExpansionExpression node, P data)
Visit a parse tree produced bySwiftParser.macroExpansionExpression()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitSelectorExpression
default R visitSelectorExpression(SwiftParser.SwSelectorExpression node, P data)
Visit a parse tree produced bySwiftParser.selectorExpression()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitKeyPathExpression
default R visitKeyPathExpression(SwiftParser.SwKeyPathExpression node, P data)
Visit a parse tree produced bySwiftParser.keyPathExpression()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitDynamicTypeExpression
default R visitDynamicTypeExpression(SwiftParser.SwDynamicTypeExpression node, P data)
Visit a parse tree produced by thedynamicTypeExpression
labeled alternative inSwiftParser.postfixExpression()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitFunctionCallWithClosureExpression
default R visitFunctionCallWithClosureExpression(SwiftParser.SwFunctionCallWithClosureExpression node, P data)
Visit a parse tree produced by thefunctionCallWithClosureExpression
labeled alternative inSwiftParser.postfixExpression()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitSubscriptExpression
default R visitSubscriptExpression(SwiftParser.SwSubscriptExpression node, P data)
Visit a parse tree produced by thesubscriptExpression
labeled alternative inSwiftParser.postfixExpression()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitPostfixSelfExpression
default R visitPostfixSelfExpression(SwiftParser.SwPostfixSelfExpression node, P data)
Visit a parse tree produced by thepostfixSelfExpression
labeled alternative inSwiftParser.postfixExpression()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitOptionalChainingExpression
default R visitOptionalChainingExpression(SwiftParser.SwOptionalChainingExpression node, P data)
Visit a parse tree produced by theoptionalChainingExpression
labeled alternative inSwiftParser.postfixExpression()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitExplicitMemberExpression1
default R visitExplicitMemberExpression1(SwiftParser.SwExplicitMemberExpression1 node, P data)
Visit a parse tree produced by theexplicitMemberExpression1
labeled alternative inSwiftParser.postfixExpression()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitPostfixOperation
default R visitPostfixOperation(SwiftParser.SwPostfixOperation node, P data)
Visit a parse tree produced by thepostfixOperation
labeled alternative inSwiftParser.postfixExpression()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitInitializerExpression
default R visitInitializerExpression(SwiftParser.SwInitializerExpression node, P data)
Visit a parse tree produced by theinitializerExpression
labeled alternative inSwiftParser.postfixExpression()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitForcedValueExpression
default R visitForcedValueExpression(SwiftParser.SwForcedValueExpression node, P data)
Visit a parse tree produced by theforcedValueExpression
labeled alternative inSwiftParser.postfixExpression()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitExplicitMemberExpression3
default R visitExplicitMemberExpression3(SwiftParser.SwExplicitMemberExpression3 node, P data)
Visit a parse tree produced by theexplicitMemberExpression3
labeled alternative inSwiftParser.postfixExpression()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitExplicitMemberExpression2
default R visitExplicitMemberExpression2(SwiftParser.SwExplicitMemberExpression2 node, P data)
Visit a parse tree produced by theexplicitMemberExpression2
labeled alternative inSwiftParser.postfixExpression()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitFunctionCallExpression
default R visitFunctionCallExpression(SwiftParser.SwFunctionCallExpression node, P data)
Visit a parse tree produced by thefunctionCallExpression
labeled alternative inSwiftParser.postfixExpression()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitInitializerExpressionWithArguments
default R visitInitializerExpressionWithArguments(SwiftParser.SwInitializerExpressionWithArguments node, P data)
Visit a parse tree produced by theinitializerExpressionWithArguments
labeled alternative inSwiftParser.postfixExpression()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitPrimary
default R visitPrimary(SwiftParser.SwPrimary node, P data)
Visit a parse tree produced by theprimary
labeled alternative inSwiftParser.postfixExpression()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitFunctionCallArgumentClause
default R visitFunctionCallArgumentClause(SwiftParser.SwFunctionCallArgumentClause node, P data)
Visit a parse tree produced bySwiftParser.functionCallArgumentClause()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitFunctionCallArgumentList
default R visitFunctionCallArgumentList(SwiftParser.SwFunctionCallArgumentList node, P data)
Visit a parse tree produced bySwiftParser.functionCallArgumentList()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitFunctionCallArgument
default R visitFunctionCallArgument(SwiftParser.SwFunctionCallArgument node, P data)
Visit a parse tree produced bySwiftParser.functionCallArgument()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitFunctionCallIdentifier
default R visitFunctionCallIdentifier(SwiftParser.SwFunctionCallIdentifier node, P data)
Visit a parse tree produced bySwiftParser.functionCallIdentifier()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitArgumentNames
default R visitArgumentNames(SwiftParser.SwArgumentNames node, P data)
Visit a parse tree produced bySwiftParser.argumentNames()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitArgumentName
default R visitArgumentName(SwiftParser.SwArgumentName node, P data)
Visit a parse tree produced bySwiftParser.argumentName()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitOperatorHead
default R visitOperatorHead(SwiftParser.SwOperatorHead node, P data)
Visit a parse tree produced bySwiftParser.operatorHead()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitOperatorCharacter
default R visitOperatorCharacter(SwiftParser.SwOperatorCharacter node, P data)
Visit a parse tree produced bySwiftParser.operatorCharacter()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitOperator
default R visitOperator(SwiftParser.SwOperator node, P data)
Visit a parse tree produced bySwiftParser.operator()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitBinaryOperator
default R visitBinaryOperator(SwiftParser.SwBinaryOperator node, P data)
Visit a parse tree produced bySwiftParser.binaryOperator()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitPrefixOperator
default R visitPrefixOperator(SwiftParser.SwPrefixOperator node, P data)
Visit a parse tree produced bySwiftParser.prefixOperator()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitPostfixOperator
default R visitPostfixOperator(SwiftParser.SwPostfixOperator node, P data)
Visit a parse tree produced bySwiftParser.postfixOperator()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitSType
default R visitSType(SwiftParser.SwSType node, P data)
Visit a parse tree produced bySwiftParser.sType()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitFunctionType
default R visitFunctionType(SwiftParser.SwFunctionType node, P data)
Visit a parse tree produced bySwiftParser.functionType()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitFunctionTypeArgumentClause
default R visitFunctionTypeArgumentClause(SwiftParser.SwFunctionTypeArgumentClause node, P data)
Visit a parse tree produced bySwiftParser.functionTypeArgumentClause()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitFunctionTypeArgumentList
default R visitFunctionTypeArgumentList(SwiftParser.SwFunctionTypeArgumentList node, P data)
Visit a parse tree produced bySwiftParser.functionTypeArgumentList()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitFunctionTypeArgument
default R visitFunctionTypeArgument(SwiftParser.SwFunctionTypeArgument node, P data)
Visit a parse tree produced bySwiftParser.functionTypeArgument()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitArgumentLabel
default R visitArgumentLabel(SwiftParser.SwArgumentLabel node, P data)
Visit a parse tree produced bySwiftParser.argumentLabel()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitArrayType
default R visitArrayType(SwiftParser.SwArrayType node, P data)
Visit a parse tree produced bySwiftParser.arrayType()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitDictionaryType
default R visitDictionaryType(SwiftParser.SwDictionaryType node, P data)
Visit a parse tree produced bySwiftParser.dictionaryType()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitOptionalType
default R visitOptionalType(SwiftParser.SwOptionalType node, P data)
Visit a parse tree produced bySwiftParser.optionalType()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitImplicitlyUnwrappedOptionalType
default R visitImplicitlyUnwrappedOptionalType(SwiftParser.SwImplicitlyUnwrappedOptionalType node, P data)
Visit a parse tree produced bySwiftParser.implicitlyUnwrappedOptionalType()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitTypeAnnotation
default R visitTypeAnnotation(SwiftParser.SwTypeAnnotation node, P data)
Visit a parse tree produced bySwiftParser.typeAnnotation()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitTypeIdentifier
default R visitTypeIdentifier(SwiftParser.SwTypeIdentifier node, P data)
Visit a parse tree produced bySwiftParser.typeIdentifier()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitTypeName
default R visitTypeName(SwiftParser.SwTypeName node, P data)
Visit a parse tree produced bySwiftParser.typeName()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitTupleType
default R visitTupleType(SwiftParser.SwTupleType node, P data)
Visit a parse tree produced bySwiftParser.tupleType()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitTupleTypeElementList
default R visitTupleTypeElementList(SwiftParser.SwTupleTypeElementList node, P data)
Visit a parse tree produced bySwiftParser.tupleTypeElementList()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitTupleTypeElement
default R visitTupleTypeElement(SwiftParser.SwTupleTypeElement node, P data)
Visit a parse tree produced bySwiftParser.tupleTypeElement()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitElementName
default R visitElementName(SwiftParser.SwElementName node, P data)
Visit a parse tree produced bySwiftParser.elementName()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitProtocolCompositionType
default R visitProtocolCompositionType(SwiftParser.SwProtocolCompositionType node, P data)
Visit a parse tree produced bySwiftParser.protocolCompositionType()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitProtocolCompositionContinuation
default R visitProtocolCompositionContinuation(SwiftParser.SwProtocolCompositionContinuation node, P data)
Visit a parse tree produced bySwiftParser.protocolCompositionContinuation()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitProtocolIdentifier
default R visitProtocolIdentifier(SwiftParser.SwProtocolIdentifier node, P data)
Visit a parse tree produced bySwiftParser.protocolIdentifier()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitMetatypeType
default R visitMetatypeType(SwiftParser.SwMetatypeType node, P data)
Visit a parse tree produced bySwiftParser.metatypeType()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitTypeInheritanceClause
default R visitTypeInheritanceClause(SwiftParser.SwTypeInheritanceClause node, P data)
Visit a parse tree produced bySwiftParser.typeInheritanceClause()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitTypeInheritanceList
default R visitTypeInheritanceList(SwiftParser.SwTypeInheritanceList node, P data)
Visit a parse tree produced bySwiftParser.typeInheritanceList()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitClassRequirement
default R visitClassRequirement(SwiftParser.SwClassRequirement node, P data)
Visit a parse tree produced bySwiftParser.classRequirement()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitCompilerControlStatement
default R visitCompilerControlStatement(SwiftParser.SwCompilerControlStatement node, P data)
Visit a parse tree produced bySwiftParser.compilerControlStatement()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitConditionalCompilationBlock
default R visitConditionalCompilationBlock(SwiftParser.SwConditionalCompilationBlock node, P data)
Visit a parse tree produced bySwiftParser.conditionalCompilationBlock()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitIfDirectiveClause
default R visitIfDirectiveClause(SwiftParser.SwIfDirectiveClause node, P data)
Visit a parse tree produced bySwiftParser.ifDirectiveClause()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitElseifDirectiveClauses
default R visitElseifDirectiveClauses(SwiftParser.SwElseifDirectiveClauses node, P data)
Visit a parse tree produced bySwiftParser.elseifDirectiveClauses()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitElseifDirectiveClause
default R visitElseifDirectiveClause(SwiftParser.SwElseifDirectiveClause node, P data)
Visit a parse tree produced bySwiftParser.elseifDirectiveClause()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitElseDirectiveClause
default R visitElseDirectiveClause(SwiftParser.SwElseDirectiveClause node, P data)
Visit a parse tree produced bySwiftParser.elseDirectiveClause()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitCompilationCondition
default R visitCompilationCondition(SwiftParser.SwCompilationCondition node, P data)
Visit a parse tree produced bySwiftParser.compilationCondition()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitPlatformCondition
default R visitPlatformCondition(SwiftParser.SwPlatformCondition node, P data)
Visit a parse tree produced bySwiftParser.platformCondition()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitOperatingSystem
default R visitOperatingSystem(SwiftParser.SwOperatingSystem node, P data)
Visit a parse tree produced bySwiftParser.operatingSystem()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitArchitecture
default R visitArchitecture(SwiftParser.SwArchitecture node, P data)
Visit a parse tree produced bySwiftParser.architecture()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitSwiftVersion
default R visitSwiftVersion(SwiftParser.SwSwiftVersion node, P data)
Visit a parse tree produced bySwiftParser.swiftVersion()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitModuleName
default R visitModuleName(SwiftParser.SwModuleName node, P data)
Visit a parse tree produced bySwiftParser.moduleName()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitLineControlStatement
default R visitLineControlStatement(SwiftParser.SwLineControlStatement node, P data)
Visit a parse tree produced bySwiftParser.lineControlStatement()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitLineNumber
default R visitLineNumber(SwiftParser.SwLineNumber node, P data)
Visit a parse tree produced bySwiftParser.lineNumber()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitFileName
default R visitFileName(SwiftParser.SwFileName node, P data)
Visit a parse tree produced bySwiftParser.fileName()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitWarningCompilationStatement
default R visitWarningCompilationStatement(SwiftParser.SwWarningCompilationStatement node, P data)
Visit a parse tree produced bySwiftParser.warningCompilationStatement()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitIdentifier
default R visitIdentifier(SwiftParser.SwIdentifier node, P data)
Visit a parse tree produced bySwiftParser.identifier()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitKeyword
default R visitKeyword(SwiftParser.SwKeyword node, P data)
Visit a parse tree produced bySwiftParser.keyword()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitContextSensitiveKeyword
default R visitContextSensitiveKeyword(SwiftParser.SwContextSensitiveKeyword node, P data)
Visit a parse tree produced bySwiftParser.contextSensitiveKeyword()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitGrammarString
default R visitGrammarString(SwiftParser.SwGrammarString node, P data)
Visit a parse tree produced bySwiftParser.grammarString()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitIdentifierList
default R visitIdentifierList(SwiftParser.SwIdentifierList node, P data)
Visit a parse tree produced bySwiftParser.identifierList()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitBooleanLiteral
default R visitBooleanLiteral(SwiftParser.SwBooleanLiteral node, P data)
Visit a parse tree produced bySwiftParser.booleanLiteral()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitLiteral
default R visitLiteral(SwiftParser.SwLiteral node, P data)
Visit a parse tree produced bySwiftParser.literal()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitNumericLiteral
default R visitNumericLiteral(SwiftParser.SwNumericLiteral node, P data)
Visit a parse tree produced bySwiftParser.numericLiteral()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
visitIntegerLiteral
default R visitIntegerLiteral(SwiftParser.SwIntegerLiteral node, P data)
Visit a parse tree produced bySwiftParser.integerLiteral()
.- Parameters:
node
- Node to visitdata
- Parameter of the visit- Returns:
- the visitor result
-
-