summaryrefslogtreecommitdiff
path: root/plugins/kotlin/uast/uast-kotlin-base/src/org/jetbrains/uast/kotlin/kinds/KotlinBinaryExpressionWithTypeKinds.kt
blob: 65c23a26c034160c8f9a9d77ce6ce929093146c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// 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.annotations.ApiStatus
import org.jetbrains.uast.UastBinaryExpressionWithTypeKind

@ApiStatus.Internal
object KotlinBinaryExpressionWithTypeKinds {
    @JvmField
    val NEGATED_INSTANCE_CHECK = UastBinaryExpressionWithTypeKind.InstanceCheck("!is")

    @JvmField
    val SAFE_TYPE_CAST = UastBinaryExpressionWithTypeKind.TypeCast("as?")
}