IfSpec

class IfSpec(val condition: ValueSpec, val body: CodeSpec, val elseBody: CodeSpec?) : StatementSpec(source)

Constructors

Link copied to clipboard
constructor(condition: ValueSpec, body: CodeSpec, elseBody: CodeSpec?)

Types

Link copied to clipboard
object Companion
Link copied to clipboard
open class IfSpecBuilder

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun generate(ctx: GenerationContext): String