{"action":"created","comment":{"url":"https://api.github.com/repos/durkiewicz/elm-plugin/pulls/comments/94007767","pull_request_review_id":14537558,"id":94007767,"diff_hunk":"@@ -180,6 +201,11 @@ RESERVED=(\"hiding\" | \"export\" | \"foreign\" | \"deriving\")\n         yybegin(IN_COMMENT);\n         return START_COMMENT;\n     }\n+    {CRLF}*\"{-|\" {\n+        commentLevel = 1;","path":"src/main/java/org/elmlang/intellijplugin/Elm.flex","position":40,"original_position":40,"commit_id":"7780916b03a7a35d0763279f5a3e60d849ef5509","original_commit_id":"7780916b03a7a35d0763279f5a3e60d849ef5509","user":{"login":"durkiewicz","id":2900637,"avatar_url":"https://avatars.githubusercontent.com/u/2900637?v=3","gravatar_id":"","url":"https://api.github.com/users/durkiewicz","html_url":"https://github.com/durkiewicz","followers_url":"https://api.github.com/users/durkiewicz/followers","following_url":"https://api.github.com/users/durkiewicz/following{/other_user}","gists_url":"https://api.github.com/users/durkiewicz/gists{/gist_id}","starred_url":"https://api.github.com/users/durkiewicz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/durkiewicz/subscriptions","organizations_url":"https://api.github.com/users/durkiewicz/orgs","repos_url":"https://api.github.com/users/durkiewicz/repos","events_url":"https://api.github.com/users/durkiewicz/events{/privacy}","received_events_url":"https://api.github.com/users/durkiewicz/received_events","type":"User","site_admin":false},"body":"Please introduce a private method to the `%{ ... %}` section of the lexer in order not to duplicate the logic:\r\n```java\r\nprivate void startComment() {\r\n    commentLevel = 1;\r\n    yybegin(IN_COMMENT);\r\n}\r\n```","created_at":"2016-12-28T08:51:41Z","updated_at":"2016-12-28T09:01:42Z","html_url":"https://github.com/durkiewicz/elm-plugin/pull/45#discussion_r94007767","pull_request_url":"https://api.github.com/repos/durkiewicz/elm-plugin/pulls/45","_links":{"self":{"href":"https://api.github.com/repos/durkiewicz/elm-plugin/pulls/comments/94007767"},"html":{"href":"https://github.com/durkiewicz/elm-plugin/pull/45#discussion_r94007767"},"pull_request":{"href":"https://api.github.com/repos/durkiewicz/elm-plugin/pulls/45"}}},"pull_request":{"url":"https://api.github.com/repos/durkiewicz/elm-plugin/pulls/45","id":93442832,"html_url":"https://github.com/durkiewicz/elm-plugin/pull/45","diff_url":"https://github.com/durkiewicz/elm-plugin/pull/45.diff","patch_url":"https://github.com/durkiewicz/elm-plugin/pull/45.patch","issue_url":"https://api.github.com/repos/durkiewicz/elm-plugin/issues/45","number":45,"state":"open","locked":false,"title":"Fix #37: insert import clauses in the correct place relative to comments","user":{"login":"klazuka","id":84525,"avatar_url":"https://avatars.githubusercontent.com/u/84525?v=3","gravatar_id":"","url":"https://api.github.com/users/klazuka","html_url":"https://github.com/klazuka","followers_url":"https://api.github.com/users/klazuka/followers","following_url":"https://api.github.com/users/klazuka/following{/other_user}","gists_url":"https://api.github.com/users/klazuka/gists{/gist_id}","starred_url":"https://api.github.com/users/klazuka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/klazuka/subscriptions","organizations_url":"https://api.github.com/users/klazuka/orgs","repos_url":"https://api.github.com/users/klazuka/repos","events_url":"https://api.github.com/users/klazuka/events{/privacy}","received_events_url":"https://api.github.com/users/klazuka/received_events","type":"User","site_admin":false},"body":"@durkiewicz I made the change in the lexer/parser as you suggested.\r\n\r\nI decided to have an `END_DOC_COMMENT` token for symmetry, but maybe it's overkill? ","created_at":"2016-11-12T15:52:49Z","updated_at":"2016-12-28T09:01:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"49642d2f47ef514ccc8c7891315ca4e2d3d9ce5e","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/durkiewicz/elm-plugin/pulls/45/commits","review_comments_url":"https://api.github.com/repos/durkiewicz/elm-plugin/pulls/45/comments","review_comment_url":"https://api.github.com/repos/durkiewicz/elm-plugin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/durkiewicz/elm-plugin/issues/45/comments","statuses_url":"https://api.github.com/repos/durkiewicz/elm-plugin/statuses/7780916b03a7a35d0763279f5a3e60d849ef5509","head":{"label":"klazuka:kl/comment-ordering-fix","ref":"kl/comment-ordering-fix","sha":"7780916b03a7a35d0763279f5a3e60d849ef5509","user":{"login":"klazuka","id":84525,"avatar_url":"https://avatars.githubusercontent.com/u/84525?v=3","gravatar_id":"","url":"https://api.github.com/users/klazuka","html_url":"https://github.com/klazuka","followers_url":"https://api.github.com/users/klazuka/followers","following_url":"https://api.github.com/users/klazuka/following{/other_user}","gists_url":"https://api.github.com/users/klazuka/gists{/gist_id}","starred_url":"https://api.github.com/users/klazuka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/klazuka/subscriptions","organizations_url":"https://api.github.com/users/klazuka/orgs","repos_url":"https://api.github.com/users/klazuka/repos","events_url":"https://api.github.com/users/klazuka/events{/privacy}","received_events_url":"https://api.github.com/users/klazuka/received_events","type":"User","site_admin":false},"repo":{"id":60485010,"name":"elm-plugin","full_name":"klazuka/elm-plugin","owner":{"login":"klazuka","id":84525,"avatar_url":"https://avatars.githubusercontent.com/u/84525?v=3","gravatar_id":"","url":"https://api.github.com/users/klazuka","html_url":"https://github.com/klazuka","followers_url":"https://api.github.com/users/klazuka/followers","following_url":"https://api.github.com/users/klazuka/following{/other_user}","gists_url":"https://api.github.com/users/klazuka/gists{/gist_id}","starred_url":"https://api.github.com/users/klazuka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/klazuka/subscriptions","organizations_url":"https://api.github.com/users/klazuka/orgs","repos_url":"https://api.github.com/users/klazuka/repos","events_url":"https://api.github.com/users/klazuka/events{/privacy}","received_events_url":"https://api.github.com/users/klazuka/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/klazuka/elm-plugin","description":"Elm language support plugin for IntelliJ IDEA.","fork":true,"url":"https://api.github.com/repos/klazuka/elm-plugin","forks_url":"https://api.github.com/repos/klazuka/elm-plugin/forks","keys_url":"https://api.github.com/repos/klazuka/elm-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/klazuka/elm-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/klazuka/elm-plugin/teams","hooks_url":"https://api.github.com/repos/klazuka/elm-plugin/hooks","issue_events_url":"https://api.github.com/repos/klazuka/elm-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/klazuka/elm-plugin/events","assignees_url":"https://api.github.com/repos/klazuka/elm-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/klazuka/elm-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/klazuka/elm-plugin/tags","blobs_url":"https://api.github.com/repos/klazuka/elm-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/klazuka/elm-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/klazuka/elm-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/klazuka/elm-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/klazuka/elm-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/klazuka/elm-plugin/languages","stargazers_url":"https://api.github.com/repos/klazuka/elm-plugin/stargazers","contributors_url":"https://api.github.com/repos/klazuka/elm-plugin/contributors","subscribers_url":"https://api.github.com/repos/klazuka/elm-plugin/subscribers","subscription_url":"https://api.github.com/repos/klazuka/elm-plugin/subscription","commits_url":"https://api.github.com/repos/klazuka/elm-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/klazuka/elm-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/klazuka/elm-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/klazuka/elm-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/klazuka/elm-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/klazuka/elm-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/klazuka/elm-plugin/merges","archive_url":"https://api.github.com/repos/klazuka/elm-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/klazuka/elm-plugin/downloads","issues_url":"https://api.github.com/repos/klazuka/elm-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/klazuka/elm-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/klazuka/elm-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/klazuka/elm-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/klazuka/elm-plugin/labels{/name}","releases_url":"https://api.github.com/repos/klazuka/elm-plugin/releases{/id}","deployments_url":"https://api.github.com/repos/klazuka/elm-plugin/deployments","created_at":"2016-06-05T22:58:29Z","updated_at":"2016-06-05T22:58:30Z","pushed_at":"2016-11-12T15:47:29Z","git_url":"git://github.com/klazuka/elm-plugin.git","ssh_url":"git@github.com:klazuka/elm-plugin.git","clone_url":"https://github.com/klazuka/elm-plugin.git","svn_url":"https://github.com/klazuka/elm-plugin","homepage":null,"size":1914,"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":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"durkiewicz:master","ref":"master","sha":"0441936c3b6389a6dfad081ce48ce504036608f1","user":{"login":"durkiewicz","id":2900637,"avatar_url":"https://avatars.githubusercontent.com/u/2900637?v=3","gravatar_id":"","url":"https://api.github.com/users/durkiewicz","html_url":"https://github.com/durkiewicz","followers_url":"https://api.github.com/users/durkiewicz/followers","following_url":"https://api.github.com/users/durkiewicz/following{/other_user}","gists_url":"https://api.github.com/users/durkiewicz/gists{/gist_id}","starred_url":"https://api.github.com/users/durkiewicz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/durkiewicz/subscriptions","organizations_url":"https://api.github.com/users/durkiewicz/orgs","repos_url":"https://api.github.com/users/durkiewicz/repos","events_url":"https://api.github.com/users/durkiewicz/events{/privacy}","received_events_url":"https://api.github.com/users/durkiewicz/received_events","type":"User","site_admin":false},"repo":{"id":49311679,"name":"elm-plugin","full_name":"durkiewicz/elm-plugin","owner":{"login":"durkiewicz","id":2900637,"avatar_url":"https://avatars.githubusercontent.com/u/2900637?v=3","gravatar_id":"","url":"https://api.github.com/users/durkiewicz","html_url":"https://github.com/durkiewicz","followers_url":"https://api.github.com/users/durkiewicz/followers","following_url":"https://api.github.com/users/durkiewicz/following{/other_user}","gists_url":"https://api.github.com/users/durkiewicz/gists{/gist_id}","starred_url":"https://api.github.com/users/durkiewicz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/durkiewicz/subscriptions","organizations_url":"https://api.github.com/users/durkiewicz/orgs","repos_url":"https://api.github.com/users/durkiewicz/repos","events_url":"https://api.github.com/users/durkiewicz/events{/privacy}","received_events_url":"https://api.github.com/users/durkiewicz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/durkiewicz/elm-plugin","description":"Elm language support plugin for IntelliJ IDEA.","fork":false,"url":"https://api.github.com/repos/durkiewicz/elm-plugin","forks_url":"https://api.github.com/repos/durkiewicz/elm-plugin/forks","keys_url":"https://api.github.com/repos/durkiewicz/elm-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/durkiewicz/elm-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/durkiewicz/elm-plugin/teams","hooks_url":"https://api.github.com/repos/durkiewicz/elm-plugin/hooks","issue_events_url":"https://api.github.com/repos/durkiewicz/elm-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/durkiewicz/elm-plugin/events","assignees_url":"https://api.github.com/repos/durkiewicz/elm-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/durkiewicz/elm-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/durkiewicz/elm-plugin/tags","blobs_url":"https://api.github.com/repos/durkiewicz/elm-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/durkiewicz/elm-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/durkiewicz/elm-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/durkiewicz/elm-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/durkiewicz/elm-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/durkiewicz/elm-plugin/languages","stargazers_url":"https://api.github.com/repos/durkiewicz/elm-plugin/stargazers","contributors_url":"https://api.github.com/repos/durkiewicz/elm-plugin/contributors","subscribers_url":"https://api.github.com/repos/durkiewicz/elm-plugin/subscribers","subscription_url":"https://api.github.com/repos/durkiewicz/elm-plugin/subscription","commits_url":"https://api.github.com/repos/durkiewicz/elm-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/durkiewicz/elm-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/durkiewicz/elm-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/durkiewicz/elm-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/durkiewicz/elm-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/durkiewicz/elm-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/durkiewicz/elm-plugin/merges","archive_url":"https://api.github.com/repos/durkiewicz/elm-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/durkiewicz/elm-plugin/downloads","issues_url":"https://api.github.com/repos/durkiewicz/elm-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/durkiewicz/elm-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/durkiewicz/elm-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/durkiewicz/elm-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/durkiewicz/elm-plugin/labels{/name}","releases_url":"https://api.github.com/repos/durkiewicz/elm-plugin/releases{/id}","deployments_url":"https://api.github.com/repos/durkiewicz/elm-plugin/deployments","created_at":"2016-01-09T05:09:00Z","updated_at":"2016-12-26T16:41:48Z","pushed_at":"2016-12-22T09:28:53Z","git_url":"git://github.com/durkiewicz/elm-plugin.git","ssh_url":"git@github.com:durkiewicz/elm-plugin.git","clone_url":"https://github.com/durkiewicz/elm-plugin.git","svn_url":"https://github.com/durkiewicz/elm-plugin","homepage":null,"size":5457,"stargazers_count":77,"watchers_count":77,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":7,"mirror_url":null,"open_issues_count":12,"forks":7,"open_issues":12,"watchers":77,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/durkiewicz/elm-plugin/pulls/45"},"html":{"href":"https://github.com/durkiewicz/elm-plugin/pull/45"},"issue":{"href":"https://api.github.com/repos/durkiewicz/elm-plugin/issues/45"},"comments":{"href":"https://api.github.com/repos/durkiewicz/elm-plugin/issues/45/comments"},"review_comments":{"href":"https://api.github.com/repos/durkiewicz/elm-plugin/pulls/45/comments"},"review_comment":{"href":"https://api.github.com/repos/durkiewicz/elm-plugin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/durkiewicz/elm-plugin/pulls/45/commits"},"statuses":{"href":"https://api.github.com/repos/durkiewicz/elm-plugin/statuses/7780916b03a7a35d0763279f5a3e60d849ef5509"}}}}
{"actor":{"display_login":"durkiewicz"}}