commonMain.com.saveourtool.save.demo.cpg.CpgResult.kt Maven / Gradle / Ivy
The newest version!
package com.saveourtool.save.demo.cpg
import kotlinx.serialization.ExperimentalSerializationApi
import kotlinx.serialization.Serializable
/**
* @property cpgGraph graph obtained from Cpg tool run
* @property query query id SQL request to a NEO4
* @property logs execution logs
*/
@Serializable
@OptIn(ExperimentalSerializationApi::class)
data class CpgResult(
val cpgGraph: CpgGraph,
val query: String,
val logs: List,
) {
companion object {
val empty = CpgResult(CpgGraph.placeholder, "", emptyList())
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy