Skip to content

Commit bfa20fb

Browse files
committed
Add generated files.
1 parent b8b8970 commit bfa20fb

7 files changed

Lines changed: 9 additions & 9 deletions

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ object Properties {
152152
/** Specifies an index, e.g., for a parameter or argument. Explicit parameters are numbered from 1 to N, while index 0
153153
* is reserved for implicit self / this parameter.
154154
*/
155-
val Index = flatgraph.SinglePropertyKey[Int](kind = 26, name = "INDEX", default = -1: Int)
155+
val Index = flatgraph.SinglePropertyKey[Int](kind = 26, name = "INDEX", default = -2: Int)
156156

157157
/** The static types a TYPE_DECL inherits from. This property is matched against the FULL_NAME of TYPE nodes and thus
158158
* it is required to have at least one TYPE node for each TYPE_FULL_NAME

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ object PropertyDefaults {
1414
val Filename = "<empty>"
1515
val FullName = "<empty>"
1616
val GenericSignature = "<empty>"
17-
val Index = -1: Int
17+
val Index = -2: Int
1818
val IsExternal = false
1919
val IsVariadic = false
2020
val Key = "<empty>"

domainClasses/src/main/generated/io/shiftleft/codepropertygraph/generated/accessors/Accessors.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ object Accessors {
182182
nodeKind = node.nodeKind,
183183
propertyKind = 26,
184184
seq = node.seq(),
185-
default = -1: Int
185+
default = -2: Int
186186
)
187187
}
188188
final class AccessPropertyInheritsFromTypeFullName(val node: nodes.StoredNode) extends AnyVal {

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ trait MethodParameterInBase
3434
val tmpDynamicTypeHintFullName = this.dynamicTypeHintFullName;
3535
if (tmpDynamicTypeHintFullName.nonEmpty) res.put("DYNAMIC_TYPE_HINT_FULL_NAME", tmpDynamicTypeHintFullName)
3636
if (("<empty>": String) != this.evaluationStrategy) res.put("EVALUATION_STRATEGY", this.evaluationStrategy)
37-
if ((-1: Int) != this.index) res.put("INDEX", this.index)
37+
if ((-2: Int) != this.index) res.put("INDEX", this.index)
3838
if ((false: Boolean) != this.isVariadic) res.put("IS_VARIADIC", this.isVariadic)
3939
this.lineNumber.foreach { p => res.put("LINE_NUMBER", p) }
4040
if (("<empty>": String) != this.name) res.put("NAME", this.name)
@@ -72,7 +72,7 @@ object MethodParameterIn {
7272
* passed by value, that is, a copy is made, 3) `BY_SHARING` the parameter is a pointer/reference and it is shared with
7373
* the caller/callee. While a copy of the pointer is made, a copy of the object that it points to is not made.
7474
*
75-
* ▸ Index (Int); Cardinality `one` (mandatory with default value `-1`); Specifies an index, e.g., for a parameter or
75+
* ▸ Index (Int); Cardinality `one` (mandatory with default value `-2`); Specifies an index, e.g., for a parameter or
7676
* argument. Explicit parameters are numbered from 1 to N, while index 0 is reserved for implicit self / this
7777
* parameter.
7878
*

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ trait MethodParameterOutBase
2828
if (("<empty>": String) != this.code) res.put("CODE", this.code)
2929
this.columnNumber.foreach { p => res.put("COLUMN_NUMBER", p) }
3030
if (("<empty>": String) != this.evaluationStrategy) res.put("EVALUATION_STRATEGY", this.evaluationStrategy)
31-
if ((-1: Int) != this.index) res.put("INDEX", this.index)
31+
if ((-2: Int) != this.index) res.put("INDEX", this.index)
3232
if ((false: Boolean) != this.isVariadic) res.put("IS_VARIADIC", this.isVariadic)
3333
this.lineNumber.foreach { p => res.put("LINE_NUMBER", p) }
3434
if (("<empty>": String) != this.name) res.put("NAME", this.name)
@@ -58,7 +58,7 @@ object MethodParameterOut {
5858
* passed by value, that is, a copy is made, 3) `BY_SHARING` the parameter is a pointer/reference and it is shared with
5959
* the caller/callee. While a copy of the pointer is made, a copy of the object that it points to is not made.
6060
*
61-
* ▸ Index (Int); Cardinality `one` (mandatory with default value `-1`); Specifies an index, e.g., for a parameter or
61+
* ▸ Index (Int); Cardinality `one` (mandatory with default value `-2`); Specifies an index, e.g., for a parameter or
6262
* argument. Explicit parameters are numbered from 1 to N, while index 0 is reserved for implicit self / this
6363
* parameter.
6464
*

domainClasses/src/main/generated/io/shiftleft/codepropertygraph/generated/nodes/NewMethodParameterIn.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2399,7 +2399,7 @@ class NewMethodParameterIn
23992399
var columnNumber: Option[Int] = None
24002400
var dynamicTypeHintFullName: IndexedSeq[String] = ArraySeq.empty
24012401
var evaluationStrategy: String = "<empty>": String
2402-
var index: Int = -1: Int
2402+
var index: Int = -2: Int
24032403
var isVariadic: Boolean = false: Boolean
24042404
var lineNumber: Option[Int] = None
24052405
var name: String = "<empty>": String

domainClasses/src/main/generated/io/shiftleft/codepropertygraph/generated/nodes/NewMethodParameterOut.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2314,7 +2314,7 @@ class NewMethodParameterOut
23142314
var code: String = "<empty>": String
23152315
var columnNumber: Option[Int] = None
23162316
var evaluationStrategy: String = "<empty>": String
2317-
var index: Int = -1: Int
2317+
var index: Int = -2: Int
23182318
var isVariadic: Boolean = false: Boolean
23192319
var lineNumber: Option[Int] = None
23202320
var name: String = "<empty>": String

0 commit comments

Comments
 (0)