Skip to content

Commit 75bb125

Browse files
author
Johannes Coetzee
authored
Add MATCH to control structure types (#1673)
1 parent a88d2a1 commit 75bb125

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

  • schema/src/main/scala/io/shiftleft/codepropertygraph/schema

schema/src/main/scala/io/shiftleft/codepropertygraph/schema/Ast.scala

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,9 @@ object Ast extends SchemaBase {
348348
Constant(name = "TRY", value = "TRY", valueType = ValueType.String, comment = "Represents a try statement")
349349
.protoId(10),
350350
Constant(name = "THROW", value = "THROW", valueType = ValueType.String, comment = "Represents a throw statement")
351-
.protoId(11)
351+
.protoId(11),
352+
Constant(name = "MATCH", value = "MATCH", valueType = ValueType.String, comment = "Represents a match expression")
353+
.protoId(12)
352354
)
353355

354356
val controlStructure: NodeType = builder

0 commit comments

Comments
 (0)