{"action":"opened","number":39,"pull_request":{"url":"https://api.github.com/repos/crystal-lang-tools/scry/pulls/39","id":149670050,"html_url":"https://github.com/crystal-lang-tools/scry/pull/39","diff_url":"https://github.com/crystal-lang-tools/scry/pull/39.diff","patch_url":"https://github.com/crystal-lang-tools/scry/pull/39.patch","issue_url":"https://api.github.com/repos/crystal-lang-tools/scry/issues/39","number":39,"state":"open","locked":false,"title":"Symbol Initial Implementation","user":{"login":"bmulvihill","id":3128920,"avatar_url":"https://avatars3.githubusercontent.com/u/3128920?v=4","gravatar_id":"","url":"https://api.github.com/users/bmulvihill","html_url":"https://github.com/bmulvihill","followers_url":"https://api.github.com/users/bmulvihill/followers","following_url":"https://api.github.com/users/bmulvihill/following{/other_user}","gists_url":"https://api.github.com/users/bmulvihill/gists{/gist_id}","starred_url":"https://api.github.com/users/bmulvihill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmulvihill/subscriptions","organizations_url":"https://api.github.com/users/bmulvihill/orgs","repos_url":"https://api.github.com/users/bmulvihill/repos","events_url":"https://api.github.com/users/bmulvihill/events{/privacy}","received_events_url":"https://api.github.com/users/bmulvihill/received_events","type":"User","site_admin":false},"body":"Based on https://github.com/crystal-lang-tools/scry/issues/38\r\n\r\nThis implements initial Symbol support for Scry.  I originally started to use `CrystalCtags` but feel that was kind of written to do something similar but not exactly the same.  Some changes would needed to be made to Ctags in order for it to work for Scry's purposes I believe, and it might just be easier to have our own implementation.\r\n\r\nThis PR adds a Scry specific `SymbolVisitor` which  traverses the AST and builds a list of Symbols to be sent as the response.  I have only added support for Class/Module/Enum/Struct/Methods in this initial PR.  Let me know what you think and if you think this is a good way to proceed!\r\n","created_at":"2017-10-31T00:32:16Z","updated_at":"2017-10-31T00:32:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/crystal-lang-tools/scry/pulls/39/commits","review_comments_url":"https://api.github.com/repos/crystal-lang-tools/scry/pulls/39/comments","review_comment_url":"https://api.github.com/repos/crystal-lang-tools/scry/pulls/comments{/number}","comments_url":"https://api.github.com/repos/crystal-lang-tools/scry/issues/39/comments","statuses_url":"https://api.github.com/repos/crystal-lang-tools/scry/statuses/a3664e4fd3a635778fe478e42ac1bf28faf1f0e4","head":{"label":"bmulvihill:symbols","ref":"symbols","sha":"a3664e4fd3a635778fe478e42ac1bf28faf1f0e4","user":{"login":"bmulvihill","id":3128920,"avatar_url":"https://avatars3.githubusercontent.com/u/3128920?v=4","gravatar_id":"","url":"https://api.github.com/users/bmulvihill","html_url":"https://github.com/bmulvihill","followers_url":"https://api.github.com/users/bmulvihill/followers","following_url":"https://api.github.com/users/bmulvihill/following{/other_user}","gists_url":"https://api.github.com/users/bmulvihill/gists{/gist_id}","starred_url":"https://api.github.com/users/bmulvihill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmulvihill/subscriptions","organizations_url":"https://api.github.com/users/bmulvihill/orgs","repos_url":"https://api.github.com/users/bmulvihill/repos","events_url":"https://api.github.com/users/bmulvihill/events{/privacy}","received_events_url":"https://api.github.com/users/bmulvihill/received_events","type":"User","site_admin":false},"repo":{"id":102889234,"name":"scry","full_name":"bmulvihill/scry","owner":{"login":"bmulvihill","id":3128920,"avatar_url":"https://avatars3.githubusercontent.com/u/3128920?v=4","gravatar_id":"","url":"https://api.github.com/users/bmulvihill","html_url":"https://github.com/bmulvihill","followers_url":"https://api.github.com/users/bmulvihill/followers","following_url":"https://api.github.com/users/bmulvihill/following{/other_user}","gists_url":"https://api.github.com/users/bmulvihill/gists{/gist_id}","starred_url":"https://api.github.com/users/bmulvihill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmulvihill/subscriptions","organizations_url":"https://api.github.com/users/bmulvihill/orgs","repos_url":"https://api.github.com/users/bmulvihill/repos","events_url":"https://api.github.com/users/bmulvihill/events{/privacy}","received_events_url":"https://api.github.com/users/bmulvihill/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bmulvihill/scry","description":"Scry is a code analysis server for http://crystal-lang.org","fork":true,"url":"https://api.github.com/repos/bmulvihill/scry","forks_url":"https://api.github.com/repos/bmulvihill/scry/forks","keys_url":"https://api.github.com/repos/bmulvihill/scry/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bmulvihill/scry/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bmulvihill/scry/teams","hooks_url":"https://api.github.com/repos/bmulvihill/scry/hooks","issue_events_url":"https://api.github.com/repos/bmulvihill/scry/issues/events{/number}","events_url":"https://api.github.com/repos/bmulvihill/scry/events","assignees_url":"https://api.github.com/repos/bmulvihill/scry/assignees{/user}","branches_url":"https://api.github.com/repos/bmulvihill/scry/branches{/branch}","tags_url":"https://api.github.com/repos/bmulvihill/scry/tags","blobs_url":"https://api.github.com/repos/bmulvihill/scry/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bmulvihill/scry/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bmulvihill/scry/git/refs{/sha}","trees_url":"https://api.github.com/repos/bmulvihill/scry/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bmulvihill/scry/statuses/{sha}","languages_url":"https://api.github.com/repos/bmulvihill/scry/languages","stargazers_url":"https://api.github.com/repos/bmulvihill/scry/stargazers","contributors_url":"https://api.github.com/repos/bmulvihill/scry/contributors","subscribers_url":"https://api.github.com/repos/bmulvihill/scry/subscribers","subscription_url":"https://api.github.com/repos/bmulvihill/scry/subscription","commits_url":"https://api.github.com/repos/bmulvihill/scry/commits{/sha}","git_commits_url":"https://api.github.com/repos/bmulvihill/scry/git/commits{/sha}","comments_url":"https://api.github.com/repos/bmulvihill/scry/comments{/number}","issue_comment_url":"https://api.github.com/repos/bmulvihill/scry/issues/comments{/number}","contents_url":"https://api.github.com/repos/bmulvihill/scry/contents/{+path}","compare_url":"https://api.github.com/repos/bmulvihill/scry/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bmulvihill/scry/merges","archive_url":"https://api.github.com/repos/bmulvihill/scry/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bmulvihill/scry/downloads","issues_url":"https://api.github.com/repos/bmulvihill/scry/issues{/number}","pulls_url":"https://api.github.com/repos/bmulvihill/scry/pulls{/number}","milestones_url":"https://api.github.com/repos/bmulvihill/scry/milestones{/number}","notifications_url":"https://api.github.com/repos/bmulvihill/scry/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bmulvihill/scry/labels{/name}","releases_url":"https://api.github.com/repos/bmulvihill/scry/releases{/id}","deployments_url":"https://api.github.com/repos/bmulvihill/scry/deployments","created_at":"2017-09-08T17:51:25Z","updated_at":"2017-09-08T17:51:26Z","pushed_at":"2017-10-31T00:30:11Z","git_url":"git://github.com/bmulvihill/scry.git","ssh_url":"git@github.com:bmulvihill/scry.git","clone_url":"https://github.com/bmulvihill/scry.git","svn_url":"https://github.com/bmulvihill/scry","homepage":"","size":154,"stargazers_count":0,"watchers_count":0,"language":"Crystal","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"crystal-lang-tools:master","ref":"master","sha":"dcfade5c43b08fb1aa3ef7128d4ea138f8633d68","user":{"login":"crystal-lang-tools","id":14251061,"avatar_url":"https://avatars0.githubusercontent.com/u/14251061?v=4","gravatar_id":"","url":"https://api.github.com/users/crystal-lang-tools","html_url":"https://github.com/crystal-lang-tools","followers_url":"https://api.github.com/users/crystal-lang-tools/followers","following_url":"https://api.github.com/users/crystal-lang-tools/following{/other_user}","gists_url":"https://api.github.com/users/crystal-lang-tools/gists{/gist_id}","starred_url":"https://api.github.com/users/crystal-lang-tools/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crystal-lang-tools/subscriptions","organizations_url":"https://api.github.com/users/crystal-lang-tools/orgs","repos_url":"https://api.github.com/users/crystal-lang-tools/repos","events_url":"https://api.github.com/users/crystal-lang-tools/events{/privacy}","received_events_url":"https://api.github.com/users/crystal-lang-tools/received_events","type":"Organization","site_admin":false},"repo":{"id":65130118,"name":"scry","full_name":"crystal-lang-tools/scry","owner":{"login":"crystal-lang-tools","id":14251061,"avatar_url":"https://avatars0.githubusercontent.com/u/14251061?v=4","gravatar_id":"","url":"https://api.github.com/users/crystal-lang-tools","html_url":"https://github.com/crystal-lang-tools","followers_url":"https://api.github.com/users/crystal-lang-tools/followers","following_url":"https://api.github.com/users/crystal-lang-tools/following{/other_user}","gists_url":"https://api.github.com/users/crystal-lang-tools/gists{/gist_id}","starred_url":"https://api.github.com/users/crystal-lang-tools/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crystal-lang-tools/subscriptions","organizations_url":"https://api.github.com/users/crystal-lang-tools/orgs","repos_url":"https://api.github.com/users/crystal-lang-tools/repos","events_url":"https://api.github.com/users/crystal-lang-tools/events{/privacy}","received_events_url":"https://api.github.com/users/crystal-lang-tools/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/crystal-lang-tools/scry","description":"Scry is a code analysis server for http://crystal-lang.org","fork":false,"url":"https://api.github.com/repos/crystal-lang-tools/scry","forks_url":"https://api.github.com/repos/crystal-lang-tools/scry/forks","keys_url":"https://api.github.com/repos/crystal-lang-tools/scry/keys{/key_id}","collaborators_url":"https://api.github.com/repos/crystal-lang-tools/scry/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/crystal-lang-tools/scry/teams","hooks_url":"https://api.github.com/repos/crystal-lang-tools/scry/hooks","issue_events_url":"https://api.github.com/repos/crystal-lang-tools/scry/issues/events{/number}","events_url":"https://api.github.com/repos/crystal-lang-tools/scry/events","assignees_url":"https://api.github.com/repos/crystal-lang-tools/scry/assignees{/user}","branches_url":"https://api.github.com/repos/crystal-lang-tools/scry/branches{/branch}","tags_url":"https://api.github.com/repos/crystal-lang-tools/scry/tags","blobs_url":"https://api.github.com/repos/crystal-lang-tools/scry/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/crystal-lang-tools/scry/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/crystal-lang-tools/scry/git/refs{/sha}","trees_url":"https://api.github.com/repos/crystal-lang-tools/scry/git/trees{/sha}","statuses_url":"https://api.github.com/repos/crystal-lang-tools/scry/statuses/{sha}","languages_url":"https://api.github.com/repos/crystal-lang-tools/scry/languages","stargazers_url":"https://api.github.com/repos/crystal-lang-tools/scry/stargazers","contributors_url":"https://api.github.com/repos/crystal-lang-tools/scry/contributors","subscribers_url":"https://api.github.com/repos/crystal-lang-tools/scry/subscribers","subscription_url":"https://api.github.com/repos/crystal-lang-tools/scry/subscription","commits_url":"https://api.github.com/repos/crystal-lang-tools/scry/commits{/sha}","git_commits_url":"https://api.github.com/repos/crystal-lang-tools/scry/git/commits{/sha}","comments_url":"https://api.github.com/repos/crystal-lang-tools/scry/comments{/number}","issue_comment_url":"https://api.github.com/repos/crystal-lang-tools/scry/issues/comments{/number}","contents_url":"https://api.github.com/repos/crystal-lang-tools/scry/contents/{+path}","compare_url":"https://api.github.com/repos/crystal-lang-tools/scry/compare/{base}...{head}","merges_url":"https://api.github.com/repos/crystal-lang-tools/scry/merges","archive_url":"https://api.github.com/repos/crystal-lang-tools/scry/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/crystal-lang-tools/scry/downloads","issues_url":"https://api.github.com/repos/crystal-lang-tools/scry/issues{/number}","pulls_url":"https://api.github.com/repos/crystal-lang-tools/scry/pulls{/number}","milestones_url":"https://api.github.com/repos/crystal-lang-tools/scry/milestones{/number}","notifications_url":"https://api.github.com/repos/crystal-lang-tools/scry/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/crystal-lang-tools/scry/labels{/name}","releases_url":"https://api.github.com/repos/crystal-lang-tools/scry/releases{/id}","deployments_url":"https://api.github.com/repos/crystal-lang-tools/scry/deployments","created_at":"2016-08-07T11:35:47Z","updated_at":"2017-10-18T13:17:56Z","pushed_at":"2017-10-24T01:30:47Z","git_url":"git://github.com/crystal-lang-tools/scry.git","ssh_url":"git@github.com:crystal-lang-tools/scry.git","clone_url":"https://github.com/crystal-lang-tools/scry.git","svn_url":"https://github.com/crystal-lang-tools/scry","homepage":"","size":153,"stargazers_count":74,"watchers_count":74,"language":"Crystal","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"archived":false,"open_issues_count":9,"forks":7,"open_issues":9,"watchers":74,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/crystal-lang-tools/scry/pulls/39"},"html":{"href":"https://github.com/crystal-lang-tools/scry/pull/39"},"issue":{"href":"https://api.github.com/repos/crystal-lang-tools/scry/issues/39"},"comments":{"href":"https://api.github.com/repos/crystal-lang-tools/scry/issues/39/comments"},"review_comments":{"href":"https://api.github.com/repos/crystal-lang-tools/scry/pulls/39/comments"},"review_comment":{"href":"https://api.github.com/repos/crystal-lang-tools/scry/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/crystal-lang-tools/scry/pulls/39/commits"},"statuses":{"href":"https://api.github.com/repos/crystal-lang-tools/scry/statuses/a3664e4fd3a635778fe478e42ac1bf28faf1f0e4"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":213,"deletions":4,"changed_files":9}}
{"actor":{"display_login":"bmulvihill"}}