Expand description
This module is responsible for resolving paths within rules.
StructsΒ§
- Resolution
Scope π - Resolved
Path π - Resolved
Pattern π - Resolved
Rule π - Resolver π
- Ufcs
Call πInfo
FunctionsΒ§
- is_self π
- path_
contains_ πtype_ arguments - Returns whether
pathor any of its qualifiers contains type arguments. - pick_
node_ πfor_ resolution - Returns a suitable node for resolving paths in the current scope. If we create a scope based on a statement node, then we canβt resolve local variables that were defined in the current scope (only in parent scopes). So we find another node, ideally a child of the statement where local variable resolution is permitted.