Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for KaNullConstantValue (0.15 sec)

  1. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/base/KtConstantValueFactory.kt

    import org.jetbrains.kotlin.psi.KtElement
    
    public object KaConstantValueFactory {
        public fun createConstantValue(value: Any?, expression: KtElement? = null): KaConstantValue? = when (value) {
            null -> KaConstantValue.KaNullConstantValue(expression)
            is Boolean -> KaConstantValue.KaBooleanConstantValue(value, expression)
            is Char -> KaConstantValue.KaCharConstantValue(value, expression)
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/base/KtConstantValue.kt

        /**
         * The constant value. The type of this value is always the type specified in its name, i.e, it is `Boolean` for [KaBooleanConstantValue]
         *
         * It is null only for [KaNullConstantValue]
         */
        public abstract val value: Any?
    
        /**
         * Source element from which the value was created. May be null for constants from non-source files.
         */
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 5.3K bytes
    - Viewed (0)
Back to top