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

Metadata for Structs #401

Merged
merged 158 commits into from
May 15, 2019
Merged

Metadata for Structs #401

merged 158 commits into from
May 15, 2019

Conversation

kythant
Copy link
Collaborator

@kythant kythant commented May 10, 2019

This PR includes the emitting of metadata for structs and the tests for it.

Also includes major refactoring of the meta_idl_reader where I offloaded the push and pop stack logic to the ast_to_st_listener. I also added a xlang_error.h which in the future will be where we will report and store all the syntax and semantic errors that occurs.

kythant and others added 30 commits April 4, 2019 10:02
Make fields private, introduce new type system to allow pointers to types being referenced, add new constructors to represent specific cases, and reorganize classes.
Include const and noexcept modifiers where appropriate.
Add model_ref class to generalize refs. Also, split up members vector in interfaces and classes to three vectors for properties, methods, and events.
Move implementations from cpp files to headers so that auto return types can resolve using just the header.
@devhawk devhawk mentioned this pull request May 13, 2019
@kythant kythant merged commit c6d1834 into user/kythant/parser May 15, 2019
@kythant kythant deleted the kythant/StructMD branch May 15, 2019 20:11
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

Successfully merging this pull request may close these issues.

4 participants