{"action":"created","comment":{"url":"https://api.github.com/repos/apple/swift-syntax/pulls/comments/233760784","pull_request_review_id":175249122,"id":233760784,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMzc2MDc4NA==","diff_hunk":"@@ -256,3 +256,45 @@ extension Syntax {\n     data.raw.accept(RawSyntaxVisitor(visitor, self))\n   }\n }\n+\n+public enum SyntaxVerifierError: Error, CustomStringConvertible {\n+  case unknownSyntaxFound(node: Syntax)\n+\n+  public var description: String {\n+    switch self {\n+      case .unknownSyntaxFound(let node):\n+        return \"unknown syntax node for \\\"\\(node)\\\"\"\n+    }\n+  }\n+}\n+\n+public class SyntaxVerifier: SyntaxVisitor {\n+\n+  var UnknownNodes: [Syntax] = []","path":"Sources/SwiftSyntax/SyntaxRewriter.swift.gyb","position":18,"original_position":18,"commit_id":"ef680b01d29bda4ffd114bb01ec8bd9c952db37d","original_commit_id":"ef680b01d29bda4ffd114bb01ec8bd9c952db37d","user":{"login":"ahoppen","id":4062178,"node_id":"MDQ6VXNlcjQwNjIxNzg=","avatar_url":"https://avatars3.githubusercontent.com/u/4062178?v=4","gravatar_id":"","url":"https://api.github.com/users/ahoppen","html_url":"https://github.com/ahoppen","followers_url":"https://api.github.com/users/ahoppen/followers","following_url":"https://api.github.com/users/ahoppen/following{/other_user}","gists_url":"https://api.github.com/users/ahoppen/gists{/gist_id}","starred_url":"https://api.github.com/users/ahoppen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahoppen/subscriptions","organizations_url":"https://api.github.com/users/ahoppen/orgs","repos_url":"https://api.github.com/users/ahoppen/repos","events_url":"https://api.github.com/users/ahoppen/events{/privacy}","received_events_url":"https://api.github.com/users/ahoppen/received_events","type":"User","site_admin":false},"body":"Nitpick: Don't capitalise variable names in Swift","created_at":"2018-11-15T09:09:59Z","updated_at":"2018-11-15T09:15:06Z","html_url":"https://github.com/apple/swift-syntax/pull/40#discussion_r233760784","pull_request_url":"https://api.github.com/repos/apple/swift-syntax/pulls/40","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/apple/swift-syntax/pulls/comments/233760784"},"html":{"href":"https://github.com/apple/swift-syntax/pull/40#discussion_r233760784"},"pull_request":{"href":"https://api.github.com/repos/apple/swift-syntax/pulls/40"}}},"pull_request":{"url":"https://api.github.com/repos/apple/swift-syntax/pulls/40","id":231047976,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMxMDQ3OTc2","html_url":"https://github.com/apple/swift-syntax/pull/40","diff_url":"https://github.com/apple/swift-syntax/pull/40.diff","patch_url":"https://github.com/apple/swift-syntax/pull/40.patch","issue_url":"https://api.github.com/repos/apple/swift-syntax/issues/40","number":40,"state":"closed","locked":false,"title":"Add a SyntaxVerifier to assert no unknown syntax in a fully parsed tree.","user":{"login":"nkcsgexi","id":2191945,"node_id":"MDQ6VXNlcjIxOTE5NDU=","avatar_url":"https://avatars0.githubusercontent.com/u/2191945?v=4","gravatar_id":"","url":"https://api.github.com/users/nkcsgexi","html_url":"https://github.com/nkcsgexi","followers_url":"https://api.github.com/users/nkcsgexi/followers","following_url":"https://api.github.com/users/nkcsgexi/following{/other_user}","gists_url":"https://api.github.com/users/nkcsgexi/gists{/gist_id}","starred_url":"https://api.github.com/users/nkcsgexi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nkcsgexi/subscriptions","organizations_url":"https://api.github.com/users/nkcsgexi/orgs","repos_url":"https://api.github.com/users/nkcsgexi/repos","events_url":"https://api.github.com/users/nkcsgexi/events{/privacy}","received_events_url":"https://api.github.com/users/nkcsgexi/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-11-15T02:28:46Z","updated_at":"2018-11-15T09:15:06Z","closed_at":"2018-11-15T07:56:26Z","merged_at":"2018-11-15T07:56:26Z","merge_commit_sha":"36dbcbe65a9d286b636f6d1dff08ebc729f8fd4a","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/apple/swift-syntax/pulls/40/commits","review_comments_url":"https://api.github.com/repos/apple/swift-syntax/pulls/40/comments","review_comment_url":"https://api.github.com/repos/apple/swift-syntax/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apple/swift-syntax/issues/40/comments","statuses_url":"https://api.github.com/repos/apple/swift-syntax/statuses/ef680b01d29bda4ffd114bb01ec8bd9c952db37d","head":{"label":"nkcsgexi:verifier","ref":"verifier","sha":"ef680b01d29bda4ffd114bb01ec8bd9c952db37d","user":{"login":"nkcsgexi","id":2191945,"node_id":"MDQ6VXNlcjIxOTE5NDU=","avatar_url":"https://avatars0.githubusercontent.com/u/2191945?v=4","gravatar_id":"","url":"https://api.github.com/users/nkcsgexi","html_url":"https://github.com/nkcsgexi","followers_url":"https://api.github.com/users/nkcsgexi/followers","following_url":"https://api.github.com/users/nkcsgexi/following{/other_user}","gists_url":"https://api.github.com/users/nkcsgexi/gists{/gist_id}","starred_url":"https://api.github.com/users/nkcsgexi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nkcsgexi/subscriptions","organizations_url":"https://api.github.com/users/nkcsgexi/orgs","repos_url":"https://api.github.com/users/nkcsgexi/repos","events_url":"https://api.github.com/users/nkcsgexi/events{/privacy}","received_events_url":"https://api.github.com/users/nkcsgexi/received_events","type":"User","site_admin":false},"repo":{"id":148700803,"node_id":"MDEwOlJlcG9zaXRvcnkxNDg3MDA4MDM=","name":"swift-syntax","full_name":"nkcsgexi/swift-syntax","private":false,"owner":{"login":"nkcsgexi","id":2191945,"node_id":"MDQ6VXNlcjIxOTE5NDU=","avatar_url":"https://avatars0.githubusercontent.com/u/2191945?v=4","gravatar_id":"","url":"https://api.github.com/users/nkcsgexi","html_url":"https://github.com/nkcsgexi","followers_url":"https://api.github.com/users/nkcsgexi/followers","following_url":"https://api.github.com/users/nkcsgexi/following{/other_user}","gists_url":"https://api.github.com/users/nkcsgexi/gists{/gist_id}","starred_url":"https://api.github.com/users/nkcsgexi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nkcsgexi/subscriptions","organizations_url":"https://api.github.com/users/nkcsgexi/orgs","repos_url":"https://api.github.com/users/nkcsgexi/repos","events_url":"https://api.github.com/users/nkcsgexi/events{/privacy}","received_events_url":"https://api.github.com/users/nkcsgexi/received_events","type":"User","site_admin":false},"html_url":"https://github.com/nkcsgexi/swift-syntax","description":"SwiftPM package for SwiftSyntax library.","fork":true,"url":"https://api.github.com/repos/nkcsgexi/swift-syntax","forks_url":"https://api.github.com/repos/nkcsgexi/swift-syntax/forks","keys_url":"https://api.github.com/repos/nkcsgexi/swift-syntax/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nkcsgexi/swift-syntax/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nkcsgexi/swift-syntax/teams","hooks_url":"https://api.github.com/repos/nkcsgexi/swift-syntax/hooks","issue_events_url":"https://api.github.com/repos/nkcsgexi/swift-syntax/issues/events{/number}","events_url":"https://api.github.com/repos/nkcsgexi/swift-syntax/events","assignees_url":"https://api.github.com/repos/nkcsgexi/swift-syntax/assignees{/user}","branches_url":"https://api.github.com/repos/nkcsgexi/swift-syntax/branches{/branch}","tags_url":"https://api.github.com/repos/nkcsgexi/swift-syntax/tags","blobs_url":"https://api.github.com/repos/nkcsgexi/swift-syntax/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nkcsgexi/swift-syntax/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nkcsgexi/swift-syntax/git/refs{/sha}","trees_url":"https://api.github.com/repos/nkcsgexi/swift-syntax/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nkcsgexi/swift-syntax/statuses/{sha}","languages_url":"https://api.github.com/repos/nkcsgexi/swift-syntax/languages","stargazers_url":"https://api.github.com/repos/nkcsgexi/swift-syntax/stargazers","contributors_url":"https://api.github.com/repos/nkcsgexi/swift-syntax/contributors","subscribers_url":"https://api.github.com/repos/nkcsgexi/swift-syntax/subscribers","subscription_url":"https://api.github.com/repos/nkcsgexi/swift-syntax/subscription","commits_url":"https://api.github.com/repos/nkcsgexi/swift-syntax/commits{/sha}","git_commits_url":"https://api.github.com/repos/nkcsgexi/swift-syntax/git/commits{/sha}","comments_url":"https://api.github.com/repos/nkcsgexi/swift-syntax/comments{/number}","issue_comment_url":"https://api.github.com/repos/nkcsgexi/swift-syntax/issues/comments{/number}","contents_url":"https://api.github.com/repos/nkcsgexi/swift-syntax/contents/{+path}","compare_url":"https://api.github.com/repos/nkcsgexi/swift-syntax/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nkcsgexi/swift-syntax/merges","archive_url":"https://api.github.com/repos/nkcsgexi/swift-syntax/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nkcsgexi/swift-syntax/downloads","issues_url":"https://api.github.com/repos/nkcsgexi/swift-syntax/issues{/number}","pulls_url":"https://api.github.com/repos/nkcsgexi/swift-syntax/pulls{/number}","milestones_url":"https://api.github.com/repos/nkcsgexi/swift-syntax/milestones{/number}","notifications_url":"https://api.github.com/repos/nkcsgexi/swift-syntax/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nkcsgexi/swift-syntax/labels{/name}","releases_url":"https://api.github.com/repos/nkcsgexi/swift-syntax/releases{/id}","deployments_url":"https://api.github.com/repos/nkcsgexi/swift-syntax/deployments","created_at":"2018-09-13T21:34:00Z","updated_at":"2018-09-13T21:34:02Z","pushed_at":"2018-11-15T06:39:04Z","git_url":"git://github.com/nkcsgexi/swift-syntax.git","ssh_url":"git@github.com:nkcsgexi/swift-syntax.git","clone_url":"https://github.com/nkcsgexi/swift-syntax.git","svn_url":"https://github.com/nkcsgexi/swift-syntax","homepage":null,"size":490,"stargazers_count":0,"watchers_count":0,"language":"Swift","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"apple:master","ref":"master","sha":"de92a86bcf3a63a221ad0ab3bfefb1d025877a16","user":{"login":"apple","id":10639145,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwNjM5MTQ1","avatar_url":"https://avatars0.githubusercontent.com/u/10639145?v=4","gravatar_id":"","url":"https://api.github.com/users/apple","html_url":"https://github.com/apple","followers_url":"https://api.github.com/users/apple/followers","following_url":"https://api.github.com/users/apple/following{/other_user}","gists_url":"https://api.github.com/users/apple/gists{/gist_id}","starred_url":"https://api.github.com/users/apple/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apple/subscriptions","organizations_url":"https://api.github.com/users/apple/orgs","repos_url":"https://api.github.com/users/apple/repos","events_url":"https://api.github.com/users/apple/events{/privacy}","received_events_url":"https://api.github.com/users/apple/received_events","type":"Organization","site_admin":false},"repo":{"id":143079594,"node_id":"MDEwOlJlcG9zaXRvcnkxNDMwNzk1OTQ=","name":"swift-syntax","full_name":"apple/swift-syntax","private":false,"owner":{"login":"apple","id":10639145,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwNjM5MTQ1","avatar_url":"https://avatars0.githubusercontent.com/u/10639145?v=4","gravatar_id":"","url":"https://api.github.com/users/apple","html_url":"https://github.com/apple","followers_url":"https://api.github.com/users/apple/followers","following_url":"https://api.github.com/users/apple/following{/other_user}","gists_url":"https://api.github.com/users/apple/gists{/gist_id}","starred_url":"https://api.github.com/users/apple/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apple/subscriptions","organizations_url":"https://api.github.com/users/apple/orgs","repos_url":"https://api.github.com/users/apple/repos","events_url":"https://api.github.com/users/apple/events{/privacy}","received_events_url":"https://api.github.com/users/apple/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/apple/swift-syntax","description":"SwiftPM package for SwiftSyntax library.","fork":false,"url":"https://api.github.com/repos/apple/swift-syntax","forks_url":"https://api.github.com/repos/apple/swift-syntax/forks","keys_url":"https://api.github.com/repos/apple/swift-syntax/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apple/swift-syntax/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apple/swift-syntax/teams","hooks_url":"https://api.github.com/repos/apple/swift-syntax/hooks","issue_events_url":"https://api.github.com/repos/apple/swift-syntax/issues/events{/number}","events_url":"https://api.github.com/repos/apple/swift-syntax/events","assignees_url":"https://api.github.com/repos/apple/swift-syntax/assignees{/user}","branches_url":"https://api.github.com/repos/apple/swift-syntax/branches{/branch}","tags_url":"https://api.github.com/repos/apple/swift-syntax/tags","blobs_url":"https://api.github.com/repos/apple/swift-syntax/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apple/swift-syntax/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apple/swift-syntax/git/refs{/sha}","trees_url":"https://api.github.com/repos/apple/swift-syntax/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apple/swift-syntax/statuses/{sha}","languages_url":"https://api.github.com/repos/apple/swift-syntax/languages","stargazers_url":"https://api.github.com/repos/apple/swift-syntax/stargazers","contributors_url":"https://api.github.com/repos/apple/swift-syntax/contributors","subscribers_url":"https://api.github.com/repos/apple/swift-syntax/subscribers","subscription_url":"https://api.github.com/repos/apple/swift-syntax/subscription","commits_url":"https://api.github.com/repos/apple/swift-syntax/commits{/sha}","git_commits_url":"https://api.github.com/repos/apple/swift-syntax/git/commits{/sha}","comments_url":"https://api.github.com/repos/apple/swift-syntax/comments{/number}","issue_comment_url":"https://api.github.com/repos/apple/swift-syntax/issues/comments{/number}","contents_url":"https://api.github.com/repos/apple/swift-syntax/contents/{+path}","compare_url":"https://api.github.com/repos/apple/swift-syntax/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apple/swift-syntax/merges","archive_url":"https://api.github.com/repos/apple/swift-syntax/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apple/swift-syntax/downloads","issues_url":"https://api.github.com/repos/apple/swift-syntax/issues{/number}","pulls_url":"https://api.github.com/repos/apple/swift-syntax/pulls{/number}","milestones_url":"https://api.github.com/repos/apple/swift-syntax/milestones{/number}","notifications_url":"https://api.github.com/repos/apple/swift-syntax/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apple/swift-syntax/labels{/name}","releases_url":"https://api.github.com/repos/apple/swift-syntax/releases{/id}","deployments_url":"https://api.github.com/repos/apple/swift-syntax/deployments","created_at":"2018-07-31T23:19:58Z","updated_at":"2018-11-15T07:56:27Z","pushed_at":"2018-11-15T07:56:26Z","git_url":"git://github.com/apple/swift-syntax.git","ssh_url":"git@github.com:apple/swift-syntax.git","clone_url":"https://github.com/apple/swift-syntax.git","svn_url":"https://github.com/apple/swift-syntax","homepage":null,"size":555,"stargazers_count":674,"watchers_count":674,"language":"Swift","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":23,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":23,"open_issues":0,"watchers":674,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apple/swift-syntax/pulls/40"},"html":{"href":"https://github.com/apple/swift-syntax/pull/40"},"issue":{"href":"https://api.github.com/repos/apple/swift-syntax/issues/40"},"comments":{"href":"https://api.github.com/repos/apple/swift-syntax/issues/40/comments"},"review_comments":{"href":"https://api.github.com/repos/apple/swift-syntax/pulls/40/comments"},"review_comment":{"href":"https://api.github.com/repos/apple/swift-syntax/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apple/swift-syntax/pulls/40/commits"},"statuses":{"href":"https://api.github.com/repos/apple/swift-syntax/statuses/ef680b01d29bda4ffd114bb01ec8bd9c952db37d"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"ahoppen"}}