Avatar
omochimetaru 1/20/2019 7:02 AM
あ、いや?
7:02 AM
なんかいろいろ無いね (edited)
7:02 AM
[0] = null ( attr? [1] = identifier (FirstName [2] = null (SecondName [3] = colon [4] = TypeID [5] = comma [6] = null, [7] = null (edited)
7:03 AM
JSONを目で見た感じこうなってる
7:04 AM
SwiftPM package for SwiftSyntax library. Contribute to apple/swift-syntax development by creating an account on GitHub.
7:04 AM
-emit-syntaxのJSONは、↑のSwift言語で書かれてるSwiftSyntaxでパースしてSwiftのオブジェクトになるので
7:04 AM
該当箇所のパースロジックを見てみると何かわかりそう
7:06 AM
SwiftPM package for SwiftSyntax library. Contribute to apple/swift-syntax development by creating an account on GitHub.
7:06 AM
↑masterだと今実装方法が変わっちゃってるとおもうんで4.2ブランチのだけど
7:06 AM
gybでテンプレート化されてて全く読めねえw