Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for Hjorth (0.42 sec)

  1. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtExpressionInfoProvider.kt

         *
         * The missing cases of the when-expression in the following example are Direction.WEST and Direction.EAST:
         *
         * enum class Direction {
         *   NORTH, SOUTH, WEST, EAST
         * }
         * foo = when(direction) {
         *   Direction.NORTH -> 1
         *   Direction.SOUTH -> 2
         *   else -> 3
         * }
         *
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. analysis/analysis-api/testData/components/compilerFacility/compilation/classKinds.kt

    interface Intf {
        fun run()
    }
    
    abstract class Ordinary
    
    annotation class Anno
    
    @Anno
    class Generic<T> : Ordinary(), Intf {
        override fun run() {}
    }
    
    enum class Direction {
        NORTH, SOUTH, WEST, EAST
    }
    
    sealed class Operation {
        class Add(val firstValue: Int, val secondValue: Int) : Operation()
        class Subtract(val minuend: Int, val subtrahend: Int) : Operation()
        class Negate(val value: Int) : Operation()
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Aug 07 16:22:01 UTC 2023
    - 426 bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionInfoProvider.kt

            isUsed(expression)
    
        /**
         * [isUsed] and [doesParentUseChild] are defined in mutual recursion,
         * climbing up the syntax tree, passing control back and forth between the
         * two.
         *
         * Whether an expression is used is defined by the context in which it
         * appears. E.g. a "statement" in a block is considered used if it is the
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 16:16:39 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  4. analysis/analysis-api-platform-interface/src/org/jetbrains/kotlin/analysis/api/platform/declarations/KotlinDeclarationProvider.kt

         * [computePackageNamesWithTopLevelCallables] if either returns `null`. It depends on the declaration provider whether it's worth
         * computing separate package sets for classifiers and callables, or just one set containing all package names.
         */
        public open fun computePackageNames(): Set<String>? = null
    
        /**
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:57:40 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  5. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtScopeProvider.kt

        /**
         * Returns a [KaScope] containing the *static* callables (functions and properties) and all classifiers (classes and objects) explicitly
         * declared in the given [KaSymbolWithMembers].
         *
         * It is worth noting that, while Java classes may contain declarations of static callables freely, in Kotlin only enum classes define
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  6. analysis/analysis-api/testData/components/compilerFacility/compilation/classKinds.txt

        private synthetic final static field $ENTRIES: kotlin.enums.EnumEntries
        private synthetic final static field $VALUES: Direction[]
        public final enum static field EAST: Direction
        public final enum static field NORTH: Direction
        public final enum static field SOUTH: Direction
        public final enum static field WEST: Direction
        private synthetic final static method $values(): Direction[]
        static method <clinit>(): void
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Dec 21 15:34:34 UTC 2023
    - 2.3K bytes
    - Viewed (0)
Back to top