{"action":"created","comment":{"url":"https://api.github.com/repos/mongodb-js/bson-compilers/pulls/comments/183989129","pull_request_review_id":115091825,"id":183989129,"diff_hunk":"@@ -85,18 +85,24 @@ module.exports = (superClass) => class ExtendedVisitor extends superClass {\n    * @return {String}\n    */\n   emitDate(ctx) {\n+    let toStr = '';","path":"codegeneration/java/Generator.js","position":4,"original_position":4,"commit_id":"f69300758b9a8ef6c2e9db037320723d5591f6a6","original_commit_id":"f69300758b9a8ef6c2e9db037320723d5591f6a6","user":{"login":"lrlna","id":8107784,"avatar_url":"https://avatars2.githubusercontent.com/u/8107784?v=4","gravatar_id":"","url":"https://api.github.com/users/lrlna","html_url":"https://github.com/lrlna","followers_url":"https://api.github.com/users/lrlna/followers","following_url":"https://api.github.com/users/lrlna/following{/other_user}","gists_url":"https://api.github.com/users/lrlna/gists{/gist_id}","starred_url":"https://api.github.com/users/lrlna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lrlna/subscriptions","organizations_url":"https://api.github.com/users/lrlna/orgs","repos_url":"https://api.github.com/users/lrlna/repos","events_url":"https://api.github.com/users/lrlna/events{/privacy}","received_events_url":"https://api.github.com/users/lrlna/received_events","type":"User","site_admin":false},"body":"whooaaaa TIL! I thought it was an object always for some reason, but then again I only ever do `new Date()` :O","created_at":"2018-04-25T09:09:09Z","updated_at":"2018-04-25T09:09:09Z","html_url":"https://github.com/mongodb-js/bson-compilers/pull/41#discussion_r183989129","pull_request_url":"https://api.github.com/repos/mongodb-js/bson-compilers/pulls/41","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/mongodb-js/bson-compilers/pulls/comments/183989129"},"html":{"href":"https://github.com/mongodb-js/bson-compilers/pull/41#discussion_r183989129"},"pull_request":{"href":"https://api.github.com/repos/mongodb-js/bson-compilers/pulls/41"}},"in_reply_to_id":183828124},"pull_request":{"url":"https://api.github.com/repos/mongodb-js/bson-compilers/pulls/41","id":183818621,"html_url":"https://github.com/mongodb-js/bson-compilers/pull/41","diff_url":"https://github.com/mongodb-js/bson-compilers/pull/41.diff","patch_url":"https://github.com/mongodb-js/bson-compilers/pull/41.patch","issue_url":"https://api.github.com/repos/mongodb-js/bson-compilers/issues/41","number":41,"state":"open","locked":false,"title":"Add shell bson constructors as input language","user":{"login":"aherlihy","id":1045019,"avatar_url":"https://avatars3.githubusercontent.com/u/1045019?v=4","gravatar_id":"","url":"https://api.github.com/users/aherlihy","html_url":"https://github.com/aherlihy","followers_url":"https://api.github.com/users/aherlihy/followers","following_url":"https://api.github.com/users/aherlihy/following{/other_user}","gists_url":"https://api.github.com/users/aherlihy/gists{/gist_id}","starred_url":"https://api.github.com/users/aherlihy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aherlihy/subscriptions","organizations_url":"https://api.github.com/users/aherlihy/orgs","repos_url":"https://api.github.com/users/aherlihy/repos","events_url":"https://api.github.com/users/aherlihy/events{/privacy}","received_events_url":"https://api.github.com/users/aherlihy/received_events","type":"User","site_admin":false},"body":"Instead of listing everything I've done here, I'm going to try something new and make comments on the code itself. Let me know if it's easier to follow.\r\n\r\nThis PR adds support for the shell input language. Includes the bson and js constructors, the methods and utils are TODO.","created_at":"2018-04-24T18:03:32Z","updated_at":"2018-04-25T09:09:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e0f73f97a7b5f9678144690f260dcaf61306a23c","assignee":null,"assignees":[],"requested_reviewers":[{"login":"lrlna","id":8107784,"avatar_url":"https://avatars2.githubusercontent.com/u/8107784?v=4","gravatar_id":"","url":"https://api.github.com/users/lrlna","html_url":"https://github.com/lrlna","followers_url":"https://api.github.com/users/lrlna/followers","following_url":"https://api.github.com/users/lrlna/following{/other_user}","gists_url":"https://api.github.com/users/lrlna/gists{/gist_id}","starred_url":"https://api.github.com/users/lrlna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lrlna/subscriptions","organizations_url":"https://api.github.com/users/lrlna/orgs","repos_url":"https://api.github.com/users/lrlna/repos","events_url":"https://api.github.com/users/lrlna/events{/privacy}","received_events_url":"https://api.github.com/users/lrlna/received_events","type":"User","site_admin":false},{"login":"alenakhineika","id":16307679,"avatar_url":"https://avatars1.githubusercontent.com/u/16307679?v=4","gravatar_id":"","url":"https://api.github.com/users/alenakhineika","html_url":"https://github.com/alenakhineika","followers_url":"https://api.github.com/users/alenakhineika/followers","following_url":"https://api.github.com/users/alenakhineika/following{/other_user}","gists_url":"https://api.github.com/users/alenakhineika/gists{/gist_id}","starred_url":"https://api.github.com/users/alenakhineika/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alenakhineika/subscriptions","organizations_url":"https://api.github.com/users/alenakhineika/orgs","repos_url":"https://api.github.com/users/alenakhineika/repos","events_url":"https://api.github.com/users/alenakhineika/events{/privacy}","received_events_url":"https://api.github.com/users/alenakhineika/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/mongodb-js/bson-compilers/pulls/41/commits","review_comments_url":"https://api.github.com/repos/mongodb-js/bson-compilers/pulls/41/comments","review_comment_url":"https://api.github.com/repos/mongodb-js/bson-compilers/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mongodb-js/bson-compilers/issues/41/comments","statuses_url":"https://api.github.com/repos/mongodb-js/bson-compilers/statuses/f69300758b9a8ef6c2e9db037320723d5591f6a6","head":{"label":"mongodb-js:shell","ref":"shell","sha":"f69300758b9a8ef6c2e9db037320723d5591f6a6","user":{"login":"mongodb-js","id":11214950,"avatar_url":"https://avatars3.githubusercontent.com/u/11214950?v=4","gravatar_id":"","url":"https://api.github.com/users/mongodb-js","html_url":"https://github.com/mongodb-js","followers_url":"https://api.github.com/users/mongodb-js/followers","following_url":"https://api.github.com/users/mongodb-js/following{/other_user}","gists_url":"https://api.github.com/users/mongodb-js/gists{/gist_id}","starred_url":"https://api.github.com/users/mongodb-js/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mongodb-js/subscriptions","organizations_url":"https://api.github.com/users/mongodb-js/orgs","repos_url":"https://api.github.com/users/mongodb-js/repos","events_url":"https://api.github.com/users/mongodb-js/events{/privacy}","received_events_url":"https://api.github.com/users/mongodb-js/received_events","type":"Organization","site_admin":false},"repo":{"id":123952658,"name":"bson-compilers","full_name":"mongodb-js/bson-compilers","owner":{"login":"mongodb-js","id":11214950,"avatar_url":"https://avatars3.githubusercontent.com/u/11214950?v=4","gravatar_id":"","url":"https://api.github.com/users/mongodb-js","html_url":"https://github.com/mongodb-js","followers_url":"https://api.github.com/users/mongodb-js/followers","following_url":"https://api.github.com/users/mongodb-js/following{/other_user}","gists_url":"https://api.github.com/users/mongodb-js/gists{/gist_id}","starred_url":"https://api.github.com/users/mongodb-js/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mongodb-js/subscriptions","organizations_url":"https://api.github.com/users/mongodb-js/orgs","repos_url":"https://api.github.com/users/mongodb-js/repos","events_url":"https://api.github.com/users/mongodb-js/events{/privacy}","received_events_url":"https://api.github.com/users/mongodb-js/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mongodb-js/bson-compilers","description":"Compilers for the export to language Compass feature.","fork":false,"url":"https://api.github.com/repos/mongodb-js/bson-compilers","forks_url":"https://api.github.com/repos/mongodb-js/bson-compilers/forks","keys_url":"https://api.github.com/repos/mongodb-js/bson-compilers/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mongodb-js/bson-compilers/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mongodb-js/bson-compilers/teams","hooks_url":"https://api.github.com/repos/mongodb-js/bson-compilers/hooks","issue_events_url":"https://api.github.com/repos/mongodb-js/bson-compilers/issues/events{/number}","events_url":"https://api.github.com/repos/mongodb-js/bson-compilers/events","assignees_url":"https://api.github.com/repos/mongodb-js/bson-compilers/assignees{/user}","branches_url":"https://api.github.com/repos/mongodb-js/bson-compilers/branches{/branch}","tags_url":"https://api.github.com/repos/mongodb-js/bson-compilers/tags","blobs_url":"https://api.github.com/repos/mongodb-js/bson-compilers/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mongodb-js/bson-compilers/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mongodb-js/bson-compilers/git/refs{/sha}","trees_url":"https://api.github.com/repos/mongodb-js/bson-compilers/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mongodb-js/bson-compilers/statuses/{sha}","languages_url":"https://api.github.com/repos/mongodb-js/bson-compilers/languages","stargazers_url":"https://api.github.com/repos/mongodb-js/bson-compilers/stargazers","contributors_url":"https://api.github.com/repos/mongodb-js/bson-compilers/contributors","subscribers_url":"https://api.github.com/repos/mongodb-js/bson-compilers/subscribers","subscription_url":"https://api.github.com/repos/mongodb-js/bson-compilers/subscription","commits_url":"https://api.github.com/repos/mongodb-js/bson-compilers/commits{/sha}","git_commits_url":"https://api.github.com/repos/mongodb-js/bson-compilers/git/commits{/sha}","comments_url":"https://api.github.com/repos/mongodb-js/bson-compilers/comments{/number}","issue_comment_url":"https://api.github.com/repos/mongodb-js/bson-compilers/issues/comments{/number}","contents_url":"https://api.github.com/repos/mongodb-js/bson-compilers/contents/{+path}","compare_url":"https://api.github.com/repos/mongodb-js/bson-compilers/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mongodb-js/bson-compilers/merges","archive_url":"https://api.github.com/repos/mongodb-js/bson-compilers/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mongodb-js/bson-compilers/downloads","issues_url":"https://api.github.com/repos/mongodb-js/bson-compilers/issues{/number}","pulls_url":"https://api.github.com/repos/mongodb-js/bson-compilers/pulls{/number}","milestones_url":"https://api.github.com/repos/mongodb-js/bson-compilers/milestones{/number}","notifications_url":"https://api.github.com/repos/mongodb-js/bson-compilers/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mongodb-js/bson-compilers/labels{/name}","releases_url":"https://api.github.com/repos/mongodb-js/bson-compilers/releases{/id}","deployments_url":"https://api.github.com/repos/mongodb-js/bson-compilers/deployments","created_at":"2018-03-05T17:15:00Z","updated_at":"2018-04-24T12:00:26Z","pushed_at":"2018-04-24T18:03:34Z","git_url":"git://github.com/mongodb-js/bson-compilers.git","ssh_url":"git@github.com:mongodb-js/bson-compilers.git","clone_url":"https://github.com/mongodb-js/bson-compilers.git","svn_url":"https://github.com/mongodb-js/bson-compilers","homepage":null,"size":667,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":0,"open_issues":2,"watchers":2,"default_branch":"master"}},"base":{"label":"mongodb-js:master","ref":"master","sha":"02492276c28e06ca17f16823eb92b4b7d1064a2f","user":{"login":"mongodb-js","id":11214950,"avatar_url":"https://avatars3.githubusercontent.com/u/11214950?v=4","gravatar_id":"","url":"https://api.github.com/users/mongodb-js","html_url":"https://github.com/mongodb-js","followers_url":"https://api.github.com/users/mongodb-js/followers","following_url":"https://api.github.com/users/mongodb-js/following{/other_user}","gists_url":"https://api.github.com/users/mongodb-js/gists{/gist_id}","starred_url":"https://api.github.com/users/mongodb-js/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mongodb-js/subscriptions","organizations_url":"https://api.github.com/users/mongodb-js/orgs","repos_url":"https://api.github.com/users/mongodb-js/repos","events_url":"https://api.github.com/users/mongodb-js/events{/privacy}","received_events_url":"https://api.github.com/users/mongodb-js/received_events","type":"Organization","site_admin":false},"repo":{"id":123952658,"name":"bson-compilers","full_name":"mongodb-js/bson-compilers","owner":{"login":"mongodb-js","id":11214950,"avatar_url":"https://avatars3.githubusercontent.com/u/11214950?v=4","gravatar_id":"","url":"https://api.github.com/users/mongodb-js","html_url":"https://github.com/mongodb-js","followers_url":"https://api.github.com/users/mongodb-js/followers","following_url":"https://api.github.com/users/mongodb-js/following{/other_user}","gists_url":"https://api.github.com/users/mongodb-js/gists{/gist_id}","starred_url":"https://api.github.com/users/mongodb-js/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mongodb-js/subscriptions","organizations_url":"https://api.github.com/users/mongodb-js/orgs","repos_url":"https://api.github.com/users/mongodb-js/repos","events_url":"https://api.github.com/users/mongodb-js/events{/privacy}","received_events_url":"https://api.github.com/users/mongodb-js/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mongodb-js/bson-compilers","description":"Compilers for the export to language Compass feature.","fork":false,"url":"https://api.github.com/repos/mongodb-js/bson-compilers","forks_url":"https://api.github.com/repos/mongodb-js/bson-compilers/forks","keys_url":"https://api.github.com/repos/mongodb-js/bson-compilers/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mongodb-js/bson-compilers/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mongodb-js/bson-compilers/teams","hooks_url":"https://api.github.com/repos/mongodb-js/bson-compilers/hooks","issue_events_url":"https://api.github.com/repos/mongodb-js/bson-compilers/issues/events{/number}","events_url":"https://api.github.com/repos/mongodb-js/bson-compilers/events","assignees_url":"https://api.github.com/repos/mongodb-js/bson-compilers/assignees{/user}","branches_url":"https://api.github.com/repos/mongodb-js/bson-compilers/branches{/branch}","tags_url":"https://api.github.com/repos/mongodb-js/bson-compilers/tags","blobs_url":"https://api.github.com/repos/mongodb-js/bson-compilers/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mongodb-js/bson-compilers/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mongodb-js/bson-compilers/git/refs{/sha}","trees_url":"https://api.github.com/repos/mongodb-js/bson-compilers/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mongodb-js/bson-compilers/statuses/{sha}","languages_url":"https://api.github.com/repos/mongodb-js/bson-compilers/languages","stargazers_url":"https://api.github.com/repos/mongodb-js/bson-compilers/stargazers","contributors_url":"https://api.github.com/repos/mongodb-js/bson-compilers/contributors","subscribers_url":"https://api.github.com/repos/mongodb-js/bson-compilers/subscribers","subscription_url":"https://api.github.com/repos/mongodb-js/bson-compilers/subscription","commits_url":"https://api.github.com/repos/mongodb-js/bson-compilers/commits{/sha}","git_commits_url":"https://api.github.com/repos/mongodb-js/bson-compilers/git/commits{/sha}","comments_url":"https://api.github.com/repos/mongodb-js/bson-compilers/comments{/number}","issue_comment_url":"https://api.github.com/repos/mongodb-js/bson-compilers/issues/comments{/number}","contents_url":"https://api.github.com/repos/mongodb-js/bson-compilers/contents/{+path}","compare_url":"https://api.github.com/repos/mongodb-js/bson-compilers/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mongodb-js/bson-compilers/merges","archive_url":"https://api.github.com/repos/mongodb-js/bson-compilers/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mongodb-js/bson-compilers/downloads","issues_url":"https://api.github.com/repos/mongodb-js/bson-compilers/issues{/number}","pulls_url":"https://api.github.com/repos/mongodb-js/bson-compilers/pulls{/number}","milestones_url":"https://api.github.com/repos/mongodb-js/bson-compilers/milestones{/number}","notifications_url":"https://api.github.com/repos/mongodb-js/bson-compilers/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mongodb-js/bson-compilers/labels{/name}","releases_url":"https://api.github.com/repos/mongodb-js/bson-compilers/releases{/id}","deployments_url":"https://api.github.com/repos/mongodb-js/bson-compilers/deployments","created_at":"2018-03-05T17:15:00Z","updated_at":"2018-04-24T12:00:26Z","pushed_at":"2018-04-24T18:03:34Z","git_url":"git://github.com/mongodb-js/bson-compilers.git","ssh_url":"git@github.com:mongodb-js/bson-compilers.git","clone_url":"https://github.com/mongodb-js/bson-compilers.git","svn_url":"https://github.com/mongodb-js/bson-compilers","homepage":null,"size":667,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":0,"open_issues":2,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mongodb-js/bson-compilers/pulls/41"},"html":{"href":"https://github.com/mongodb-js/bson-compilers/pull/41"},"issue":{"href":"https://api.github.com/repos/mongodb-js/bson-compilers/issues/41"},"comments":{"href":"https://api.github.com/repos/mongodb-js/bson-compilers/issues/41/comments"},"review_comments":{"href":"https://api.github.com/repos/mongodb-js/bson-compilers/pulls/41/comments"},"review_comment":{"href":"https://api.github.com/repos/mongodb-js/bson-compilers/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mongodb-js/bson-compilers/pulls/41/commits"},"statuses":{"href":"https://api.github.com/repos/mongodb-js/bson-compilers/statuses/f69300758b9a8ef6c2e9db037320723d5591f6a6"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"lrlna"}}