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
-
childrenExtension methodRetreives all children of this comment.
Declaration
Swift
public var children: AnySequence<Comment> -
child(at:)Extension methodDeclaration
Swift
public func child(at index: Int) -> Comment?Parameters
indexThe index of the child you’re getting.
Return Value
The specified child of the AST node.
-
firstChildExtension methodThe first child of this comment, if there are any children.
Declaration
Swift
public var firstChild: Comment?
Comment Protocol Reference