FIR: Expression typing and simple call resolver

This commit is contained in:
Simon Ogorodnik
2019-02-28 18:27:44 +03:00
parent 28873e61d4
commit 099f98f817
31 changed files with 637 additions and 117 deletions
@@ -0,0 +1,33 @@
/*
* Copyright 2010-2019 JetBrains s.r.o. 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.fir.symbols
import org.jetbrains.kotlin.name.ClassId
import org.jetbrains.kotlin.name.FqName
import org.jetbrains.kotlin.name.Name
object StandardClassIds {
private val BASE_KOTLIN_PACKAGE = FqName("kotlin")
private fun String.baseId() = ClassId(BASE_KOTLIN_PACKAGE, Name.identifier(this))
val Nothing = "Nothing".baseId()
val Any = "Any".baseId()
val Boolean = "Boolean".baseId()
val Char = "Char".baseId()
val Byte = "Byte".baseId()
val Short = "Short".baseId()
val Int = "Int".baseId()
val Long = "Long".baseId()
val String = "String".baseId()
val Float = "Float".baseId()
val Double = "Double".baseId()
}