mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Rust: extract some resolved paths
This commit is contained in:
@@ -71,3 +71,11 @@ class Callable(AstNode):
|
||||
"""
|
||||
param_list: optional["ParamList"] | child
|
||||
attrs: list["Attr"] | child
|
||||
|
||||
|
||||
class Resolvable(AstNode):
|
||||
"""
|
||||
Either a `Path`, or a `MethodCallExpr`.
|
||||
"""
|
||||
resolved_path: optional[string] | rust.detach | ql.internal
|
||||
resolved_crate_origin: optional[string] | rust.detach | ql.internal
|
||||
|
||||
Reference in New Issue
Block a user