{"action":"created","comment":{"url":"https://api.github.com/repos/sourcegraph/srclib-basic/pulls/comments/48163274","id":48163274,"diff_hunk":"@@ -746,12 +746,30 @@ public void enterMemberAccess(PHPParser.MemberAccessContext ctx) {\n             }\r\n         }\r\n         PHPParser.KeyedFieldNameContext keyedFieldNameContext = ctx.keyedFieldName();\r\n-        String propertyName = keyedFieldNameContext.getText();\r\n+        String propertyName;\r\n+        PHPParser.KeyedVariableContext var = keyedFieldNameContext.keyedVariable();\r\n+        Ref ref;\r\n+\r\n+        if (var != null) {\r","path":"toolchain-php/src/main/java/com/sourcegraph/toolchain/php/PHPParseTreeListener.java","position":9,"original_position":9,"commit_id":"86a7ac7988c5ad6eeab02de41a355febe21763e2","original_commit_id":"86a7ac7988c5ad6eeab02de41a355febe21763e2","user":{"login":"beyang","id":1646931,"avatar_url":"https://avatars.githubusercontent.com/u/1646931?v=3","gravatar_id":"","url":"https://api.github.com/users/beyang","html_url":"https://github.com/beyang","followers_url":"https://api.github.com/users/beyang/followers","following_url":"https://api.github.com/users/beyang/following{/other_user}","gists_url":"https://api.github.com/users/beyang/gists{/gist_id}","starred_url":"https://api.github.com/users/beyang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beyang/subscriptions","organizations_url":"https://api.github.com/users/beyang/orgs","repos_url":"https://api.github.com/users/beyang/repos","events_url":"https://api.github.com/users/beyang/events{/privacy}","received_events_url":"https://api.github.com/users/beyang/received_events","type":"User","site_admin":false},"body":"Add a comment describing what's being doine here","created_at":"2015-12-21T16:36:35Z","updated_at":"2015-12-21T16:36:35Z","html_url":"https://github.com/sourcegraph/srclib-basic/pull/4#discussion_r48163274","pull_request_url":"https://api.github.com/repos/sourcegraph/srclib-basic/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/sourcegraph/srclib-basic/pulls/comments/48163274"},"html":{"href":"https://github.com/sourcegraph/srclib-basic/pull/4#discussion_r48163274"},"pull_request":{"href":"https://api.github.com/repos/sourcegraph/srclib-basic/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/sourcegraph/srclib-basic/pulls/4","id":54244427,"html_url":"https://github.com/sourcegraph/srclib-basic/pull/4","diff_url":"https://github.com/sourcegraph/srclib-basic/pull/4.diff","patch_url":"https://github.com/sourcegraph/srclib-basic/pull/4.patch","issue_url":"https://api.github.com/repos/sourcegraph/srclib-basic/issues/4","number":4,"state":"open","locked":false,"title":"Handing array-like properties","user":{"login":"alexsaveliev","id":7010538,"avatar_url":"https://avatars.githubusercontent.com/u/7010538?v=3","gravatar_id":"","url":"https://api.github.com/users/alexsaveliev","html_url":"https://github.com/alexsaveliev","followers_url":"https://api.github.com/users/alexsaveliev/followers","following_url":"https://api.github.com/users/alexsaveliev/following{/other_user}","gists_url":"https://api.github.com/users/alexsaveliev/gists{/gist_id}","starred_url":"https://api.github.com/users/alexsaveliev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexsaveliev/subscriptions","organizations_url":"https://api.github.com/users/alexsaveliev/orgs","repos_url":"https://api.github.com/users/alexsaveliev/repos","events_url":"https://api.github.com/users/alexsaveliev/events{/privacy}","received_events_url":"https://api.github.com/users/alexsaveliev/received_events","type":"User","site_admin":false},"body":"Handling `$foo->$bar[$baz]`, emitting proper ref to `foo::bar` instead of ref to not-existent def `foo::bar[$baz]`","created_at":"2015-12-21T11:07:54Z","updated_at":"2015-12-21T16:36:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8a8ef94f61ac0fec660984ef357ec48f36fb9d75","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sourcegraph/srclib-basic/pulls/4/commits","review_comments_url":"https://api.github.com/repos/sourcegraph/srclib-basic/pulls/4/comments","review_comment_url":"https://api.github.com/repos/sourcegraph/srclib-basic/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sourcegraph/srclib-basic/issues/4/comments","statuses_url":"https://api.github.com/repos/sourcegraph/srclib-basic/statuses/86a7ac7988c5ad6eeab02de41a355febe21763e2","head":{"label":"alexsaveliev:master","ref":"master","sha":"86a7ac7988c5ad6eeab02de41a355febe21763e2","user":{"login":"alexsaveliev","id":7010538,"avatar_url":"https://avatars.githubusercontent.com/u/7010538?v=3","gravatar_id":"","url":"https://api.github.com/users/alexsaveliev","html_url":"https://github.com/alexsaveliev","followers_url":"https://api.github.com/users/alexsaveliev/followers","following_url":"https://api.github.com/users/alexsaveliev/following{/other_user}","gists_url":"https://api.github.com/users/alexsaveliev/gists{/gist_id}","starred_url":"https://api.github.com/users/alexsaveliev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexsaveliev/subscriptions","organizations_url":"https://api.github.com/users/alexsaveliev/orgs","repos_url":"https://api.github.com/users/alexsaveliev/repos","events_url":"https://api.github.com/users/alexsaveliev/events{/privacy}","received_events_url":"https://api.github.com/users/alexsaveliev/received_events","type":"User","site_admin":false},"repo":{"id":46056588,"name":"srclib-basic","full_name":"alexsaveliev/srclib-basic","owner":{"login":"alexsaveliev","id":7010538,"avatar_url":"https://avatars.githubusercontent.com/u/7010538?v=3","gravatar_id":"","url":"https://api.github.com/users/alexsaveliev","html_url":"https://github.com/alexsaveliev","followers_url":"https://api.github.com/users/alexsaveliev/followers","following_url":"https://api.github.com/users/alexsaveliev/following{/other_user}","gists_url":"https://api.github.com/users/alexsaveliev/gists{/gist_id}","starred_url":"https://api.github.com/users/alexsaveliev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexsaveliev/subscriptions","organizations_url":"https://api.github.com/users/alexsaveliev/orgs","repos_url":"https://api.github.com/users/alexsaveliev/repos","events_url":"https://api.github.com/users/alexsaveliev/events{/privacy}","received_events_url":"https://api.github.com/users/alexsaveliev/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alexsaveliev/srclib-basic","description":"","fork":false,"url":"https://api.github.com/repos/alexsaveliev/srclib-basic","forks_url":"https://api.github.com/repos/alexsaveliev/srclib-basic/forks","keys_url":"https://api.github.com/repos/alexsaveliev/srclib-basic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alexsaveliev/srclib-basic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alexsaveliev/srclib-basic/teams","hooks_url":"https://api.github.com/repos/alexsaveliev/srclib-basic/hooks","issue_events_url":"https://api.github.com/repos/alexsaveliev/srclib-basic/issues/events{/number}","events_url":"https://api.github.com/repos/alexsaveliev/srclib-basic/events","assignees_url":"https://api.github.com/repos/alexsaveliev/srclib-basic/assignees{/user}","branches_url":"https://api.github.com/repos/alexsaveliev/srclib-basic/branches{/branch}","tags_url":"https://api.github.com/repos/alexsaveliev/srclib-basic/tags","blobs_url":"https://api.github.com/repos/alexsaveliev/srclib-basic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alexsaveliev/srclib-basic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alexsaveliev/srclib-basic/git/refs{/sha}","trees_url":"https://api.github.com/repos/alexsaveliev/srclib-basic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alexsaveliev/srclib-basic/statuses/{sha}","languages_url":"https://api.github.com/repos/alexsaveliev/srclib-basic/languages","stargazers_url":"https://api.github.com/repos/alexsaveliev/srclib-basic/stargazers","contributors_url":"https://api.github.com/repos/alexsaveliev/srclib-basic/contributors","subscribers_url":"https://api.github.com/repos/alexsaveliev/srclib-basic/subscribers","subscription_url":"https://api.github.com/repos/alexsaveliev/srclib-basic/subscription","commits_url":"https://api.github.com/repos/alexsaveliev/srclib-basic/commits{/sha}","git_commits_url":"https://api.github.com/repos/alexsaveliev/srclib-basic/git/commits{/sha}","comments_url":"https://api.github.com/repos/alexsaveliev/srclib-basic/comments{/number}","issue_comment_url":"https://api.github.com/repos/alexsaveliev/srclib-basic/issues/comments{/number}","contents_url":"https://api.github.com/repos/alexsaveliev/srclib-basic/contents/{+path}","compare_url":"https://api.github.com/repos/alexsaveliev/srclib-basic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alexsaveliev/srclib-basic/merges","archive_url":"https://api.github.com/repos/alexsaveliev/srclib-basic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alexsaveliev/srclib-basic/downloads","issues_url":"https://api.github.com/repos/alexsaveliev/srclib-basic/issues{/number}","pulls_url":"https://api.github.com/repos/alexsaveliev/srclib-basic/pulls{/number}","milestones_url":"https://api.github.com/repos/alexsaveliev/srclib-basic/milestones{/number}","notifications_url":"https://api.github.com/repos/alexsaveliev/srclib-basic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alexsaveliev/srclib-basic/labels{/name}","releases_url":"https://api.github.com/repos/alexsaveliev/srclib-basic/releases{/id}","created_at":"2015-11-12T14:02:26Z","updated_at":"2015-12-14T17:59:03Z","pushed_at":"2015-12-21T11:04:13Z","git_url":"git://github.com/alexsaveliev/srclib-basic.git","ssh_url":"git@github.com:alexsaveliev/srclib-basic.git","clone_url":"https://github.com/alexsaveliev/srclib-basic.git","svn_url":"https://github.com/alexsaveliev/srclib-basic","homepage":null,"size":454,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"sourcegraph:master","ref":"master","sha":"9ed813711e80ae30aab3b5d98089eb9d0d6037fb","user":{"login":"sourcegraph","id":3979584,"avatar_url":"https://avatars.githubusercontent.com/u/3979584?v=3","gravatar_id":"","url":"https://api.github.com/users/sourcegraph","html_url":"https://github.com/sourcegraph","followers_url":"https://api.github.com/users/sourcegraph/followers","following_url":"https://api.github.com/users/sourcegraph/following{/other_user}","gists_url":"https://api.github.com/users/sourcegraph/gists{/gist_id}","starred_url":"https://api.github.com/users/sourcegraph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sourcegraph/subscriptions","organizations_url":"https://api.github.com/users/sourcegraph/orgs","repos_url":"https://api.github.com/users/sourcegraph/repos","events_url":"https://api.github.com/users/sourcegraph/events{/privacy}","received_events_url":"https://api.github.com/users/sourcegraph/received_events","type":"Organization","site_admin":false},"repo":{"id":48000204,"name":"srclib-basic","full_name":"sourcegraph/srclib-basic","owner":{"login":"sourcegraph","id":3979584,"avatar_url":"https://avatars.githubusercontent.com/u/3979584?v=3","gravatar_id":"","url":"https://api.github.com/users/sourcegraph","html_url":"https://github.com/sourcegraph","followers_url":"https://api.github.com/users/sourcegraph/followers","following_url":"https://api.github.com/users/sourcegraph/following{/other_user}","gists_url":"https://api.github.com/users/sourcegraph/gists{/gist_id}","starred_url":"https://api.github.com/users/sourcegraph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sourcegraph/subscriptions","organizations_url":"https://api.github.com/users/sourcegraph/orgs","repos_url":"https://api.github.com/users/sourcegraph/repos","events_url":"https://api.github.com/users/sourcegraph/events{/privacy}","received_events_url":"https://api.github.com/users/sourcegraph/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sourcegraph/srclib-basic","description":"","fork":true,"url":"https://api.github.com/repos/sourcegraph/srclib-basic","forks_url":"https://api.github.com/repos/sourcegraph/srclib-basic/forks","keys_url":"https://api.github.com/repos/sourcegraph/srclib-basic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sourcegraph/srclib-basic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sourcegraph/srclib-basic/teams","hooks_url":"https://api.github.com/repos/sourcegraph/srclib-basic/hooks","issue_events_url":"https://api.github.com/repos/sourcegraph/srclib-basic/issues/events{/number}","events_url":"https://api.github.com/repos/sourcegraph/srclib-basic/events","assignees_url":"https://api.github.com/repos/sourcegraph/srclib-basic/assignees{/user}","branches_url":"https://api.github.com/repos/sourcegraph/srclib-basic/branches{/branch}","tags_url":"https://api.github.com/repos/sourcegraph/srclib-basic/tags","blobs_url":"https://api.github.com/repos/sourcegraph/srclib-basic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sourcegraph/srclib-basic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sourcegraph/srclib-basic/git/refs{/sha}","trees_url":"https://api.github.com/repos/sourcegraph/srclib-basic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sourcegraph/srclib-basic/statuses/{sha}","languages_url":"https://api.github.com/repos/sourcegraph/srclib-basic/languages","stargazers_url":"https://api.github.com/repos/sourcegraph/srclib-basic/stargazers","contributors_url":"https://api.github.com/repos/sourcegraph/srclib-basic/contributors","subscribers_url":"https://api.github.com/repos/sourcegraph/srclib-basic/subscribers","subscription_url":"https://api.github.com/repos/sourcegraph/srclib-basic/subscription","commits_url":"https://api.github.com/repos/sourcegraph/srclib-basic/commits{/sha}","git_commits_url":"https://api.github.com/repos/sourcegraph/srclib-basic/git/commits{/sha}","comments_url":"https://api.github.com/repos/sourcegraph/srclib-basic/comments{/number}","issue_comment_url":"https://api.github.com/repos/sourcegraph/srclib-basic/issues/comments{/number}","contents_url":"https://api.github.com/repos/sourcegraph/srclib-basic/contents/{+path}","compare_url":"https://api.github.com/repos/sourcegraph/srclib-basic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sourcegraph/srclib-basic/merges","archive_url":"https://api.github.com/repos/sourcegraph/srclib-basic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sourcegraph/srclib-basic/downloads","issues_url":"https://api.github.com/repos/sourcegraph/srclib-basic/issues{/number}","pulls_url":"https://api.github.com/repos/sourcegraph/srclib-basic/pulls{/number}","milestones_url":"https://api.github.com/repos/sourcegraph/srclib-basic/milestones{/number}","notifications_url":"https://api.github.com/repos/sourcegraph/srclib-basic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sourcegraph/srclib-basic/labels{/name}","releases_url":"https://api.github.com/repos/sourcegraph/srclib-basic/releases{/id}","created_at":"2015-12-14T20:44:21Z","updated_at":"2015-12-14T20:44:21Z","pushed_at":"2015-12-21T11:07:54Z","git_url":"git://github.com/sourcegraph/srclib-basic.git","ssh_url":"git@github.com:sourcegraph/srclib-basic.git","clone_url":"https://github.com/sourcegraph/srclib-basic.git","svn_url":"https://github.com/sourcegraph/srclib-basic","homepage":null,"size":455,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sourcegraph/srclib-basic/pulls/4"},"html":{"href":"https://github.com/sourcegraph/srclib-basic/pull/4"},"issue":{"href":"https://api.github.com/repos/sourcegraph/srclib-basic/issues/4"},"comments":{"href":"https://api.github.com/repos/sourcegraph/srclib-basic/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/sourcegraph/srclib-basic/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/sourcegraph/srclib-basic/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sourcegraph/srclib-basic/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/sourcegraph/srclib-basic/statuses/86a7ac7988c5ad6eeab02de41a355febe21763e2"}}}}