-
Notifications
You must be signed in to change notification settings - Fork 62
feat: Polymorphism (Classes and Function Blocks) #1493
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
Open
volsa
wants to merge
28
commits into
master
Choose a base branch
from
vosa/polymorphism
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
bcf1489
fix: build script for macOS development
volsa dc4097c
test: Integration tests
volsa a0d3bf1
chore: Add Makefile
volsa 3f7551c
resolver: Annotate function pointers
volsa 7d2d504
codegen: Index function types
volsa af3f440
resolver: Annotate named arguments in function pointer call
volsa 892ce11
resolver: Register dependencies to parent POUs
volsa 77827dc
codegen: Generate function pointer calls
volsa d36784c
resolver: Fix type-hint annotation of function pointer arguments
volsa dc9efe7
chore: clippy
volsa 1b5843b
codegen: Convert logging of module IR generation from debug to trace …
volsa 0f33daa
test: Fix remaining tests
volsa 58c2a1e
test: Add test using `THIS^`
volsa 2647f98
fix: annotate whole call statement
volsa cd6dcc0
fix: Function pointer to function block body
volsa c8fd17d
vtable: Generate struct definition and global instances
volsa 23ffab7
test: fix failing tests introduced with previous commit
volsa d9d58f8
test: add some integration tests
volsa b23232d
feat: Desugaring of polymorphic method calls
volsa ec0b5e3
fix: Initialize __vtable member field
volsa 27a06a5
chore: Fix rebase
volsa 213376f
fix: Polymorphic function block calls
volsa f84e98f
feat: Support REF_TO and REFERENCE TO
volsa 7b5c6f5
chore: merge master
volsa f08c2db
test: Fix incorrect code in unit test
volsa 68cdbf7
refactor: self-review
volsa 44a4401
test: Add function block body method to external C file
volsa a8533ec
docs: Mark rustdoc codeblocks as text
volsa File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,4 +8,5 @@ pub mod literals; | |
pub mod mut_visitor; | ||
mod pre_processor; | ||
pub mod provider; | ||
pub mod ser; | ||
pub mod visitor; |
This file contains hidden or 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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we rename these base-helpers to give it more context?
get_base_reference_expr
and add a documentation.