Adding SwiftUI View example with closures, result builders, and imports #81
72.62% of diff hit (target 79.00%)
View this Pull Request on Codecov
72.62% of diff hit (target 79.00%)
Annotations
Check warning on line 54 in Sources/SyntaxKit/Core/CodeBlock.swift
codecov / codecov/patch
Sources/SyntaxKit/Core/CodeBlock.swift#L54
Added line #L54 was not covered by tests
Check warning on line 62 in Sources/SyntaxKit/Declarations/Import.swift
codecov / codecov/patch
Sources/SyntaxKit/Declarations/Import.swift#L58-L62
Added lines #L58 - L62 were not covered by tests
Check warning on line 73 in Sources/SyntaxKit/Declarations/Import.swift
codecov / codecov/patch
Sources/SyntaxKit/Declarations/Import.swift#L73
Added line #L73 was not covered by tests
Check warning on line 75 in Sources/SyntaxKit/Declarations/Import.swift
codecov / codecov/patch
Sources/SyntaxKit/Declarations/Import.swift#L75
Added line #L75 was not covered by tests
Check warning on line 77 in Sources/SyntaxKit/Declarations/Import.swift
codecov / codecov/patch
Sources/SyntaxKit/Declarations/Import.swift#L77
Added line #L77 was not covered by tests
Check warning on line 79 in Sources/SyntaxKit/Declarations/Import.swift
codecov / codecov/patch
Sources/SyntaxKit/Declarations/Import.swift#L79
Added line #L79 was not covered by tests
Check warning on line 142 in Sources/SyntaxKit/Declarations/Import.swift
codecov / codecov/patch
Sources/SyntaxKit/Declarations/Import.swift#L104-L142
Added lines #L104 - L142 were not covered by tests
Check warning on line 71 in Sources/SyntaxKit/Declarations/Init.swift
codecov / codecov/patch
Sources/SyntaxKit/Declarations/Init.swift#L70-L71
Added lines #L70 - L71 were not covered by tests
Check warning on line 86 in Sources/SyntaxKit/Declarations/Init.swift
codecov / codecov/patch
Sources/SyntaxKit/Declarations/Init.swift#L81-L86
Added lines #L81 - L86 were not covered by tests
Check warning on line 122 in Sources/SyntaxKit/Declarations/Init.swift
codecov / codecov/patch
Sources/SyntaxKit/Declarations/Init.swift#L120-L122
Added lines #L120 - L122 were not covered by tests
Check warning on line 150 in Sources/SyntaxKit/Declarations/Struct.swift
codecov / codecov/patch
Sources/SyntaxKit/Declarations/Struct.swift#L150
Added line #L150 was not covered by tests
Check warning on line 152 in Sources/SyntaxKit/Declarations/Struct.swift
codecov / codecov/patch
Sources/SyntaxKit/Declarations/Struct.swift#L152
Added line #L152 was not covered by tests
Check warning on line 154 in Sources/SyntaxKit/Declarations/Struct.swift
codecov / codecov/patch
Sources/SyntaxKit/Declarations/Struct.swift#L154
Added line #L154 was not covered by tests
Check warning on line 156 in Sources/SyntaxKit/Declarations/Struct.swift
codecov / codecov/patch
Sources/SyntaxKit/Declarations/Struct.swift#L156
Added line #L156 was not covered by tests
Check warning on line 75 in Sources/SyntaxKit/Expressions/Closure+Body.swift
codecov / codecov/patch
Sources/SyntaxKit/Expressions/Closure+Body.swift#L71-L75
Added lines #L71 - L75 were not covered by tests
Check warning on line 48 in Sources/SyntaxKit/Expressions/ClosureParameter.swift
codecov / codecov/patch
Sources/SyntaxKit/Expressions/ClosureParameter.swift#L44-L48
Added lines #L44 - L48 were not covered by tests
Check warning on line 56 in Sources/SyntaxKit/Expressions/ClosureParameter.swift
codecov / codecov/patch
Sources/SyntaxKit/Expressions/ClosureParameter.swift#L50-L56
Added lines #L50 - L56 were not covered by tests
Check warning on line 45 in Sources/SyntaxKit/Expressions/ClosureParameterBuilderResult.swift
codecov / codecov/patch
Sources/SyntaxKit/Expressions/ClosureParameterBuilderResult.swift#L43-L45
Added lines #L43 - L45 were not covered by tests
Check warning on line 52 in Sources/SyntaxKit/Expressions/ClosureParameterBuilderResult.swift
codecov / codecov/patch
Sources/SyntaxKit/Expressions/ClosureParameterBuilderResult.swift#L50-L52
Added lines #L50 - L52 were not covered by tests
Check warning on line 59 in Sources/SyntaxKit/Expressions/ClosureParameterBuilderResult.swift
codecov / codecov/patch
Sources/SyntaxKit/Expressions/ClosureParameterBuilderResult.swift#L57-L59
Added lines #L57 - L59 were not covered by tests
Check warning on line 66 in Sources/SyntaxKit/Expressions/ClosureParameterBuilderResult.swift
codecov / codecov/patch
Sources/SyntaxKit/Expressions/ClosureParameterBuilderResult.swift#L64-L66
Added lines #L64 - L66 were not covered by tests
Check warning on line 43 in Sources/SyntaxKit/Expressions/ClosureType.swift
codecov / codecov/patch
Sources/SyntaxKit/Expressions/ClosureType.swift#L40-L43
Added lines #L40 - L43 were not covered by tests
Check warning on line 109 in Sources/SyntaxKit/Expressions/ClosureType.swift
codecov / codecov/patch
Sources/SyntaxKit/Expressions/ClosureType.swift#L68-L109
Added lines #L68 - L109 were not covered by tests
Check warning on line 113 in Sources/SyntaxKit/Expressions/ClosureType.swift
codecov / codecov/patch
Sources/SyntaxKit/Expressions/ClosureType.swift#L113
Added line #L113 was not covered by tests
Check warning on line 141 in Sources/SyntaxKit/Expressions/ClosureType.swift
codecov / codecov/patch
Sources/SyntaxKit/Expressions/ClosureType.swift#L123-L141
Added lines #L123 - L141 were not covered by tests