ViolationsSyntaxVisitor

open class ViolationsSyntaxVisitor : SyntaxVisitor

A SwiftSyntax SyntaxVisitor that produces absolute positions where violations should be reported.

  • Declaration

    Swift

    override open func visit(_ node: ActorDeclSyntax) -> SyntaxVisitorContinueKind
  • Declaration

    Swift

    override open func visit(_ node: ClassDeclSyntax) -> SyntaxVisitorContinueKind
  • Declaration

    Swift

    override open func visit(_ node: EnumDeclSyntax) -> SyntaxVisitorContinueKind
  • Declaration

    Swift

    override open func visit(_ node: ExtensionDeclSyntax) -> SyntaxVisitorContinueKind
  • Declaration

    Swift

    override open func visit(_ node: FunctionDeclSyntax) -> SyntaxVisitorContinueKind
  • Declaration

    Swift

    override open func visit(_ node: SubscriptDeclSyntax) -> SyntaxVisitorContinueKind
  • Declaration

    Swift

    override open func visit(_ node: VariableDeclSyntax) -> SyntaxVisitorContinueKind
  • Declaration

    Swift

    override open func visit(_ node: ProtocolDeclSyntax) -> SyntaxVisitorContinueKind
  • Declaration

    Swift

    override open func visit(_ node: StructDeclSyntax) -> SyntaxVisitorContinueKind