{"action":"created","comment":{"url":"https://api.github.com/repos/flutter/flutter/pulls/comments/63739799","id":63739799,"diff_hunk":"@@ -0,0 +1,329 @@\n+// Copyright 2016 The Chromium Authors. All rights reserved.\n+// Use of this source code is governed by a BSD-style license that can be\n+// found in the LICENSE file.\n+\n+/// A token that composes an expression. There are several kinds of tokens\n+/// that represent arithmetic operation symbols, numbers and pieces of numbers.\n+/// We need to represent pieces of numbers because the user may have only\n+/// entered a partial expression so far.\n+class ExpressionToken {\n+  String stringRep;\n+\n+  ExpressionToken(this.stringRep);\n+\n+  String toString() {\n+    return stringRep;\n+  }","path":"examples/calculator/lib/calc_expression.dart","position":16,"original_position":16,"commit_id":"8fb636414610a7bc2440e22db90bc9ef9f590405","original_commit_id":"8fb636414610a7bc2440e22db90bc9ef9f590405","user":{"login":"MitchRudominer","id":10732743,"avatar_url":"https://avatars.githubusercontent.com/u/10732743?v=3","gravatar_id":"","url":"https://api.github.com/users/MitchRudominer","html_url":"https://github.com/MitchRudominer","followers_url":"https://api.github.com/users/MitchRudominer/followers","following_url":"https://api.github.com/users/MitchRudominer/following{/other_user}","gists_url":"https://api.github.com/users/MitchRudominer/gists{/gist_id}","starred_url":"https://api.github.com/users/MitchRudominer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MitchRudominer/subscriptions","organizations_url":"https://api.github.com/users/MitchRudominer/orgs","repos_url":"https://api.github.com/users/MitchRudominer/repos","events_url":"https://api.github.com/users/MitchRudominer/events{/privacy}","received_events_url":"https://api.github.com/users/MitchRudominer/received_events","type":"User","site_admin":false},"body":"done","created_at":"2016-05-18T16:47:46Z","updated_at":"2016-05-18T16:47:46Z","html_url":"https://github.com/flutter/flutter/pull/3999#discussion_r63739799","pull_request_url":"https://api.github.com/repos/flutter/flutter/pulls/3999","_links":{"self":{"href":"https://api.github.com/repos/flutter/flutter/pulls/comments/63739799"},"html":{"href":"https://github.com/flutter/flutter/pull/3999#discussion_r63739799"},"pull_request":{"href":"https://api.github.com/repos/flutter/flutter/pulls/3999"}}},"pull_request":{"url":"https://api.github.com/repos/flutter/flutter/pulls/3999","id":70446022,"html_url":"https://github.com/flutter/flutter/pull/3999","diff_url":"https://github.com/flutter/flutter/pull/3999.diff","patch_url":"https://github.com/flutter/flutter/pull/3999.patch","issue_url":"https://api.github.com/repos/flutter/flutter/issues/3999","number":3999,"state":"open","locked":false,"title":"New Material Design calculator example. ","user":{"login":"MitchRudominer","id":10732743,"avatar_url":"https://avatars.githubusercontent.com/u/10732743?v=3","gravatar_id":"","url":"https://api.github.com/users/MitchRudominer","html_url":"https://github.com/MitchRudominer","followers_url":"https://api.github.com/users/MitchRudominer/followers","following_url":"https://api.github.com/users/MitchRudominer/following{/other_user}","gists_url":"https://api.github.com/users/MitchRudominer/gists{/gist_id}","starred_url":"https://api.github.com/users/MitchRudominer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MitchRudominer/subscriptions","organizations_url":"https://api.github.com/users/MitchRudominer/orgs","repos_url":"https://api.github.com/users/MitchRudominer/repos","events_url":"https://api.github.com/users/MitchRudominer/events{/privacy}","received_events_url":"https://api.github.com/users/MitchRudominer/received_events","type":"User","site_admin":false},"body":"This example app is a Material design calculator that looks like the Android calculator.\r\nIt  is very simple but I'm willing to add more features in the future if anybody wants me too.\r\n- Basic arithmetic operations only.\r\n- Supports order of operations and gracefully handles infinity and NAN.\r\n- Supports a DEL button using a stack of expressions\r\n- I included some simple tests.","created_at":"2016-05-17T23:10:30Z","updated_at":"2016-05-18T16:47:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"546cae8028a82b2f304f94de13ac58fbe2c383f7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/flutter/flutter/pulls/3999/commits","review_comments_url":"https://api.github.com/repos/flutter/flutter/pulls/3999/comments","review_comment_url":"https://api.github.com/repos/flutter/flutter/pulls/comments{/number}","comments_url":"https://api.github.com/repos/flutter/flutter/issues/3999/comments","statuses_url":"https://api.github.com/repos/flutter/flutter/statuses/8fb636414610a7bc2440e22db90bc9ef9f590405","head":{"label":"MitchRudominer:contribute-calculator","ref":"contribute-calculator","sha":"8fb636414610a7bc2440e22db90bc9ef9f590405","user":{"login":"MitchRudominer","id":10732743,"avatar_url":"https://avatars.githubusercontent.com/u/10732743?v=3","gravatar_id":"","url":"https://api.github.com/users/MitchRudominer","html_url":"https://github.com/MitchRudominer","followers_url":"https://api.github.com/users/MitchRudominer/followers","following_url":"https://api.github.com/users/MitchRudominer/following{/other_user}","gists_url":"https://api.github.com/users/MitchRudominer/gists{/gist_id}","starred_url":"https://api.github.com/users/MitchRudominer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MitchRudominer/subscriptions","organizations_url":"https://api.github.com/users/MitchRudominer/orgs","repos_url":"https://api.github.com/users/MitchRudominer/repos","events_url":"https://api.github.com/users/MitchRudominer/events{/privacy}","received_events_url":"https://api.github.com/users/MitchRudominer/received_events","type":"User","site_admin":false},"repo":{"id":58885366,"name":"flutter","full_name":"MitchRudominer/flutter","owner":{"login":"MitchRudominer","id":10732743,"avatar_url":"https://avatars.githubusercontent.com/u/10732743?v=3","gravatar_id":"","url":"https://api.github.com/users/MitchRudominer","html_url":"https://github.com/MitchRudominer","followers_url":"https://api.github.com/users/MitchRudominer/followers","following_url":"https://api.github.com/users/MitchRudominer/following{/other_user}","gists_url":"https://api.github.com/users/MitchRudominer/gists{/gist_id}","starred_url":"https://api.github.com/users/MitchRudominer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MitchRudominer/subscriptions","organizations_url":"https://api.github.com/users/MitchRudominer/orgs","repos_url":"https://api.github.com/users/MitchRudominer/repos","events_url":"https://api.github.com/users/MitchRudominer/events{/privacy}","received_events_url":"https://api.github.com/users/MitchRudominer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MitchRudominer/flutter","description":"Framework for building high-performance, high-fidelity iOS and Android apps","fork":true,"url":"https://api.github.com/repos/MitchRudominer/flutter","forks_url":"https://api.github.com/repos/MitchRudominer/flutter/forks","keys_url":"https://api.github.com/repos/MitchRudominer/flutter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MitchRudominer/flutter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MitchRudominer/flutter/teams","hooks_url":"https://api.github.com/repos/MitchRudominer/flutter/hooks","issue_events_url":"https://api.github.com/repos/MitchRudominer/flutter/issues/events{/number}","events_url":"https://api.github.com/repos/MitchRudominer/flutter/events","assignees_url":"https://api.github.com/repos/MitchRudominer/flutter/assignees{/user}","branches_url":"https://api.github.com/repos/MitchRudominer/flutter/branches{/branch}","tags_url":"https://api.github.com/repos/MitchRudominer/flutter/tags","blobs_url":"https://api.github.com/repos/MitchRudominer/flutter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MitchRudominer/flutter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MitchRudominer/flutter/git/refs{/sha}","trees_url":"https://api.github.com/repos/MitchRudominer/flutter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MitchRudominer/flutter/statuses/{sha}","languages_url":"https://api.github.com/repos/MitchRudominer/flutter/languages","stargazers_url":"https://api.github.com/repos/MitchRudominer/flutter/stargazers","contributors_url":"https://api.github.com/repos/MitchRudominer/flutter/contributors","subscribers_url":"https://api.github.com/repos/MitchRudominer/flutter/subscribers","subscription_url":"https://api.github.com/repos/MitchRudominer/flutter/subscription","commits_url":"https://api.github.com/repos/MitchRudominer/flutter/commits{/sha}","git_commits_url":"https://api.github.com/repos/MitchRudominer/flutter/git/commits{/sha}","comments_url":"https://api.github.com/repos/MitchRudominer/flutter/comments{/number}","issue_comment_url":"https://api.github.com/repos/MitchRudominer/flutter/issues/comments{/number}","contents_url":"https://api.github.com/repos/MitchRudominer/flutter/contents/{+path}","compare_url":"https://api.github.com/repos/MitchRudominer/flutter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MitchRudominer/flutter/merges","archive_url":"https://api.github.com/repos/MitchRudominer/flutter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MitchRudominer/flutter/downloads","issues_url":"https://api.github.com/repos/MitchRudominer/flutter/issues{/number}","pulls_url":"https://api.github.com/repos/MitchRudominer/flutter/pulls{/number}","milestones_url":"https://api.github.com/repos/MitchRudominer/flutter/milestones{/number}","notifications_url":"https://api.github.com/repos/MitchRudominer/flutter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MitchRudominer/flutter/labels{/name}","releases_url":"https://api.github.com/repos/MitchRudominer/flutter/releases{/id}","deployments_url":"https://api.github.com/repos/MitchRudominer/flutter/deployments","created_at":"2016-05-15T21:29:41Z","updated_at":"2016-05-15T21:29:45Z","pushed_at":"2016-05-17T23:03:42Z","git_url":"git://github.com/MitchRudominer/flutter.git","ssh_url":"git@github.com:MitchRudominer/flutter.git","clone_url":"https://github.com/MitchRudominer/flutter.git","svn_url":"https://github.com/MitchRudominer/flutter","homepage":"http://flutter.io","size":17387,"stargazers_count":0,"watchers_count":0,"language":"Dart","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":"flutter:master","ref":"master","sha":"0dafe1a480d063e822c0af1a5b533fc497bbe8d2","user":{"login":"flutter","id":14101776,"avatar_url":"https://avatars.githubusercontent.com/u/14101776?v=3","gravatar_id":"","url":"https://api.github.com/users/flutter","html_url":"https://github.com/flutter","followers_url":"https://api.github.com/users/flutter/followers","following_url":"https://api.github.com/users/flutter/following{/other_user}","gists_url":"https://api.github.com/users/flutter/gists{/gist_id}","starred_url":"https://api.github.com/users/flutter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flutter/subscriptions","organizations_url":"https://api.github.com/users/flutter/orgs","repos_url":"https://api.github.com/users/flutter/repos","events_url":"https://api.github.com/users/flutter/events{/privacy}","received_events_url":"https://api.github.com/users/flutter/received_events","type":"Organization","site_admin":false},"repo":{"id":31792824,"name":"flutter","full_name":"flutter/flutter","owner":{"login":"flutter","id":14101776,"avatar_url":"https://avatars.githubusercontent.com/u/14101776?v=3","gravatar_id":"","url":"https://api.github.com/users/flutter","html_url":"https://github.com/flutter","followers_url":"https://api.github.com/users/flutter/followers","following_url":"https://api.github.com/users/flutter/following{/other_user}","gists_url":"https://api.github.com/users/flutter/gists{/gist_id}","starred_url":"https://api.github.com/users/flutter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flutter/subscriptions","organizations_url":"https://api.github.com/users/flutter/orgs","repos_url":"https://api.github.com/users/flutter/repos","events_url":"https://api.github.com/users/flutter/events{/privacy}","received_events_url":"https://api.github.com/users/flutter/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/flutter/flutter","description":"Framework for building high-performance, high-fidelity iOS and Android apps","fork":false,"url":"https://api.github.com/repos/flutter/flutter","forks_url":"https://api.github.com/repos/flutter/flutter/forks","keys_url":"https://api.github.com/repos/flutter/flutter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/flutter/flutter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/flutter/flutter/teams","hooks_url":"https://api.github.com/repos/flutter/flutter/hooks","issue_events_url":"https://api.github.com/repos/flutter/flutter/issues/events{/number}","events_url":"https://api.github.com/repos/flutter/flutter/events","assignees_url":"https://api.github.com/repos/flutter/flutter/assignees{/user}","branches_url":"https://api.github.com/repos/flutter/flutter/branches{/branch}","tags_url":"https://api.github.com/repos/flutter/flutter/tags","blobs_url":"https://api.github.com/repos/flutter/flutter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/flutter/flutter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/flutter/flutter/git/refs{/sha}","trees_url":"https://api.github.com/repos/flutter/flutter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/flutter/flutter/statuses/{sha}","languages_url":"https://api.github.com/repos/flutter/flutter/languages","stargazers_url":"https://api.github.com/repos/flutter/flutter/stargazers","contributors_url":"https://api.github.com/repos/flutter/flutter/contributors","subscribers_url":"https://api.github.com/repos/flutter/flutter/subscribers","subscription_url":"https://api.github.com/repos/flutter/flutter/subscription","commits_url":"https://api.github.com/repos/flutter/flutter/commits{/sha}","git_commits_url":"https://api.github.com/repos/flutter/flutter/git/commits{/sha}","comments_url":"https://api.github.com/repos/flutter/flutter/comments{/number}","issue_comment_url":"https://api.github.com/repos/flutter/flutter/issues/comments{/number}","contents_url":"https://api.github.com/repos/flutter/flutter/contents/{+path}","compare_url":"https://api.github.com/repos/flutter/flutter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/flutter/flutter/merges","archive_url":"https://api.github.com/repos/flutter/flutter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/flutter/flutter/downloads","issues_url":"https://api.github.com/repos/flutter/flutter/issues{/number}","pulls_url":"https://api.github.com/repos/flutter/flutter/pulls{/number}","milestones_url":"https://api.github.com/repos/flutter/flutter/milestones{/number}","notifications_url":"https://api.github.com/repos/flutter/flutter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/flutter/flutter/labels{/name}","releases_url":"https://api.github.com/repos/flutter/flutter/releases{/id}","deployments_url":"https://api.github.com/repos/flutter/flutter/deployments","created_at":"2015-03-06T22:54:58Z","updated_at":"2016-05-18T12:34:17Z","pushed_at":"2016-05-18T16:01:16Z","git_url":"git://github.com/flutter/flutter.git","ssh_url":"git@github.com:flutter/flutter.git","clone_url":"https://github.com/flutter/flutter.git","svn_url":"https://github.com/flutter/flutter","homepage":"https://flutter.io","size":111500,"stargazers_count":2784,"watchers_count":2784,"language":"Dart","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":292,"mirror_url":null,"open_issues_count":935,"forks":292,"open_issues":935,"watchers":2784,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/flutter/flutter/pulls/3999"},"html":{"href":"https://github.com/flutter/flutter/pull/3999"},"issue":{"href":"https://api.github.com/repos/flutter/flutter/issues/3999"},"comments":{"href":"https://api.github.com/repos/flutter/flutter/issues/3999/comments"},"review_comments":{"href":"https://api.github.com/repos/flutter/flutter/pulls/3999/comments"},"review_comment":{"href":"https://api.github.com/repos/flutter/flutter/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/flutter/flutter/pulls/3999/commits"},"statuses":{"href":"https://api.github.com/repos/flutter/flutter/statuses/8fb636414610a7bc2440e22db90bc9ef9f590405"}}}}