Skip to content

Adds QNames antiquote production.#726

Open
hypnoticOxbow wants to merge 1 commit intodevelopfrom
feature/add-qnames-antiquote
Open

Adds QNames antiquote production.#726
hypnoticOxbow wants to merge 1 commit intodevelopfrom
feature/add-qnames-antiquote

Conversation

@hypnoticOxbow
Copy link
Copy Markdown
Contributor

@hypnoticOxbow hypnoticOxbow commented Nov 4, 2022

Changes

Adds Antiquote productions for QNames

Documentation

The changes made by this PR are short, and do not require specific documentation as they are small additions to the metatranslation antiquotes.

top.qnames = [id1] ++ id2.qnames;
}

abstract production qNamesError
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This "error" production doesn't actually flow up the errors in msg, since errors doesn't occur on QNames. This production isn't needed anyway, see my comment below.

{
top.unparse = s"$$QNames{${e.unparse}}";
forwards to
qNamesError(
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This can be qNamesSingle(qNameWithTL(qNameError(...), botlNone()) to avoid adding a new "error" production that is only useful here.

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.

2 participants