Package dev.petuska.klip.api

Types

Link copied to clipboard
data class KlipContext(    val path: String,     val key: String,     val update: Boolean,     val serverUrl: String)

A container to pass in compiler-plugin data

Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.FUNCTION])
annotation class Klippable

Annotation to mark functions to be picked up by the compiler plugin. If marked function contains optionally nullable KlipContext type argument, it will be injected by the compiler. Otherwise, an additional KlipContext parameter will be prepended at the very start of the call arguments list.

Properties

Link copied to clipboard
val KlippableStub: Nothing