Skip to content

Commit 7d56a19

Browse files
committed
[SwiftSyntaxParser] Add doc-comments for swiftparse_parser_t
1 parent 94aeea5 commit 7d56a19

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

include/swift-c/SyntaxParser/SwiftSyntaxParser.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,12 @@ typedef struct {
125125

126126
//=== Parser Functions ----------------------------------------------------===//
127127

128+
/// Container of the configuration state for parsing.
129+
///
130+
/// It keeps track of the callback blocks for parsing. Any other additional
131+
/// configuration option (like parsing options) could be set by a adding a
132+
/// function that accepts a \c swiftparse_parser_t object and modifies its
133+
/// state.
128134
typedef void *swiftparse_parser_t;
129135

130136
SWIFTPARSE_PUBLIC swiftparse_parser_t

0 commit comments

Comments
 (0)