Skip to content
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

Add support for Interface Inheritance #5

Open
oeysteinhansen opened this issue Oct 3, 2017 · 2 comments
Open

Add support for Interface Inheritance #5

oeysteinhansen opened this issue Oct 3, 2017 · 2 comments

Comments

@oeysteinhansen
Copy link

module Example {
interface base { };
interface derived : base { }
};

I have tried to do a start. Se attatched diff.
patch_interface_20171003.txt

Not sure how this integrates with the rest of idl_parser.

@oeysteinhansen
Copy link
Author

Here are som unittests for testing the Interface Inheritance stuff.

unittests_for_interface_inheritance.txt

@sugarsweetrobotics
Copy link
Owner

Thank you very much for your great contribution. I added implementation for interface inheritance/generalization by my hands. If you had any suggestion, please let me know.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants