Content Code Block
data class ContentCodeBlock(children: List<ContentNode>, language: String, dci: DCI, sourceSets: Set<DisplaySourceSet>, style: Set<Style>, extra: PropertyContainer<ContentNode>) : ContentCode
Content copied to clipboard
Code blocks
Constructors
ContentCodeBlock
Link copied to clipboard
fun ContentCodeBlock(children: List<ContentNode>, language: String, dci: DCI, sourceSets: Set<DisplaySourceSet>, style: Set<Style>, extra: PropertyContainer<ContentNode> = PropertyContainer.empty())
Content copied to clipboard
Functions
component1
Link copied to clipboard
component2
Link copied to clipboard
component3
Link copied to clipboard
component4
Link copied to clipboard
component5
Link copied to clipboard
component6
Link copied to clipboard
copy
Link copied to clipboard
fun copy(children: List<ContentNode>, language: String, dci: DCI, sourceSets: Set<DisplaySourceSet>, style: Set<Style>, extra: PropertyContainer<ContentNode> = PropertyContainer.empty()): ContentCodeBlock
Content copied to clipboard
hasAnyContent
Link copied to clipboard
transformChildren
Link copied to clipboard
open override fun transformChildren(transformer: (ContentNode) -> ContentNode): ContentCodeBlock
Content copied to clipboard
withNewExtras
Link copied to clipboard
open override fun withNewExtras(newExtras: PropertyContainer<ContentNode>): ContentCodeBlock
Content copied to clipboard
withSourceSets
Link copied to clipboard
open override fun withSourceSets(sourceSets: Set<DisplaySourceSet>): ContentCodeBlock
Content copied to clipboard
Properties
children
Link copied to clipboard
extra
Link copied to clipboard
sourceSets
Link copied to clipboard