compiler-plugin / arrow.meta.quotes / processKtFile

processKtFile

inline fun <reified K : KtElement, P : KtElement, S : Scope<K>> processKtFile(file: KtFile, quoteFactory: Factory<P, K, S>, noinline match: K.() -> Boolean, noinline map: S.(K) -> Transform<K>): Pair<KtFile, List<Transform<K>>> fun <K : KtElement, P : KtElement, S : Scope<K>> processKtFile(file: KtFile, on: Class<K>, quoteFactory: Factory<P, K, S>, match: K.() -> Boolean, map: S.(K) -> Transform<K>): Pair<KtFile, List<Transform<K>>> inline fun <reified K : KtElement, reified D : DeclarationDescriptor, P : KtElement, S : TypedScope<K, D>> processKtFile(file: KtFile, quoteFactory: Factory<P, K, D, S>, noinline match: TypedQuoteTemplate<K, D>.() -> Boolean, noinline map: S.(TypedQuoteTemplate<K, D>) -> Transform<K>, noinline mapDescriptor: List<DeclarationDescriptor>.(K) -> D?, descriptors: List<DeclarationDescriptor>): Pair<KtFile, List<Transform<K>>> fun <K : KtElement, D : DeclarationDescriptor, P : KtElement, S : TypedScope<K, D>> processKtFile(file: KtFile, on: Class<K>, quoteFactory: Factory<P, K, D, S>, match: TypedQuoteTemplate<K, D>.() -> Boolean, map: S.(TypedQuoteTemplate<K, D>) -> Transform<K>, mapDescriptor: List<DeclarationDescriptor>.(K) -> D?, descriptors: List<DeclarationDescriptor>): Pair<KtFile, List<Transform<K>>>

Do you like Arrow?

Arrow Org
<