File tree Expand file tree Collapse file tree 1 file changed +1
-13
lines changed Expand file tree Collapse file tree 1 file changed +1
-13
lines changed Original file line number Diff line number Diff line change @@ -46,20 +46,8 @@ extension Parser {
46
46
47
47
/// Parse a conditional compilation block.
48
48
///
49
- /// This function should be used to parse conditional compilation statements,
50
- /// declarations, and expressions. It is generic over the particular kind of
51
- /// parse that must occur for these elements, and allows a context-specific
52
- /// syntax kind to be emitted to collect the results. For example, declaration
53
- /// parsing parses items and collects the items into a ``MemberDeclListSyntax``
54
- /// node.
55
- ///
56
49
/// - Parameters:
57
- /// - parseElement: Parse an element of the conditional compilation block.
58
- /// - addSemicolonIfNeeded: If elements need to be separated by a newline, this
59
- /// allows the insertion of missing semicolons to the
60
- /// previous element.
61
- /// - syntax: A function that aggregates the parsed conditional elements
62
- /// into a syntax collection.
50
+ /// - parseBody: Parse a body of single conditional compilation clause.
63
51
mutating func parsePoundIfDirective(
64
52
_ parseBody: ( _ parser: inout Parser ) -> RawIfConfigClauseSyntax . Elements ?
65
53
) -> RawIfConfigDeclSyntax {
You can’t perform that action at this time.
0 commit comments