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 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
index
The index of the child you’re getting.
Return Value
The specified child of the AST node.
-
firstChild
Extension methodThe first child of this comment, if there are any children.
Declaration
Swift
public var firstChild: Comment?