TouchTypist:减少构建时间。 一种将您的源代码重写为带注释类型的工具-源码

上传者: 42170790 | 上传时间: 2021-03-01 18:09:05 | 文件大小: 17.54MB | 文件类型: ZIP
触摸打字员 安装 去做 用法 重写单个文件 $ swiftc -frontend -dump-ast sourcefile.swift > sourcefile.swift.ast $ touchtypist rewrite sourcefile.swift.ast - let value = 1 + let value: Int = 1 - [1, 2, 3].map { i in + [1, 2, 3].map { (i: Int) -> String in return i.description } 重写Xcode项目 使用touchtypist-xcode-wrapper设置用户定义的构建设置SWIFT_EXEC并运行构建。

文件下载

资源详情

[{"title":"( 46 个子文件 17.54MB ) TouchTypist:减少构建时间。 一种将您的源代码重写为带注释类型的工具-源码","children":[{"title":"TouchTypist-master","children":[{"title":".gitignore <span style='color:#111;'> 41B </span>","children":null,"spread":false},{"title":"Sources","children":[{"title":"SwiftTypeInjector","children":[{"title":"TypeAnnotationRewriter.swift <span style='color:#111;'> 651B </span>","children":null,"spread":false},{"title":"SwiftTypeInjector.swift <span style='color:#111;'> 961B </span>","children":null,"spread":false},{"title":"Rewriter","children":[{"title":"ClosureExprRewriter.swift <span style='color:#111;'> 6.20KB </span>","children":null,"spread":false},{"title":"VariableDeclRewriter.swift <span style='color:#111;'> 2.17KB </span>","children":null,"spread":false},{"title":"ConstructorCallExprRewriter.swift <span style='color:#111;'> 1.74KB </span>","children":null,"spread":false}],"spread":true},{"title":"Point+Convert.swift <span style='color:#111;'> 186B </span>","children":null,"spread":false}],"spread":true},{"title":"TypeCheckedAST","children":[{"title":"Parser","children":[{"title":"RawASTNode.swift <span style='color:#111;'> 561B </span>","children":null,"spread":false},{"title":"CanonicalTransformer.swift <span style='color:#111;'> 4.08KB </span>","children":null,"spread":false},{"title":"ASTNode.swift <span style='color:#111;'> 4.19KB </span>","children":null,"spread":false},{"title":"ASTParser.swift <span style='color:#111;'> 6.86KB </span>","children":null,"spread":false},{"title":"ASTValue.swift <span style='color:#111;'> 1.75KB </span>","children":null,"spread":false},{"title":"ASTToken.swift <span style='color:#111;'> 256B </span>","children":null,"spread":false}],"spread":true},{"title":"TypeCheckedASTParser.swift <span style='color:#111;'> 1024B </span>","children":null,"spread":false},{"title":"Parsec","children":[{"title":"Parser+Type.swift <span style='color:#111;'> 3.83KB </span>","children":null,"spread":false},{"title":"Parser+Combinator.swift <span style='color:#111;'> 2.16KB </span>","children":null,"spread":false},{"title":"Parser+Debug.swift <span style='color:#111;'> 2.25KB </span>","children":null,"spread":false},{"title":"Parser.swift <span style='color:#111;'> 2.44KB </span>","children":null,"spread":false},{"title":"Parser+Basic.swift <span style='color:#111;'> 4.24KB </span>","children":null,"spread":false},{"title":"Parser+Value.swift <span style='color:#111;'> 602B </span>","children":null,"spread":false},{"title":"Prelude.swift <span style='color:#111;'> 440B </span>","children":null,"spread":false},{"title":"Parser+Operators.swift <span style='color:#111;'> 2.90KB </span>","children":null,"spread":false}],"spread":true},{"title":"SwiftcInvocator.swift <span style='color:#111;'> 5.02KB </span>","children":null,"spread":false}],"spread":true},{"title":"touchtypist","children":[{"title":"Commands","children":[{"title":"RewriteCommand.swift <span style='color:#111;'> 462B </span>","children":null,"spread":false}],"spread":true},{"title":"main.swift <span style='color:#111;'> 483B </span>","children":null,"spread":false}],"spread":true},{"title":"xcode-ast-dump-wrapper","children":[{"title":"XcodeCommand.swift <span style='color:#111;'> 1.46KB </span>","children":null,"spread":false},{"title":"main.swift <span style='color:#111;'> 111B </span>","children":null,"spread":false}],"spread":true},{"title":"touchtypist-xcode-wrapper","children":[{"title":"XcodeCommand.swift <span style='color:#111;'> 1.44KB </span>","children":null,"spread":false},{"title":"main.swift <span style='color:#111;'> 111B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"resources","children":[{"title":"configuration.gif <span style='color:#111;'> 17.56MB </span>","children":null,"spread":false}],"spread":true},{"title":".swift-version <span style='color:#111;'> 4B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 500B </span>","children":null,"spread":false},{"title":"Package.resolved <span style='color:#111;'> 595B </span>","children":null,"spread":false},{"title":"Package.swift <span style='color:#111;'> 1.50KB </span>","children":null,"spread":false},{"title":"Tests","children":[{"title":"LinuxMain.swift <span style='color:#111;'> 136B </span>","children":null,"spread":false},{"title":"TypeCheckedASTTests","children":[{"title":"Parser","children":[{"title":"ParseNodeTests.swift <span style='color:#111;'> 3.42KB </span>","children":null,"spread":false},{"title":"ParseBasicTests.swift <span style='color:#111;'> 1.52KB </span>","children":null,"spread":false},{"title":"ParserOperatorTests.swift <span style='color:#111;'> 925B </span>","children":null,"spread":false},{"title":"ParserTests.swift <span style='color:#111;'> 464B </span>","children":null,"spread":false},{"title":"ParserTypeTests.swift <span style='color:#111;'> 2.80KB </span>","children":null,"spread":false},{"title":"ParserCombinatorTests.swift <span style='color:#111;'> 1005B </span>","children":null,"spread":false}],"spread":true},{"title":"FindNodeTests.swift <span style='color:#111;'> 3.72KB </span>","children":null,"spread":false},{"title":"SwiftcInvocatorTests.swift <span style='color:#111;'> 659B </span>","children":null,"spread":false}],"spread":true},{"title":"SwiftTypeInjectorTests","children":[{"title":"TypeAnnotationWriterTests.swift <span style='color:#111;'> 9.26KB </span>","children":null,"spread":false},{"title":"XCTestManifests.swift <span style='color:#111;'> 167B </span>","children":null,"spread":false},{"title":"SwiftTypeInjectorTests.swift <span style='color:#111;'> 101B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明