{"action":"created","issue":{"url":"https://api.github.com/repos/ariatemplates/ariatemplates/issues/1627","repository_url":"https://api.github.com/repos/ariatemplates/ariatemplates","labels_url":"https://api.github.com/repos/ariatemplates/ariatemplates/issues/1627/labels{/name}","comments_url":"https://api.github.com/repos/ariatemplates/ariatemplates/issues/1627/comments","events_url":"https://api.github.com/repos/ariatemplates/ariatemplates/issues/1627/events","html_url":"https://github.com/ariatemplates/ariatemplates/pull/1627","id":147748906,"number":1627,"title":"Template parser and class generator improvements for tools","user":{"login":"divdavem","id":1152706,"avatar_url":"https://avatars.githubusercontent.com/u/1152706?v=3","gravatar_id":"","url":"https://api.github.com/users/divdavem","html_url":"https://github.com/divdavem","followers_url":"https://api.github.com/users/divdavem/followers","following_url":"https://api.github.com/users/divdavem/following{/other_user}","gists_url":"https://api.github.com/users/divdavem/gists{/gist_id}","starred_url":"https://api.github.com/users/divdavem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/divdavem/subscriptions","organizations_url":"https://api.github.com/users/divdavem/orgs","repos_url":"https://api.github.com/users/divdavem/repos","events_url":"https://api.github.com/users/divdavem/events{/privacy}","received_events_url":"https://api.github.com/users/divdavem/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"ymeine","id":2077669,"avatar_url":"https://avatars.githubusercontent.com/u/2077669?v=3","gravatar_id":"","url":"https://api.github.com/users/ymeine","html_url":"https://github.com/ymeine","followers_url":"https://api.github.com/users/ymeine/followers","following_url":"https://api.github.com/users/ymeine/following{/other_user}","gists_url":"https://api.github.com/users/ymeine/gists{/gist_id}","starred_url":"https://api.github.com/users/ymeine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ymeine/subscriptions","organizations_url":"https://api.github.com/users/ymeine/orgs","repos_url":"https://api.github.com/users/ymeine/repos","events_url":"https://api.github.com/users/ymeine/events{/privacy}","received_events_url":"https://api.github.com/users/ymeine/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2016-04-12T13:19:32Z","updated_at":"2016-04-13T16:17:33Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ariatemplates/ariatemplates/pulls/1627","html_url":"https://github.com/ariatemplates/ariatemplates/pull/1627","diff_url":"https://github.com/ariatemplates/ariatemplates/pull/1627.diff","patch_url":"https://github.com/ariatemplates/ariatemplates/pull/1627.patch"},"body":"This PR improves the template parser and class generator in the following ways:\r\n- the template tree now includes the processed source (which is the reference string for positions provided in the template tree)\r\n- during class generation, most statements now add a \"properties\" property on their corresponding template tree node, to contain the parsed version of their parameters, so that it is possible to avoid code duplication with tools which analyse templates and need those pieces of information too\r\n- the signature of the parseTemplate method in class generators was simplified so that it is easier to add options. The following options were added:\r\n  - parseOnly: if true, the resulting class will not be generated, but the template is still fully parsed, including all statement properties\r\n  - dontLoadWidgetLibs: If true, widget libraries referenced in the template will not be loaded during the class generation process, which is convenient if they are not available at that time. However, as a result, there will probably be missing dependencies in the generated class (but that is especially not a problem when parseOnly is true).\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ariatemplates/ariatemplates/issues/comments/209528716","html_url":"https://github.com/ariatemplates/ariatemplates/pull/1627#issuecomment-209528716","issue_url":"https://api.github.com/repos/ariatemplates/ariatemplates/issues/1627","id":209528716,"user":{"login":"ymeine","id":2077669,"avatar_url":"https://avatars.githubusercontent.com/u/2077669?v=3","gravatar_id":"","url":"https://api.github.com/users/ymeine","html_url":"https://github.com/ymeine","followers_url":"https://api.github.com/users/ymeine/followers","following_url":"https://api.github.com/users/ymeine/following{/other_user}","gists_url":"https://api.github.com/users/ymeine/gists{/gist_id}","starred_url":"https://api.github.com/users/ymeine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ymeine/subscriptions","organizations_url":"https://api.github.com/users/ymeine/orgs","repos_url":"https://api.github.com/users/ymeine/repos","events_url":"https://api.github.com/users/ymeine/events{/privacy}","received_events_url":"https://api.github.com/users/ymeine/received_events","type":"User","site_admin":false},"created_at":"2016-04-13T16:17:33Z","updated_at":"2016-04-13T16:17:33Z","body":"This is good for me, you can integrate it. Btw, these are awesome features :wink: "}}