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 syntax and internal representation for interfaces #657

Closed ByteWolf-dev closed 2 months ago

ByteWolf-dev commented 2 months ago

What type of change does this PR perform?

Summary

This PR was created so that the User could use Interfaces with Methods and primitive types as methods

Detailed Changelog

Not present for website/docs changes

Added

Does this PR create new warnings?

None.

Linked issues or PRs

codecov[bot] commented 2 months ago

Codecov Report

Attention: Patch coverage is 90.03215% with 31 lines in your changes missing coverage. Please review.

Project coverage is 82.58%. Comparing base (9c14786) to head (c213777).

Files Patch % Lines
...method-declaration/interface-method-declaration.ts 81.08% 6 Missing and 1 partial :warning:
...erty-declaration/interface-property-declaration.ts 74.07% 6 Missing and 1 partial :warning:
kipper/core/src/compiler/ast/ast-generator.ts 90.00% 3 Missing and 2 partials :warning:
kipper/target-js/src/code-generator.ts 42.85% 4 Missing :warning:
...mary-expression/object-property/object-property.ts 0.00% 3 Missing :warning:
...es/statements/switch-statement/switch-statement.ts 0.00% 3 Missing :warning:
...ion/interface-declaration/interface-declaration.ts 77.77% 1 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## dev-next #657 +/- ## ============================================ - Coverage 82.62% 82.58% -0.04% ============================================ Files 247 253 +6 Lines 4143 4273 +130 Branches 453 457 +4 ============================================ + Hits 3423 3529 +106 - Misses 584 604 +20 - Partials 136 140 +4 ```

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