Companion

object Companion

Functions

Link copied to clipboard
fun from(element: PsiElement, offset: Int = 0): Location

Creates a Location from a PsiElement. If the element can't be determined, the KtFile with a character offset can be used.