0001 // 0002 // Parameter.swift 0003 // SourceKitten 0004 // 0005 // Created by JP Simard on 10/27/15. 0006 // Copyright © 2015 SourceKitten. All rights reserved. 0007 // 0008 0009 #if SWIFT_PACKAGE 0010 import Clang_C 0011 #endif 0012 0013 public struct Parameter{ 0014 let name
Documentation.swift:14 let parameters: [Parameter]Documentation.swift:21 }.map(Parameter.init)JSONOutput.swift:104 private func toOutputDictionary(param: Parameter) -> [String: AnyObject] {: String 0015 let discussion
JSONOutput.swift:105 return ["name": param.name, "discussion": param.discussion.map(toOutputDictionary)]Parameter.swift:18 name = comment.paramName() ?? "<none>": [Text] 0016 0017 init
JSONOutput.swift:105 return ["name": param.name, "discussion": param.discussion.map(toOutputDictionary)]Parameter.swift:19 discussion = comment.paragraph().paragraphToString()(comment: CXComment) { 0018 name = comment.paramName() ?? "<none>" 0019 discussion = comment.paragraph().paragraphToString() 0020 } 0021 } 0022
Documentation.swift:21 }.map(Parameter.init)