compiler-plugin / arrow.meta.quotes.expression.loopexpression / LoopExpression

LoopExpression

open class LoopExpression<out T : KtLoopExpression> : Scope<T>

A base template destructuring Scope for all KtLoopExpression AST elements

Constructors

<init> A base template destructuring Scope for all KtLoopExpression AST elementsLoopExpression(value: T, body: Scope<KtExpression> = Scope(value.body))

Properties

body val body: Scope<KtExpression>
value open val value: T

Extension Functions

map fun <K : KtElement> Scope<K>.map(f: (K) -> K): Scope<K>
orEmpty fun <K : KtElement> Scope<K>?.orEmpty(): Scope<K>

Inheritors

ForExpression ”"”for ($(param) in $loopRange) $body”””.forclass ForExpression : LoopExpression<KtForExpression>
WhileExpression ”"”while ($condition) $body”””.whileclass WhileExpression : LoopExpression<KtWhileExpression>

Do you like Arrow?

Arrow Org
<