[IR generator] Remove unused suppressPrint property
This commit is contained in:
committed by
Space Team
parent
5981fb3022
commit
314fcc1ad2
-1
@@ -52,7 +52,6 @@ class ElementConfig(
|
||||
var typeKind: TypeKind? = null
|
||||
|
||||
var generationCallback: (TypeSpec.Builder.() -> Unit)? = null
|
||||
var suppressPrint = false
|
||||
var kDoc: String? = null
|
||||
|
||||
override val element get() = this
|
||||
|
||||
-1
@@ -44,7 +44,6 @@ class Element(
|
||||
val fieldsToSkipInIrFactoryMethod = config.fieldsToSkipInIrFactoryMethod
|
||||
|
||||
val generationCallback = config.generationCallback
|
||||
val suppressPrint = config.suppressPrint
|
||||
val propertyName = config.propertyName
|
||||
val kDoc = config.kDoc
|
||||
val additionalImports: List<Import> = config.additionalImports
|
||||
|
||||
-1
@@ -17,7 +17,6 @@ import java.io.File
|
||||
|
||||
fun printElements(generationPath: File, model: Model) = sequence {
|
||||
for (element in model.elements) {
|
||||
if (element.suppressPrint) continue
|
||||
|
||||
val elementName = element.toPoet()
|
||||
val selfParametrizedElementName = element.toPoetSelfParameterized()
|
||||
|
||||
Reference in New Issue
Block a user