Kipper-Lang / Kipper

The Kipper programming language for Browsers and Node.js 🦊✨ Made at HTL Leonding & JKU Linz
https://kipper-lang.org
GNU General Public License v3.0
26 stars 4 forks source link

Added classes with class properties, class methods and constructors #675

Closed ByteWolf-dev closed 1 month ago

ByteWolf-dev commented 1 month ago

What type of change does this PR perform?

Summary

The AST structure, code analysis and code generation were done for Kipper classes.

Closes #665

Detailed Changelog

Not present for website/docs changes

Added

Does this PR create new warnings?

None.

Linked issues or PRs

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 77.24868% with 43 lines in your changes missing coverage. Please review.

Project coverage is 83.92%. Comparing base (e66fd3c) to head (3036e90).

Files Patch % Lines
kipper/target-js/src/code-generator.ts 61.76% 13 Missing :warning:
...ass-method-declaration/class-method-declaration.ts 79.48% 6 Missing and 2 partials :warning:
...uctor-declaration/class-constructor-declaration.ts 80.00% 7 Missing :warning:
kipper/target-ts/src/code-generator.ts 61.11% 7 Missing :warning:
...property-declaration/class-property-declaration.ts 77.77% 5 Missing and 1 partial :warning:
...declaration/class-declaration/class-declaration.ts 77.77% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## dev-next #675 +/- ## ============================================ - Coverage 83.94% 83.92% -0.02% ============================================ Files 262 270 +8 Lines 4316 4499 +183 Branches 470 478 +8 ============================================ + Hits 3623 3776 +153 - Misses 555 582 +27 - Partials 138 141 +3 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.