TagsTraitGenerator

com.raquo.domtypes.codegen.generators.TagsTraitGenerator
class TagsTraitGenerator(val defs: List[TagDef], val defGroupComments: TagDef => List[String], val headerLines: List[String], val traitCommentLines: List[String], val traitModifiers: List[String], val traitName: String, val traitExtends: List[String], val traitThisType: Option[String], val keyImplName: TagDef => String, val keyImplNameArgName: String, defType: TagDef => DefType, keyType: TagDef => String, val outputImplDefs: Boolean, baseImplDefComments: List[String], baseImplDef: List[String], format: CodeFormatting) extends TraitGenerator[TagDef]

Attributes

Graph
Supertypes
trait SourceRepr
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def impl(keyDef: TagDef): String

Inherited methods

protected def blockCommentLines(commentLines: List[String]): Unit

Attributes

Inherited from:
SourceGenerator
protected def classParamLine(name: String, option: Option[String]): Unit

Attributes

Inherited from:
SourceGenerator
protected def classParamLine[A](name: String, list: List[A], renderItem: A => Unit): Unit

Attributes

Inherited from:
SourceGenerator
protected def classParamLine(name: String, list: List[String]): Unit

Attributes

Inherited from:
SourceGenerator
protected def classParamLine(name: String, value: Boolean): Unit

Attributes

Inherited from:
SourceGenerator
protected def classParamLine(name: String, value: TagType): Unit

Attributes

Inherited from:
SourceGenerator
protected def classParamLine(name: String, value: String): Unit

Attributes

Inherited from:
SourceGenerator
def clearOutput(): Unit

Attributes

Inherited from:
SourceGenerator
protected def commentLinesWithDocs(commentLines: List[String], scalaAliases: List[String], docUrls: List[String]): List[String]

Attributes

Inherited from:
TraitGenerator
def distinctByImpl[A](implName: String, f: TagDef => A): List[A]

Attributes

Inherited from:
TraitGenerator
def distinctImplNames(): List[String]

Attributes

Inherited from:
TraitGenerator
protected def enter(prefix: String, suffix: String)(inside: => Unit): Unit

Attributes

Inherited from:
SourceGenerator
def getOutput(): String

Also clears the output

Also clears the output

Attributes

Inherited from:
SourceGenerator
protected def line(): Unit

Attributes

Inherited from:
SourceGenerator
protected def line(strs: String*): Unit

Attributes

Inherited from:
SourceGenerator
protected def line(str: String): Unit

Attributes

Inherited from:
SourceGenerator
protected def printAfterAllDefs(): Unit

Attributes

Inherited from:
TraitGenerator
protected def printAfterDef(): Unit

Attributes

Inherited from:
TraitGenerator
protected def printAfterDefGroupComments(keyDef: TagDef): Unit

Attributes

Inherited from:
TraitGenerator
protected def printBeforeAllDefs(): Unit

Attributes

Inherited from:
TraitGenerator
protected def printBeforeDef(): Unit

Attributes

Inherited from:
TraitGenerator
protected def printBeforeDefGroupComments(keyDef: TagDef): Unit

Attributes

Inherited from:
TraitGenerator
protected def printDefGroupComment(keyDef: TagDef): Unit

Attributes

Inherited from:
TraitGenerator
def printTrait(): TraitGenerator.this.type

Attributes

Inherited from:
TraitGenerator
protected def printTraitDef(inside: => Unit): Unit

Attributes

Inherited from:
TraitGenerator
def uniqueValueForImpl[A](implName: String, f: TagDef => A, clue: String): A

Attributes

Inherited from:
TraitGenerator