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

Allow a syntax extension to provide qualifiers and attributes on a decl #2924

Merged
merged 3 commits into from
May 12, 2023

Conversation

nikswamy
Copy link
Collaborator

extension_parser now returns a decl, rather than a decl'.

This allows the extension parser to add attributes (e.g., unintepreted_by_smt) and qualifiers (e.g., irreducible) on the decls it generates.

The typed hook for splices retains the attributes and qualifiers from the enclosing sigelt, if any.

@nikswamy nikswamy merged commit 5f4fcb3 into master May 12, 2023
@nikswamy nikswamy deleted the _nik_extension_attrs branch May 12, 2023 17:22
tahina-pro added a commit that referenced this pull request May 13, 2023
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.

1 participant