From 1cd25da7af36b5fa3a6910d4a2dfe5c160df2341 Mon Sep 17 00:00:00 2001 From: Simon Ogorodnik Date: Thu, 4 Apr 2019 17:21:21 +0300 Subject: [PATCH] FIR scope processors: add function to check is stop on ProcessorAction --- .../fir/tree/src/org/jetbrains/kotlin/fir/scopes/FirScope.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/compiler/fir/tree/src/org/jetbrains/kotlin/fir/scopes/FirScope.kt b/compiler/fir/tree/src/org/jetbrains/kotlin/fir/scopes/FirScope.kt index 654cda24cb3..2facb9b2b84 100644 --- a/compiler/fir/tree/src/org/jetbrains/kotlin/fir/scopes/FirScope.kt +++ b/compiler/fir/tree/src/org/jetbrains/kotlin/fir/scopes/FirScope.kt @@ -62,5 +62,6 @@ enum class ProcessorAction { } } + fun stop() = this == STOP fun next() = this == NEXT }