AttrsTraitGenerator

class AttrsTraitGenerator(val defs: List[AttrDef], val defGroupComments: AttrDef => List[String], val headerLines: List[String], val traitCommentLines: List[String], val traitName: String, val traitExtends: List[String], val traitThisType: Option[String], val keyImplName: AttrDef => String, defType: AttrDef => DefType, keyKind: String, baseImplDefComments: List[String], baseImplName: String, baseImplDef: List[String], transformCodecName: String => String, namespaceImpl: String => String, val outputImplDefs: Boolean, format: CodeFormatting) extends TraitGenerator[AttrDef]
class Object
trait Matchable
class Any

Value members

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: AttrDef => 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: AttrDef): Unit
Inherited from:
TraitGenerator
protected def printBeforeAllDefs(): Unit
Inherited from:
TraitGenerator
protected def printBeforeDef(): Unit
Inherited from:
TraitGenerator
protected def printBeforeDefGroupComments(keyDef: AttrDef): Unit
Inherited from:
TraitGenerator
protected def printDefGroupComment(keyDef: AttrDef): 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: AttrDef => A, clue: String): A
Inherited from:
TraitGenerator

Concrete fields

lazy val codecByImplName: Map[String, String]
lazy val scalaValueTypeByImplName: Map[String, String]