summaryrefslogtreecommitdiff
path: root/plugins/kotlin/uast/uast-kotlin-base/src/org/jetbrains/uast/kotlin/expressions/KotlinEvaluatableUElement.kt
blob: 50a668aaaa3477f915b70b9ac19f528c0cce5825 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.

package org.jetbrains.uast.kotlin

import org.jetbrains.uast.UExpression

interface KotlinEvaluatableUElement : UExpression {
    val baseResolveProviderService: BaseKotlinUastResolveProviderService

    override fun evaluate(): Any? {
        return baseResolveProviderService.evaluate(this)
    }
}