mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Rust: Remove Resolvable from the schema.
This commit is contained in:
@@ -252,7 +252,7 @@ class _:
|
||||
attrs: drop
|
||||
|
||||
|
||||
@annotate(MethodCallExpr, replace_bases={Expr: CallExprBase}, add_bases=(Resolvable,), cfg=True)
|
||||
@annotate(MethodCallExpr, replace_bases={Expr: CallExprBase}, cfg=True)
|
||||
class _:
|
||||
"""
|
||||
A method call expression. For example:
|
||||
|
||||
@@ -91,15 +91,7 @@ class Addressable(AstNode):
|
||||
"One of `rustc:<name>`, `repo:<repository>:<name>` or `lang:<name>`.") | rust.detach | ql.internal
|
||||
|
||||
|
||||
class Resolvable(AstNode):
|
||||
"""
|
||||
One of `PathExpr`, `RecordExpr`, `PathPat`, `RecordPat`, `TupleStructPat` or `MethodCallExpr`.
|
||||
"""
|
||||
resolved_path: optional[string] | rust.detach | ql.internal
|
||||
resolved_crate_origin: optional[string] | rust.detach | ql.internal
|
||||
|
||||
|
||||
class PathAstNode(Resolvable):
|
||||
class PathAstNode(AstNode):
|
||||
"""
|
||||
An AST element wrapping a path (`PathExpr`, `RecordExpr`, `PathPat`, `RecordPat`, `TupleStructPat`).
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user