Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for drop (0.12 sec)

  1. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/FirReferenceResolveHelper.kt

                    // E.g., coreR.string.hello
                    //   -> string.hello (drop the first segment)
                    //   test.pkg.R.string.hello
                    //   -> string.hello (take last two segments, where the size is determined by the size of qualified access minus 1)
                    val fixedQualifiedAccessSegments = qualifiedAccessSegments.drop(1)
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Mon Apr 15 10:59:01 GMT 2024
    - 37.5K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirTypeProvider.kt

            require(type is KtFirType)
            return listOf(type.coneType)
                .bfs { it.getDirectSuperTypes(shouldApproximate).iterator() }
                .drop(1)
                .mapTo(mutableListOf()) { it.asKtType() }
        }
    
        override fun getDispatchReceiverType(symbol: KtCallableSymbol): KtType? {
            require(symbol is KtFirSymbol<*>)
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Feb 20 08:50:04 GMT 2024
    - 16.3K bytes
    - Viewed (0)
Back to top