Skip to content

Commit 4044a85

Browse files
authored
upgrade deps (#1790)
1 parent 9d3a2e2 commit 4044a85

File tree

17 files changed

+50
-28
lines changed

17 files changed

+50
-28
lines changed

build.sbt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
name := "codepropertygraph"
22

33
// parsed by project/Versions.scala, updated by updateDependencies.sh
4-
val flatgraphVersion = "0.0.90"
4+
val flatgraphVersion = "0.0.97"
55

66
inThisBuild(
77
List(
88
organization := "io.shiftleft",
9-
scalaVersion := "3.4.2",
9+
scalaVersion := "3.4.3",
1010
resolvers ++= Seq(Resolver.mavenLocal, "Sonatype OSS" at "https://oss.sonatype.org/content/repositories/public"),
1111
packageDoc / publishArtifact := true,
1212
packageSrc / publishArtifact := true,

domainClasses/src/main/generated/io/shiftleft/codepropertygraph/generated/neighboraccessors/Binding.scala

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ final class AccessNeighborsForBinding(val node: nodes.Binding) extends AnyVal {
1616
try { refOut.collectAll[nodes.Method].next() }
1717
catch {
1818
case e: java.util.NoSuchElementException =>
19+
val nodeInfo = String.format("id=%d, (seq=%d)", node.id, node.seq)
1920
throw new flatgraph.SchemaViolationException(
20-
"OUT edge with label REF to an adjacent METHOD is mandatory, but not defined for this BINDING node with seq=" + node.seq,
21+
"OUT edge with label REF to an adjacent METHOD is mandatory, but not defined for this BINDING node with " + nodeInfo,
2122
e
2223
)
2324
}
@@ -34,8 +35,9 @@ final class AccessNeighborsForBinding(val node: nodes.Binding) extends AnyVal {
3435
try { bindsIn.collectAll[nodes.TypeDecl].next() }
3536
catch {
3637
case e: java.util.NoSuchElementException =>
38+
val nodeInfo = String.format("id=%d, (seq=%d)", node.id, node.seq)
3739
throw new flatgraph.SchemaViolationException(
38-
"IN edge with label BINDS to an adjacent TYPE_DECL is mandatory, but not defined for this BINDING node with seq=" + node.seq,
40+
"IN edge with label BINDS to an adjacent TYPE_DECL is mandatory, but not defined for this BINDING node with " + nodeInfo,
3941
e
4042
)
4143
}

domainClasses/src/main/generated/io/shiftleft/codepropertygraph/generated/neighboraccessors/Block.scala

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@ final class AccessNeighborsForBlock(val node: nodes.Block) extends AnyVal {
1111
try { astIn.collectAll[nodes.Block].next() }
1212
catch {
1313
case e: java.util.NoSuchElementException =>
14+
val nodeInfo = String.format("id=%d, (seq=%d)", node.id, node.seq)
1415
throw new flatgraph.SchemaViolationException(
15-
"IN edge with label AST to an adjacent BLOCK is mandatory, but not defined for this BLOCK node with seq=" + node.seq,
16+
"IN edge with label AST to an adjacent BLOCK is mandatory, but not defined for this BLOCK node with " + nodeInfo,
1617
e
1718
)
1819
}
@@ -268,8 +269,9 @@ final class AccessNeighborsForBlock(val node: nodes.Block) extends AnyVal {
268269
try { astIn.collectAll[nodes.Method].next() }
269270
catch {
270271
case e: java.util.NoSuchElementException =>
272+
val nodeInfo = String.format("id=%d, (seq=%d)", node.id, node.seq)
271273
throw new flatgraph.SchemaViolationException(
272-
"IN edge with label AST to an adjacent METHOD is mandatory, but not defined for this BLOCK node with seq=" + node.seq,
274+
"IN edge with label AST to an adjacent METHOD is mandatory, but not defined for this BLOCK node with " + nodeInfo,
273275
e
274276
)
275277
}

domainClasses/src/main/generated/io/shiftleft/codepropertygraph/generated/neighboraccessors/Call.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,9 @@ final class AccessNeighborsForCall(val node: nodes.Call) extends AnyVal {
119119
try { astIn.collectAll[nodes.ControlStructure].next() }
120120
catch {
121121
case e: java.util.NoSuchElementException =>
122+
val nodeInfo = String.format("id=%d, (seq=%d)", node.id, node.seq)
122123
throw new flatgraph.SchemaViolationException(
123-
"IN edge with label AST to an adjacent CONTROL_STRUCTURE is mandatory, but not defined for this CALL node with seq=" + node.seq,
124+
"IN edge with label AST to an adjacent CONTROL_STRUCTURE is mandatory, but not defined for this CALL node with " + nodeInfo,
124125
e
125126
)
126127
}

domainClasses/src/main/generated/io/shiftleft/codepropertygraph/generated/neighboraccessors/FieldIdentifier.scala

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,9 @@ final class AccessNeighborsForFieldIdentifier(val node: nodes.FieldIdentifier) e
3535
try { argumentIn.collectAll[nodes.Call].next() }
3636
catch {
3737
case e: java.util.NoSuchElementException =>
38+
val nodeInfo = String.format("id=%d, (seq=%d)", node.id, node.seq)
3839
throw new flatgraph.SchemaViolationException(
39-
"IN edge with label ARGUMENT to an adjacent CALL is mandatory, but not defined for this FIELD_IDENTIFIER node with seq=" + node.seq,
40+
"IN edge with label ARGUMENT to an adjacent CALL is mandatory, but not defined for this FIELD_IDENTIFIER node with " + nodeInfo,
4041
e
4142
)
4243
}
@@ -48,8 +49,9 @@ final class AccessNeighborsForFieldIdentifier(val node: nodes.FieldIdentifier) e
4849
try { astIn.collectAll[nodes.Call].next() }
4950
catch {
5051
case e: java.util.NoSuchElementException =>
52+
val nodeInfo = String.format("id=%d, (seq=%d)", node.id, node.seq)
5153
throw new flatgraph.SchemaViolationException(
52-
"IN edge with label AST to an adjacent CALL is mandatory, but not defined for this FIELD_IDENTIFIER node with seq=" + node.seq,
54+
"IN edge with label AST to an adjacent CALL is mandatory, but not defined for this FIELD_IDENTIFIER node with " + nodeInfo,
5355
e
5456
)
5557
}
@@ -69,8 +71,9 @@ final class AccessNeighborsForFieldIdentifier(val node: nodes.FieldIdentifier) e
6971
try { cfgOut.collectAll[nodes.Call].next() }
7072
catch {
7173
case e: java.util.NoSuchElementException =>
74+
val nodeInfo = String.format("id=%d, (seq=%d)", node.id, node.seq)
7275
throw new flatgraph.SchemaViolationException(
73-
"OUT edge with label CFG to an adjacent CALL is mandatory, but not defined for this FIELD_IDENTIFIER node with seq=" + node.seq,
76+
"OUT edge with label CFG to an adjacent CALL is mandatory, but not defined for this FIELD_IDENTIFIER node with " + nodeInfo,
7477
e
7578
)
7679
}

domainClasses/src/main/generated/io/shiftleft/codepropertygraph/generated/neighboraccessors/Literal.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,9 @@ final class AccessNeighborsForLiteral(val node: nodes.Literal) extends AnyVal {
9999
try { astIn.collectAll[nodes.ControlStructure].next() }
100100
catch {
101101
case e: java.util.NoSuchElementException =>
102+
val nodeInfo = String.format("id=%d, (seq=%d)", node.id, node.seq)
102103
throw new flatgraph.SchemaViolationException(
103-
"IN edge with label AST to an adjacent CONTROL_STRUCTURE is mandatory, but not defined for this LITERAL node with seq=" + node.seq,
104+
"IN edge with label AST to an adjacent CONTROL_STRUCTURE is mandatory, but not defined for this LITERAL node with " + nodeInfo,
104105
e
105106
)
106107
}

domainClasses/src/main/generated/io/shiftleft/codepropertygraph/generated/neighboraccessors/Member.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,9 @@ final class AccessNeighborsForMember(val node: nodes.Member) extends AnyVal {
3636
try { astIn.collectAll[nodes.TypeDecl].next() }
3737
catch {
3838
case e: java.util.NoSuchElementException =>
39+
val nodeInfo = String.format("id=%d, (seq=%d)", node.id, node.seq)
3940
throw new flatgraph.SchemaViolationException(
40-
"IN edge with label AST to an adjacent TYPE_DECL is mandatory, but not defined for this MEMBER node with seq=" + node.seq,
41+
"IN edge with label AST to an adjacent TYPE_DECL is mandatory, but not defined for this MEMBER node with " + nodeInfo,
4142
e
4243
)
4344
}

domainClasses/src/main/generated/io/shiftleft/codepropertygraph/generated/neighboraccessors/Method.scala

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,8 +257,9 @@ final class AccessNeighborsForMethod(val node: nodes.Method) extends AnyVal {
257257
try { astOut.collectAll[nodes.MethodReturn].next() }
258258
catch {
259259
case e: java.util.NoSuchElementException =>
260+
val nodeInfo = String.format("id=%d, (seq=%d)", node.id, node.seq)
260261
throw new flatgraph.SchemaViolationException(
261-
"OUT edge with label AST to an adjacent METHOD_RETURN is mandatory, but not defined for this METHOD node with seq=" + node.seq,
262+
"OUT edge with label AST to an adjacent METHOD_RETURN is mandatory, but not defined for this METHOD node with " + nodeInfo,
262263
e
263264
)
264265
}
@@ -293,8 +294,9 @@ final class AccessNeighborsForMethod(val node: nodes.Method) extends AnyVal {
293294
try { astOut.collectAll[nodes.Block].next() }
294295
catch {
295296
case e: java.util.NoSuchElementException =>
297+
val nodeInfo = String.format("id=%d, (seq=%d)", node.id, node.seq)
296298
throw new flatgraph.SchemaViolationException(
297-
"OUT edge with label AST to an adjacent BLOCK is mandatory, but not defined for this METHOD node with seq=" + node.seq,
299+
"OUT edge with label AST to an adjacent BLOCK is mandatory, but not defined for this METHOD node with " + nodeInfo,
298300
e
299301
)
300302
}

domainClasses/src/main/generated/io/shiftleft/codepropertygraph/generated/neighboraccessors/MethodParameterIn.scala

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,9 @@ final class AccessNeighborsForMethodParameterIn(val node: nodes.MethodParameterI
8787
try { astIn.collectAll[nodes.Method].next() }
8888
catch {
8989
case e: java.util.NoSuchElementException =>
90+
val nodeInfo = String.format("id=%d, (seq=%d)", node.id, node.seq)
9091
throw new flatgraph.SchemaViolationException(
91-
"IN edge with label AST to an adjacent METHOD is mandatory, but not defined for this METHOD_PARAMETER_IN node with seq=" + node.seq,
92+
"IN edge with label AST to an adjacent METHOD is mandatory, but not defined for this METHOD_PARAMETER_IN node with " + nodeInfo,
9293
e
9394
)
9495
}
@@ -105,8 +106,9 @@ final class AccessNeighborsForMethodParameterIn(val node: nodes.MethodParameterI
105106
try { evalTypeOut.collectAll[nodes.Type].next() }
106107
catch {
107108
case e: java.util.NoSuchElementException =>
109+
val nodeInfo = String.format("id=%d, (seq=%d)", node.id, node.seq)
108110
throw new flatgraph.SchemaViolationException(
109-
"OUT edge with label EVAL_TYPE to an adjacent TYPE is mandatory, but not defined for this METHOD_PARAMETER_IN node with seq=" + node.seq,
111+
"OUT edge with label EVAL_TYPE to an adjacent TYPE is mandatory, but not defined for this METHOD_PARAMETER_IN node with " + nodeInfo,
110112
e
111113
)
112114
}

domainClasses/src/main/generated/io/shiftleft/codepropertygraph/generated/neighboraccessors/MethodParameterOut.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,9 @@ final class AccessNeighborsForMethodParameterOut(val node: nodes.MethodParameter
4949
try { astIn.collectAll[nodes.Method].next() }
5050
catch {
5151
case e: java.util.NoSuchElementException =>
52+
val nodeInfo = String.format("id=%d, (seq=%d)", node.id, node.seq)
5253
throw new flatgraph.SchemaViolationException(
53-
"IN edge with label AST to an adjacent METHOD is mandatory, but not defined for this METHOD_PARAMETER_OUT node with seq=" + node.seq,
54+
"IN edge with label AST to an adjacent METHOD is mandatory, but not defined for this METHOD_PARAMETER_OUT node with " + nodeInfo,
5455
e
5556
)
5657
}

0 commit comments

Comments
 (0)