8000 Rust: Add Operation class by geoffw0 · Pull Request #19454 · github/codeql · GitHub
[go: up one dir, main page]

Skip to content

Rust: Add Operation class #19454

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
May 13, 2025
Prev Previous commit
Next Next commit
Rust: Make usage of Impl more consistent with other Impl modules.
  • Loading branch information
geoffw0 committed May 12, 2025
commit a2944cdb61c6af07b7ccd57745c6211648b08d10
4 changes: 2 additions & 2 deletions rust/ql/lib/codeql/rust/elements/Operation.qll
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Provides classes for operations.
*/

import internal.OperationImpl::Impl as OperationImpl
private import internal.OperationImpl
private import codeql.rust.elements.internal.ExprImpl::Impl as ExprImpl

final class Operation = OperationImpl::Operation;
final class Operation = Impl::Operation;
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

private import codeql.rust.elements.internal.generated.BinaryExpr
private import codeql.rust.elements.Operation::OperationImpl as OperationImpl
private import codeql.rust.elements.internal.OperationImpl::Impl as OperationImpl

/**
* INTERNAL: This module contains the customizable definition of `BinaryExpr` and should not
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

private import codeql.rust.elements.internal.generated.PrefixExpr
private import codeql.rust.elements.Operation::OperationImpl as OperationImpl
private import codeql.rust.elements.internal.OperationImpl::Impl as OperationImpl

/**
* INTERNAL: This module contains the customizable definition of `PrefixExpr` and should not
Expand Down
0