idea-plugin / arrow.meta.ide.dsl.utils
code | fun <A> code(a: A): InlineElement |
h1 | fun <A> h1(a: A): BlockElement |
intersectFunction | this extension traverses and collects intersecting KotlinTypes given eq with the returnType of F and all it’s calls in the function body. intersectFunction implements a traversal of depth 1. TODO: add returns with a traversal of depth n by virtue of recursionfun <F : CallableDescriptor> F.intersectFunction(eq: Eq<KotlinType>, ktFunction: KtNamedFunction, types: KotlinBuiltIns.() -> List <KotlinType>): List <KotlinType> |
intersectProperty | this extension traverses and collects intersecting KotlinTypes given eq with the returnType of F and all it’s calls in the initializer of prop. intersectProperty implements a traversal of depth 1. TODO: add returns with a traversal of depth n by virtue of recursionfun <F : CallableDescriptor> F.intersectProperty(eq: Eq<KotlinType>, prop: KtProperty, types: KotlinBuiltIns.() -> List <KotlinType>): List <KotlinType> |
kotlin | fun <A> kotlin(a: A): InlineElement fun kotlin(a: String ): InlineElement |
localQuickFix | fun localQuickFix(message: String , f: Project.(ProblemDescriptor) -> Unit ): LocalQuickFix |
psiFileToMessageLocation | fun psiFileToMessageLocation(file: PsiFile, defaultValue: String ?, lineAndColumn: LineAndColumn): CompilerMessageLocation? |
removeElement | fun <P : PsiElement> removeElement(message: String , element: P): LocalQuickFix |
replaceK | reified PsiElement replacementfun <K : PsiElement> K.replaceK(to: K): K? |
sequenceCalls | fun <K : KtElement> K.sequenceCalls(f: K.(call: Call, resolvedCall: ResolvedCall<*>, ctx: BindingContext) -> Unit ): Unit |
traverseCalls | fun <K : KtElement, A> K.traverseCalls(f: K.(call: Call, resolvedCall: ResolvedCall<*>, ctx: BindingContext) -> A): List <A> |
virtualFileToPath | fun virtualFileToPath(virtualFile: VirtualFile): String |
Do you like Arrow?
✖