You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems like the Extension enter and exit hooks are only called in the EachOf operator. The documentation says (and I agree) that they should be called when arriving at and leaving a TripleConstraint.
Specifically, I'm trying to implement a Ruby version of ShexMap, and it's important to be able to group variable mappings into "domains" that separate repeated bindings of a variable. Eric's JS implementation has a kind of intermediate representation with lists of objects, where the JSON objects are analogous to the domains I'm talking about.
This is mostly an intent-to-PR, but I wanted to be sure that I'm reasoning correctly here and that there isn't a reason that semantic_actions enter and exit aren't called by every TripleConstraint.
The text was updated successfully, but these errors were encountered:
It seems like the Extension
enter
andexit
hooks are only called in theEachOf
operator. The documentation says (and I agree) that they should be called when arriving at and leaving a TripleConstraint.Specifically, I'm trying to implement a Ruby version of ShexMap, and it's important to be able to group variable mappings into "domains" that separate repeated bindings of a variable. Eric's JS implementation has a kind of intermediate representation with lists of objects, where the JSON objects are analogous to the domains I'm talking about.
This is mostly an intent-to-PR, but I wanted to be sure that I'm reasoning correctly here and that there isn't a reason that semantic_actions
enter
andexit
aren't called by every TripleConstraint.The text was updated successfully, but these errors were encountered: