Skip to content

Commit f16970b

Browse files
Fix PropertyNames for contained nodes (#1825)
1 parent 5698292 commit f16970b

File tree

2 files changed

+13
-10
lines changed

2 files changed

+13
-10
lines changed

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name := "codepropertygraph"
22

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

66
inThisBuild(
77
List(

domainClasses/src/main/generated/io/shiftleft/codepropertygraph/generated/PropertyNames.scala

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -274,14 +274,17 @@ object PropertyNames {
274274
*/
275275
val Version: String = "VERSION"
276276

277-
/** generic node base trait - use if you want to be explicitly unspecific */
278-
val Anynode: String = "AnyNode"
277+
/** /** This is a contained node */ */
278+
val Evidence: String = "evidence"
279279

280-
/** This node represents a key value pair, where both the key and the value are strings. */
281-
val KeyValuePair: String = "KEY_VALUE_PAIR"
280+
/** /** This is a contained node */ */
281+
val Keyvaluepairs: String = "keyValuePairs"
282282

283-
/** This node represents a tag. */
284-
val Tag: String = "TAG"
283+
/** /** This is a contained node */ */
284+
val Node: String = "node"
285+
286+
/** /** This is a contained node */ */
287+
val Tag: String = "tag"
285288

286289
val All: Set[String] = new HashSet[String](
287290
Seq(
@@ -338,9 +341,9 @@ object PropertyNames {
338341
Value,
339342
Variable,
340343
Version,
341-
Anynode,
342-
KeyValuePair,
343-
Anynode,
344+
Evidence,
345+
Keyvaluepairs,
346+
Node,
344347
Tag
345348
).asJava
346349
)

0 commit comments

Comments
 (0)