Skip to content

Commit

Permalink
add location to BinaryOperator.toString() (#1852)
Browse files Browse the repository at this point in the history
  • Loading branch information
maximiliankaul authored Nov 19, 2024
1 parent bf8a497 commit 3a430fc
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
package de.fraunhofer.aisec.cpg.graph.statements.expressions

import de.fraunhofer.aisec.cpg.frontends.TranslationException
import de.fraunhofer.aisec.cpg.graph.*
import de.fraunhofer.aisec.cpg.graph.ArgumentHolder
import de.fraunhofer.aisec.cpg.graph.HasOverloadedOperation
import de.fraunhofer.aisec.cpg.graph.edges.ast.astEdgeOf
import de.fraunhofer.aisec.cpg.graph.edges.unwrapping
import de.fraunhofer.aisec.cpg.graph.types.HasType
Expand Down Expand Up @@ -81,6 +82,7 @@ open class BinaryOperator :
.append("lhs", lhs.name)
.append("rhs", rhs.name)
.append("operatorCode", operatorCode)
.append("location", location)
.toString()
}

Expand Down

0 comments on commit 3a430fc

Please sign in to comment.