Title: Lexical preserving code attribute and new code list start attribute in callables by sinha108 · Pull Request #135 · codellm-devkit/codeanalyzer-java · GitHub
Open Graph Title: Lexical preserving code attribute and new code list start attribute in callables by sinha108 · Pull Request #135 · codellm-devkit/codeanalyzer-java
X Title: Lexical preserving code attribute and new code list start attribute in callables by sinha108 · Pull Request #135 · codellm-devkit/codeanalyzer-java
Description: Motivation and Context This PR makes two changes. First, it updates the code attribute for callables and initializers to be lexical preserving (thus, not discarding blank lines), which ensures that relative line numbers within a code block with respect to the start of the code block can be used accurately. Second, the PR adds the codeStartLine attribute to callables so that determining the start line of a code block does not require the application of heuristics on callable start line handling the formatting of callable annotations and declaration. How Has This Been Tested? Tested with sample code and checked the updates attributes. Breaking Changes Types of changes Bug fix (non-breaking change which fixes an issue) New feature (non-breaking change which adds functionality) Breaking change (fix or feature that would cause existing functionality to change) Documentation update Checklist I have read the Codellm-Devkit Documentation My code follows the repository's style guidelines New and existing tests pass locally I have added appropriate error handling I have added or updated documentation as needed Additional context
Open Graph Description: Motivation and Context This PR makes two changes. First, it updates the code attribute for callables and initializers to be lexical preserving (thus, not discarding blank lines), which ensures tha...
X Description: Motivation and Context This PR makes two changes. First, it updates the code attribute for callables and initializers to be lexical preserving (thus, not discarding blank lines), which ensures tha...
Opengraph URL: https://github.com/codellm-devkit/codeanalyzer-java/pull/135
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:44c06274-9d49-016b-1bd8-8eb3bdf69840 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | A9DA:1338B6:4A7122:63E407:698E3198 |
| html-safe-nonce | e55b0221ff45990832778a9bd570633c5f030c33eae64f9c6dade9c1f0e7fe47 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOURBOjEzMzhCNjo0QTcxMjI6NjNFNDA3OjY5OEUzMTk4IiwidmlzaXRvcl9pZCI6IjIxNzQxMTQyOTgxMzcwMzEwNjQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | f7221889ac6a84c396123af3edc92285481cb1dec9c46ab094e91275077b8e05 |
| hovercard-subject-tag | pull_request:2555983923 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/codellm-devkit/codeanalyzer-java/pull/135/checks |
| twitter:image | https://avatars.githubusercontent.com/u/2688521?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/2688521?s=400&v=4 |
| og:image:alt | Motivation and Context This PR makes two changes. First, it updates the code attribute for callables and initializers to be lexical preserving (thus, not discarding blank lines), which ensures tha... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | a5632af64f7fed7bff1d6a428d1aca1b94fa7a48f760de2d39d9b1effdbf0082 |
| turbo-cache-control | no-preview |
| go-import | github.com/codellm-devkit/codeanalyzer-java git https://github.com/codellm-devkit/codeanalyzer-java.git |
| octolytics-dimension-user_id | 197800760 |
| octolytics-dimension-user_login | codellm-devkit |
| octolytics-dimension-repository_id | 731300153 |
| octolytics-dimension-repository_nwo | codellm-devkit/codeanalyzer-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 731300153 |
| octolytics-dimension-repository_network_root_nwo | codellm-devkit/codeanalyzer-java |
| turbo-body-classes | logged-out env-production page-responsive full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | df1885ca022c7c5634d3a31e5a91e6a35990d0b7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width