CompilerOptionsHost

abstract class CompilerOptionsHost(source)

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun flag(name: String, defaultValue: Boolean, description: String): Lazy<CompilerOption.SingularWithDefault<Boolean>>
fun flag(name: String, description: String, required: Boolean = true): Lazy<CompilerOption.Singular<Boolean>>
Link copied to clipboard
fun <K : Any, V : Any> keyed(name: String, valueDescription: String, description: String, required: Boolean = true, transform: (String) -> Pair<K, V>?): Lazy<CompilerOption.Keyed<K, V>>
Link copied to clipboard
fun <T> repeated(name: String, valueDescription: String, description: String, required: Boolean = true, transform: (String) -> T?): Lazy<CompilerOption.Repeated<T>>
Link copied to clipboard
fun repeatedString(name: String, valueDescription: String, description: String, required: Boolean = true): Lazy<CompilerOption.Repeated<String>>
Link copied to clipboard
fun <T> singular(name: String, defaultValue: T, valueDescription: String, description: String, transform: (String) -> T?): Lazy<CompilerOption.SingularWithDefault<T>>
fun <T> singular(name: String, valueDescription: String, description: String, required: Boolean = true, transform: (String) -> T?): Lazy<CompilerOption.Singular<T & Any>>
Link copied to clipboard
fun singularString(name: String, valueDescription: String, description: String, required: Boolean = true): Lazy<CompilerOption.Singular<String>>
fun singularString(name: String, defaultValue: String, valueDescription: String, description: String): Lazy<CompilerOption.SingularWithDefault<String>>