Defaults

Common factory surface for built-in scalar variants.

Tapik reuses this shape for different abstractions, such as codecs, headers, and parameters, so the DSL can ask for "the default Int representation" without caring what concrete type is being built.

Parameters

TUnit

representation type used for Kotlin Unit.

TBoolean

representation type used for Boolean values.

TByte

representation type used for Byte values.

TShort

representation type used for Short values.

TInt

representation type used for Int values.

TLong

representation type used for Long values.

TFloat

representation type used for Float values.

TDouble

representation type used for Double values.

TBigInteger

representation type used for BigInteger values.

TBigDecimal

representation type used for BigDecimal values.

TString

representation type used for String values.

TUUID

representation type used for UUID values.

Inheritors

Functions

Link copied to clipboard
abstract fun bigDecimal(name: String): TBigDecimal

Returns the default representation of a BigDecimal value identified by name.

Link copied to clipboard
abstract fun bigInteger(name: String): TBigInteger

Returns the default representation of a BigInteger value identified by name.

Link copied to clipboard
abstract fun boolean(name: String): TBoolean

Returns the default representation of a Boolean value identified by name.

Link copied to clipboard
abstract fun byte(name: String): TByte

Returns the default representation of a Byte value identified by name.

Link copied to clipboard
abstract fun double(name: String): TDouble

Returns the default representation of a Double value identified by name.

Link copied to clipboard
abstract fun float(name: String): TFloat

Returns the default representation of a Float value identified by name.

Link copied to clipboard
abstract fun int(name: String): TInt

Returns the default representation of an Int value identified by name.

Link copied to clipboard
abstract fun long(name: String): TLong

Returns the default representation of a Long value identified by name.

Link copied to clipboard
abstract fun short(name: String): TShort

Returns the default representation of a Short value identified by name.

Link copied to clipboard
abstract fun string(name: String): TString

Returns the default representation of a String value identified by name.

Link copied to clipboard
abstract fun unit(name: String): TUnit

Returns the default representation of a Unit value identified by name.

Link copied to clipboard
abstract fun uuid(name: String): TUUID

Returns the default representation of a UUID value identified by name.