I'm fiddling with the "Script Constraints" part of the "Search Structurally" and I'm surprised not just by the apparent lack of documentation, but also lack of examples on the topic.
The few examples of script constraints out there come from this forum, and sport references to __context__ variables and API that deal with the PSI tree that seem overkill for most common tasks.
Is there an authoritative source of information? Something that could explain, for instance, why I have to use "variable.name" in some cases, and "variable.text" in others.
Thank you in advance!