Migrate ReadWriteAccess and checker logic (from frontend-independent)

This commit is contained in:
Jinseong Jeon
2021-08-26 11:41:13 -07:00
committed by Ilya Kirillov
parent 01272cace3
commit cd4a08cb18
2 changed files with 55 additions and 3 deletions
@@ -0,0 +1,15 @@
/*
* Copyright 2010-2021 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.resolve.references
enum class ReferenceAccess(
val isRead: Boolean,
val isWrite: Boolean
) {
READ(true, false),
WRITE(false, true),
READ_WRITE(true, true)
}