idea-plugin / arrow.meta.ide.dsl.editor.lineMarker / LineMarkerSyntax / onComposite

onComposite

open fun <A : PsiElement, L : LineMarkerInfo<PsiElement>> PsiElement.onComposite(composite: Class<A>, f: (A) -> L): L?

provides a function f from a Leaf PsiElement

Receiver is the Leaf PsiElement

Do you like Arrow?

Arrow Org
<