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
If symbol is an open generic symbol, this method will discover all branches that match symbol after type substitutions. For example, if symbol is the original symbol definition, this method will discover all branches that share the same original symbol.
If symbol is a closed generic symbol, then the returned collection will only represent those syntax nodes which reference this closed symbol.
Parameters
symbolISymbol
The generic symbol to find in the tree.
A flattened collection of all branches in the tree that match symbol, regardless of the syntax node. The returned collection will only contain closed generic symbols.