Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for ConstantType (0.56 sec)

  1. platforms/core-configuration/declarative-dsl-tooling-models/src/main/kotlin/org/gradle/declarative/dsl/schema/DataType.kt

            BooleanDataType::class,
        ])
        sealed interface ConstantType<JvmType> : DataType {
            val constantType: Class<*>
        }
    
        interface IntDataType : ConstantType<Int>
        interface LongDataType : ConstantType<Long>
        interface StringDataType : ConstantType<String>
        interface BooleanDataType : ConstantType<Boolean>
    
        // TODO: implement nulls?
        interface NullType : DataType
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:47 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/language/DataTypeInternal.kt

            override val constantType: Class<Int> = Int::class.java
            override fun toString(): String = "Int"
            private
            fun readResolve(): Any = DefaultIntDataType
        }
    
        @Serializable
        @SerialName("long")
        data object DefaultLongDataType : DataType.LongDataType {
            override val constantType: Class<Long> = Long::class.java
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:03 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/contracts/description/KtValues.kt

        override val token: KaLifetimeToken,
    ) : KaLifetimeOwner {
        public enum class KaContractConstantType {
            NULL, TRUE, FALSE;
        }
    
        public val constantType: KaContractConstantType get() = withValidityAssertion { backingConstantType }
    
        override fun equals(other: Any?): Boolean {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/language/LanguageTree.kt

    
    data class LocalValue(val name: String, val rhs: Expr, override val sourceData: SourceData) : DataStatement
    
    
    sealed interface Literal<T : Any> : Expr {
        val value: T
        val type: DataType.ConstantType<T>
    
        data class StringLiteral(
            override val value: String,
            override val sourceData: SourceData
        ) : Literal<String> {
            override val type: DataType.StringDataType
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:01 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/contracts/description/KtContractDescriptionElementRenderer.kt

            }
        }
    
    private fun Context.renderKaContractConstantValue(value: KaContractConstantValue, endWithNewLine: Boolean = true): Unit =
        printer.appendHeader(value::class) {
            appendSimpleProperty(value::constantType, endWithNewLine)
        }
    
    private fun Context.renderKaContractParameterValue(value: KaContractParameterValue, endWithNewLine: Boolean = true): Unit =
        printer.appendHeader(value::class) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 17:43:55 UTC 2024
    - 4.9K bytes
    - Viewed (0)
Back to top