app.cash.sqldelight.dialects.hsql.grammar.mixins.WindowDefinitionMixin.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hsql-dialect Show documentation
Show all versions of hsql-dialect Show documentation
The HSQL Dialect for SQLDelight
package app.cash.sqldelight.dialects.hsql.grammar.mixins
import com.alecstrong.sql.psi.core.psi.FromQuery
import com.alecstrong.sql.psi.core.psi.QueryElement
import com.alecstrong.sql.psi.core.psi.SqlCompositeElementImpl
import com.intellij.lang.ASTNode
import com.intellij.psi.PsiElement
import com.intellij.psi.util.parentOfType
abstract class WindowDefinitionMixin(node: ASTNode) : SqlCompositeElementImpl(node) {
override fun queryAvailable(child: PsiElement): Collection {
return parentOfType()!!.fromQuery()
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy