StylePropsTraitGenerator

class StylePropsTraitGenerator(val defs: List[StylePropDef], val defGroupComments: StylePropDef => List[String], val headerLines: List[String], val traitCommentLines: List[String], val traitName: String, val traitExtends: List[String], val traitThisType: Option[String], val keyImplName: StylePropDef => String, defType: StylePropDef => DefType, keyKind: String, keyKindAlias: String, setterType: String, setterTypeAlias: String, derivedKeyKind: String, derivedKeyKindAlias: String, baseImplName: String, baseImplDefComments: List[String], baseImplDef: List[String], transformTraitName: String => String, transformUnitTraitName: String => String, val outputImplDefs: Boolean, outputUnitTraits: Boolean, format: CodeFormatting) extends TraitGenerator[StylePropDef]
class Object
trait Matchable
class Any

Value members

Concrete methods

def hasSpecialTraits(implName: String): Boolean
def implDefImpl(implName: String, valueTraits: List[String], valueUnitTraits: List[String], keyKindTypeParam: Option[String], traitsTypeParam: Option[String]): String
def implDefImplName(implName: String, keyKindTypeParam: Option[String]): String
def implDefName(implName: String): String
def implNameIsShared(implName: String): Boolean
def mainKeyType(typeParam: String): String
def printImplDef(implName: String): Unit
def traitTypeMixins(valueTraits: List[String], typeParam: Option[String]): String
def unitTraitTypeMixins(valueUnitTraits: List[String], typeParam: Option[String]): String

Inherited methods

protected def blockCommentLines(commentLines: List[String]): Unit
Inherited from:
SourceGenerator
protected def classParamLine(name: String, option: Option[String]): Unit
Inherited from:
SourceGenerator
protected def classParamLine[A](name: String, list: List[A], renderItem: A => Unit): Unit
Inherited from:
SourceGenerator
protected def classParamLine(name: String, list: List[String]): Unit
Inherited from:
SourceGenerator
protected def classParamLine(name: String, value: Boolean): Unit
Inherited from:
SourceGenerator
protected def classParamLine(name: String, value: TagType): Unit
Inherited from:
SourceGenerator
protected def classParamLine(name: String, value: String): Unit
Inherited from:
SourceGenerator
def clearOutput(): Unit
Inherited from:
SourceGenerator
protected def commentLinesWithDocs(commentLines: List[String], docUrls: List[String]): List[String]
Inherited from:
TraitGenerator
def distinctByImpl[A](implName: String, f: StylePropDef => A): List[A]
Inherited from:
TraitGenerator
def distinctImplNames(): List[String]
Inherited from:
TraitGenerator
protected def enter(prefix: String, suffix: String)(inside: => Unit): Unit
Inherited from:
SourceGenerator
def getOutput(): String

Also clears the output

Also clears the output

Inherited from:
SourceGenerator
protected def line(): Unit
Inherited from:
SourceGenerator
protected def line(strs: String*): Unit
Inherited from:
SourceGenerator
protected def line(str: String): Unit
Inherited from:
SourceGenerator
protected def printAfterAllDefs(): Unit
Inherited from:
TraitGenerator
protected def printAfterDef(): Unit
Inherited from:
TraitGenerator
protected def printAfterDefGroupComments(keyDef: StylePropDef): Unit
Inherited from:
TraitGenerator
protected def printBeforeDef(): Unit
Inherited from:
TraitGenerator
protected def printBeforeDefGroupComments(keyDef: StylePropDef): Unit
Inherited from:
TraitGenerator
protected def printDefGroupComment(keyDef: StylePropDef): Unit
Inherited from:
TraitGenerator
def printTrait(): TraitGenerator.this.type
Inherited from:
TraitGenerator
protected def printTraitDef(inside: => Unit): Unit
Inherited from:
TraitGenerator
def uniqueValueForImpl[A](implName: String, f: StylePropDef => A, clue: String): A
Inherited from:
TraitGenerator

Concrete fields

lazy val distinctValueTypesByImplName: Map[String, List[String]]
lazy val valueTraitsByImplName: Map[String, List[String]]
lazy val valueUnitTraitsByImplName: Map[String, List[String]]