-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sync #310
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Release v0.15.0
Add workflow_dispatch trigger to ghcr_publish.yml
Update ghcr_publish.yml
- Implemented various methods in `KotlinLexer` to tokenize Kotlin code based on logic - Fixed bug in `trace` method in `minilexer.cr` Signed-off-by: ksg <ksg97031@gmail.com>
- Defined the `AnnotationModel`, `ClassModel`, `MethodModel`, and `FieldModel` classes within the `KotlinParser` class - Implemented various methods for parsing import statements, formal parameters, annotations, classes, class fields, and methods in the `KotlinParser` class Signed-off-by: ksg <ksg97031@gmail.com>
- Updated `print_tokens` method to display token types - Added `trace` method to display parsed data for classes, fields, and methods Signed-off-by: ksg <ksg97031@gmail.com>
Signed-off-by: ksg <ksg97031@gmail.com>
Signed-off-by: ksg <ksg97031@gmail.com>
Signed-off-by: ksg <ksg97031@gmail.com>
Release v0.15.1
Signed-off-by: ksg <ksg97031@gmail.com>
- Fix typos and add missing commas in Kotlin lexer files Signed-off-by: ksg <ksg97031@gmail.com>
Signed-off-by: ksg <ksg97031@gmail.com>
Signed-off-by: ksg <ksg97031@gmail.com>
Signed-off-by: ksg <ksg97031@gmail.com>
- Modified `KotlinLexer` in `src/minilexers/kotlin.cr` - Added new punctuation types in `src/minilexers/kotlin.cr` - Modified `AnalyzerKotlinSpring` in `src/analyzer/analyzers/analyzer_kotlin_spring.cr` - Modified and added methods for parsing Kotlin files in `src/miniparsers/kotlin.cr` Signed-off-by: ksg <ksg97031@gmail.com>
- Fixed a typo and refactored methods in the Kotlin miniparser - Updated punctuation tokens and removed unnecessary tokens in the Kotlin minilexer Signed-off-by: ksg <ksg97031@gmail.com>
- Removed test case for detecting Spring in `pom.xml` and `build.gradle`, added new test case for detecting it in `test.java` - Various methods for parsing Kotlin files including import statements, class declarations, fields, and methods Signed-off-by: ksg <ksg97031@gmail.com>
- Modified the expected endpoints in `kotlin_spring_spec.cr`. Signed-off-by: ksg <ksg97031@gmail.com>
- Add `==` method to the `Param` struct in `src/models/endpoint.cr` Signed-off-by: ksg <ksg97031@gmail.com>
- Modified method to include method parameters when parsing fields from class body - Added support for multiple request mappings in processing method annotations - Implemented support for optional parameters, headers, values, and paths in handling request methods and formats - Added support for Pageable parameters in endpoint parameter extraction - Implemented support for default values in extracting parameter details - Added support for user-defined class fields in adding parameters to user-defined classes Signed-off-by: ksg <ksg97031@gmail.com>
…_spring.cr` - Added parameter `lorem` with value `ipsum` and type `cookie` to `/api/user/{login}` endpoint in `kotlin_spring_spec.cr` - Deleted `pom.xml` file for `kotlin_spring` fixture in `pom.xml` Signed-off-by: ksg <ksg97031@gmail.com>
- Added new support for Spring framework in Kotlin. - Fixed the support status for Spring framework in Java (missed in the previous update). Signed-off-by: ksg <ksg97031@gmail.com>
- :STRING_LITERAL tokens are always two characters or more, so the size condition check is redundant and has been removed. Signed-off-by: ksg <ksg97031@gmail.com>
Signed-off-by: ksg <ksg97031@gmail.com>
- Deleted unnecessary `gradle-wrapper.jar` and `gradle-wrapper.properties` files. Signed-off-by: ksg <ksg97031@gmail.com>
feat: Migrate and Enhance Spring Analyzer for Kotlin (#251)
github-actions
bot
added
📑 documentation
Improvements or additions to documentation
🔎 detector
Issue for Detector
🔬 analyzer
Issue for Analyzer
💊 spec
Issue for test codes
🥢 mini-lexer
Issue for mini-lexer and mini-parser
labels
May 26, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
🔬 analyzer
Issue for Analyzer
🔎 detector
Issue for Detector
📑 documentation
Improvements or additions to documentation
🥢 mini-lexer
Issue for mini-lexer and mini-parser
💊 spec
Issue for test codes
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.