compiler-plugin / arrow.meta.quotes / ScopedList

ScopedList

data class ScopedList<K : KtElement>

Constructors

<init> ScopedList(value: List<K>, prefix: String = "", separator: String = ", ", postfix: String = "", forceRenderSurroundings: Boolean = false, transform: (K) -> String = { it.text })

Properties

forceRenderSurroundings val forceRenderSurroundings: Boolean
postfix val postfix: String
prefix val prefix: String
separator val separator: String
transform val transform: (K) -> String
value val value: List<K>

Functions

isEmpty fun isEmpty(): Boolean
toString fun toString(): String
toStringList fun toStringList(): List<String>

Companion Object Functions

empty fun <K : KtElement> empty(): ScopedList<K>

Extension Properties

destructured val ScopedList<KtParameter>.destructured: String
tupled val ScopedList<KtParameter>.tupled: String
tupledType val ScopedList<KtParameter>.tupledType: String

Extension Functions

fold fun <A, K : KtElement> ScopedList<K>.fold(a: A, f: (A, K) -> A): A
foldIndexed fun <A, K : KtElement> ScopedList<K>.foldIndexed(a: A, f: (Int, A, K) -> A): A
invariant fun ScopedList<KtTypeParameter>.invariant(constrained: Boolean = false): String
map fun <K : KtElement> ScopedList<K>.map(f: (K) -> K?): ScopedList<K>
plus operator fun <K : KtElement> ScopedList<K>.plus(k: ScopedList<K>): ScopedList<K>
operator fun <K : KtElement> ScopedList<K>.plus(k: Scope<K>): ScopedList<K>

Do you like Arrow?

Arrow Org
<