Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for SET (0.13 sec)

  1. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10ScopeProvider.kt

            }
    
            override fun getFunctionNames(): Set<Name> {
                return allMemberScope.getFunctionNames().filterTo(mutableSetOf()) { name ->
                    getContributedFunctions(name, NoLookupLocation.FROM_IDE).isNotEmpty()
                }
            }
    
            override fun getVariableNames(): Set<Name> {
                return allMemberScope.getVariableNames().filterTo(mutableSetOf()) { name ->
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Thu Apr 25 18:05:58 GMT 2024
    - 12.6K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt

        }
    }
    
    private fun FqName.dropFakeRootPrefixIfPresent(): FqName =
        tail(FqName(ROOT_PREFIX_FOR_IDE_RESOLUTION_MODE))
    
    private data class AdditionalImports(val simpleImports: Set<FqName>, val starImports: Set<FqName>)
    
    private inline fun <reified T : KtElement> KtFile.findSmallestElementOfTypeContainingSelection(selection: TextRange): T? =
        findElementAt(selection.startOffset)
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:51:33 GMT 2024
    - 69.5K bytes
    - Viewed (0)
  3. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/base/Kt1DescUtils.kt

        addAll(outerClass.declaredTypeParameters)
        collectTypeParameters(outerClass)
    }
    
    private fun KotlinType.hasReferenceOtherThan(allowedTypeParameterDescriptors: Set<TypeParameterDescriptor>): Boolean {
        return when (this) {
            is SimpleType -> {
                val declarationDescriptor = constructor.declarationDescriptor
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 07:15:56 GMT 2024
    - 33.2K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/annotations/firAnnotationUtils.kt

        nameMapper = { ElementType.entries.firstOrNull { enumValue -> enumValue.name == it }?.name },
    )
    
    private fun <T> FirAnnotation.findFromRawArguments(expectedEnumClass: ClassId, transformer: (String) -> T?): Set<T> = buildSet {
        fun addIfMatching(arg: FirExpression) {
            if (arg !is FirQualifiedAccessExpression) return
            val callableSymbol = arg.calleeReference.toResolvedCallableSymbol() ?: return
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 07:15:56 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  5. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/annotations/KtFe10AnnotationsList.kt

    import org.jetbrains.kotlin.name.ClassId
    
    internal class KtFe10AnnotationsList private constructor(
        private val fe10Annotations: Annotations,
        private val annotationsToIgnore: Set<ClassId>,
        private val analysisContext: Fe10AnalysisContext
    ) : KtAnnotationsList() {
        override val token: KtLifetimeToken
            get() = analysisContext.token
    
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Thu Apr 25 07:15:56 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCallResolver.kt

            fir: FirFunctionCall,
            arrayAccessExpression: KtArrayAccessExpression
        ): CompoundArrayAccessPartiallyAppliedSymbols? {
            // The last argument of `set` is the new value to be set. This value should be a call to the respective `plus`, `minus`,
            // `times`, `div`, or `rem` function.
            val operationCall = fir.arguments.lastOrNull() as? FirFunctionCall ?: return null
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:05:58 GMT 2024
    - 70.8K bytes
    - Viewed (1)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirScopeProvider.kt

    private class FirTypeScopeWithSyntheticProperties(
        val typeScope: FirTypeScope,
        val syntheticPropertiesScope: FirSyntheticPropertiesScope,
    ) : FirDelegatingTypeScope(typeScope) {
        override fun getCallableNames(): Set<Name> = typeScope.getCallableNames() + syntheticPropertiesScope.getCallableNames()
        override fun mayContainName(name: Name): Boolean = typeScope.mayContainName(name) || syntheticPropertiesScope.mayContainName(name)
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:05:58 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  8. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10CallResolver.kt

                Errors.REDUNDANT_SPREAD_OPERATOR_IN_NAMED_FORM_IN_ANNOTATION,
                *Errors.TYPE_MISMATCH_ERRORS.toTypedArray(),
            )
    
            private val resolutionFailureErrors: Set<DiagnosticFactoryWithPsiElement<*, *>> = setOf(
                Errors.INVISIBLE_MEMBER,
                Errors.NO_VALUE_FOR_PARAMETER,
                Errors.MISSING_RECEIVER,
                Errors.NO_RECEIVER_ALLOWED,
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Mon Apr 29 12:48:54 GMT 2024
    - 34.8K bytes
    - Viewed (0)
Back to top