mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
Kotlin: extract operator expression when operator is in method call form
This commit is contained in:
@@ -125,11 +125,11 @@ app/src/main/kotlin/testProject/App.kt:
|
||||
# 0| 1: [ExprStmt] <Expr>;
|
||||
# 0| 0: [AssignExpr] ...=...
|
||||
# 0| 0: [VarAccess] result
|
||||
# 0| 1: [MethodAccess] plus(...)
|
||||
# 0| -1: [MethodAccess] times(...)
|
||||
# 0| -1: [VarAccess] result
|
||||
# 0| 0: [IntegerLiteral] 31
|
||||
# 0| 0: [MethodAccess] hashCode(...)
|
||||
# 0| 1: [AddExpr] ... + ...
|
||||
# 0| 0: [MulExpr] ... * ...
|
||||
# 0| 0: [VarAccess] result
|
||||
# 0| 1: [IntegerLiteral] 31
|
||||
# 0| 1: [MethodAccess] hashCode(...)
|
||||
# 0| -1: [VarAccess] this.language
|
||||
# 0| -1: [ThisAccess] this
|
||||
# 0| 2: [ReturnStmt] return ...
|
||||
|
||||
Reference in New Issue
Block a user