JsonSerializeAsProduct

io.shiftleft.semanticcpg.language.Steps.JsonSerializeAsProduct
trait JsonSerializeAsProduct extends Product

Marker trait that allows us to selectively serialize types using the accessors from Product: productElement, productElementName etc. We do not want to define a serializer format for all Products, because that would include many stdlib classes like List, for which have better suited formats exist already. See StepsTest.scala for more details and examples.

Attributes

Graph
Supertypes
trait Product
trait Equals
class Object
trait Matchable
class Any
Known subtypes
class LazyLocation

Members list

Value members

Inherited methods

def productElementName(n: Int): String

Attributes

Inherited from:
Product
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def productPrefix: String

Attributes

Inherited from:
Product

Inherited and Abstract methods

def canEqual(that: Any): Boolean

Attributes

Inherited from:
Equals
def productArity: Int

Attributes

Inherited from:
Product
def productElement(n: Int): Any

Attributes

Inherited from:
Product