root
root
com.raquo.domtypes.codegen
CanonicalCache
CanonicalDefGroups
CanonicalGenerator
CodeFormatting
DefType
DefType
Def
FinalVal
InlineDef
InlineProtectedDef
LazyVal
OtherDefType
ProtectedDef
Val
SourceRepr
SourceRepr
com.raquo.domtypes.codegen.generators
AttrsTraitGenerator
EventPropsTraitGenerator
PropsTraitGenerator
SourceGenerator
StyleKeywordsTraitGenerator
StylePropsTraitGenerator
TagsTraitGenerator
TraitGenerator
com.raquo.domtypes.common
AttrDef
ComplexKeyDef
EventPropDef
HtmlTagType
KeyDef
PropDef
ReflectedHtmlAttrDef
StyleKeywordDef
StylePropDef
StyleTraitDef
SvgTagType
TagDef
TagType
com.raquo.domtypes.defs.attrs
AriaAttrDefs
HtmlAttrDefs
SvgAttrDefs
com.raquo.domtypes.defs.eventProps
AnimationEventPropDefs
ClipboardEventPropDefs
DocumentOnlyEventPropDefs
ErrorEventPropDefs
FormEventPropDefs
KeyboardEventPropDefs
MediaEventPropDefs
MiscellaneousEventPropDefs
MouseEventPropDefs
PointerEventPropDefs
WindowOnlyEventPropDefs
com.raquo.domtypes.defs.props
PropDefs
com.raquo.domtypes.defs.reflectedAttrs
ReflectedHtmlAttrDefs
com.raquo.domtypes.defs.styles
StyleDefs
implNames
valueTraits
valueTypes
valueUnits
StylePropDefs
StyleTraitDefs
com.raquo.domtypes.defs.tags
DocumentTagDefs
EmbedTagDefs
FormTagDefs
GroupingTagDefs
MiscTagDefs
SectionTagDefs
SvgTagDefs
TableTagDefs
TextTagDefs
root
/
com.raquo.domtypes.codegen.generators
/
TraitGenerator
TraitGenerator
abstract
class
TraitGenerator
[
Def
](
format:
CodeFormatting
)
extends
SourceGenerator
Graph
Supertypes
Known subtypes
class
SourceGenerator
trait
SourceRepr
class
Object
trait
Matchable
class
Any
class
AttrsTraitGenerator
class
EventPropsTraitGenerator
class
PropsTraitGenerator
class
StyleKeywordsTraitGenerator
class
StylePropsTraitGenerator
class
TagsTraitGenerator
Value members
Value members
Abstract methods
protected
def
printDef
(
keyDef:
Def
,
alias:
Option
[
String
]):
Unit
protected
def
printImplDefs
():
Unit
Concrete methods
protected
def
commentLinesWithDocs
(
commentLines:
List
[
String
],
docUrls:
List
[
String
]):
List
[
String
]
def
distinctByImpl
[
A
](
implName:
String
,
f:
Def
=>
A
):
List
[
A
]
def
distinctImplNames
():
List
[
String
]
protected
def
printAfterAllDefs
():
Unit
protected
def
printAfterDef
():
Unit
protected
def
printAfterDefGroupComments
(
keyDef:
Def
):
Unit
protected
def
printBeforeAllDefs
():
Unit
protected
def
printBeforeDef
():
Unit
protected
def
printBeforeDefGroupComments
(
keyDef:
Def
):
Unit
protected
def
printDefGroupComment
(
keyDef:
Def
):
Unit
def
printTrait
():
TraitGenerator
.this.type
protected
def
printTraitDef
(
inside:
=>
Unit
):
Unit
def
uniqueValueForImpl
[
A
](
implName:
String
,
f:
Def
=>
A
,
clue:
String
):
A
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
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
Abstract fields
protected
val
defAliases
:
Def
=>
List
[
String
]
protected
val
defGroupComments
:
Def
=>
List
[
String
]
protected
val
defs
:
List
[
Def
]
protected
val
headerLines
:
List
[
String
]
protected
val
keyImplName
:
Def
=>
String
protected
val
outputImplDefs
:
Boolean
protected
val
traitCommentLines
:
List
[
String
]
protected
val
traitExtends
:
List
[
String
]
protected
val
traitModifiers
:
List
[
String
]
protected
val
traitName
:
String
protected
val
traitThisType
:
Option
[
String
]