Comment

public protocol Comment

A Comment is a parsed documentation comment in a C/C++/Objective-C source file.

  • Undocumented

    Declaration

    Swift

    var clang: CXComment
  • children Extension method

    Retreives all children of this comment.

    Declaration

    Swift

    public var children: AnySequence<Comment>
  • child(at:) Extension method

    Declaration

    Swift

    public func child(at index: Int) -> Comment?

    Parameters

    index

    The index of the child you’re getting.

    Return Value

    The specified child of the AST node.

  • firstChild Extension method

    The first child of this comment, if there are any children.

    Declaration

    Swift

    public var firstChild: Comment?