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
This discussion was converted from issue #1514 on February 09, 2024 10:31.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I try to query all
named_type
nodes (php grammar) like so:(named_type) @named_type
This does not work but querying all
qualified_name
nodes does:(qualified_name) @qualified_name
What is the difference?
My goal is to build a list of all used dependencies (function parameters, return types, object creations).
Btw, example
named_type
queries do not work either:(named_type (name) @type) @type
(named_type (qualified_name) @type) @type
https://github.com/tree-sitter/tree-sitter-php/blob/master/queries/highlights.scm
Thanks in advance 👍
Beta Was this translation helpful? Give feedback.
All reactions