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
The question-mark prefixing value (”?value”) tells the tree-builder to inline this branch if it has only one member. In this case, value will always have only one member, and will always be inlined.
Unless I've missed something, this feature is not documented in the grammar reference.
The text was updated successfully, but these errors were encountered:
Indeed it is, I'd missed that. I remembered reading about the feature in the tutorial but when I found a need for it in my grammar and wanted to look at the reference, I naturally found myself going to the grammar reference. Either way, I found the info in the tutorial in the end.
(BTW, I didn't open with this but: great project, thank you very much, it's made something really easy for me :))
I submitted #1381 for a similar reason, though that was just to make the features stand out more in the Tree Construction Reference, rather than add them to the Grammar Reference.
The JSON tutorial states:
Unless I've missed something, this feature is not documented in the grammar reference.
The text was updated successfully, but these errors were encountered: