Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for instructors (0.2 sec)

  1. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/scopes/KtFe10ScopeResolution.kt

            constructors.forEach { yield(it.toKtConstructorSymbol(analysisContext)) }
        }
    }
    
    internal open class KtFe10ScopeNonStaticMember(
        scope: MemberScope,
        constructors: Collection<ConstructorDescriptor>,
        analysisContext: Fe10AnalysisContext
    ) : KtFe10ScopeMember(scope, constructors, analysisContext) {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Oct 10 13:38:00 GMT 2023
    - 5.7K bytes
    - Viewed (0)
  2. SECURITY.md

    A fix will be shipped with the next incremental (1.x.y) or bug fix release (1.x.yz).
    
    All fixes are also applied to the master branch to be included in all upcoming releases.
    
    ## Reporting a Vulnerability
    
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Tue Sep 21 00:49:47 GMT 2021
    - 472 bytes
    - Viewed (0)
  3. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/scopes/KtFe10PackageScope.kt

    import org.jetbrains.kotlin.resolve.scopes.MemberScope
    
    internal class KtFe10PackageScope(
        scope: MemberScope,
        private val owner: KtPackageSymbol,
        analysisContext: Fe10AnalysisContext
    ) : KtFe10ScopeMember(scope, constructors = emptyList(), analysisContext) {
        override fun getPackageSymbols(nameFilter: KtScopeNameFilter): Sequence<KtPackageSymbol> = withValidityAssertion {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Nov 11 10:59:57 GMT 2022
    - 1.5K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/FirReferenceResolveHelper.kt

                // a special `TypeAliasConstructorDescriptor` for this case. For FIR there is
                // FirConstructor.originalConstructorIfTypeAlias but that doesn't seem to help here as it
                // is null for the constructors we get.
                val constructedType = fir.constructedTypeRef.coneType
                val constructorReturnType = fir.calleeReference.toResolvedConstructorSymbol()?.resolvedReturnTypeRef?.type
    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)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirMetadataCalculator.kt

            )
    }
    
    private fun getAsmMethodSignatureWithCorrection(method: PsiMethod): String = buildString {
        append("(")
        if (method.containingClass?.isEnum == true && method.isConstructor) {
            // Enum constructors are represented without name/ordinal in light classes, which seems fine because they don't have name/ordinal
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Mar 26 09:19:07 GMT 2024
    - 10K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionInfoProvider.kt

                    false
    
                // no children of class and script initializers are used
                is KtAnonymousInitializer ->
                    false
    
                // no child expressions of primary constructors.
                is KtPrimaryConstructor ->
                    false // error?
                // no children of secondary constructs are used.
                is KtSecondaryConstructor ->
                    false
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Mon Feb 12 20:38:23 GMT 2024
    - 17.6K bytes
    - Viewed (0)
  7. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10ScopeProvider.kt

            val descriptor = getDescriptor<ClassDescriptor>(classSymbol)
                ?: return getEmptyScope()
    
            return KtFe10ScopeMember(descriptor.unsubstitutedMemberScope, descriptor.constructors, analysisContext)
        }
    
        override fun getStaticMemberScope(symbol: KtSymbolWithMembers): KtScope {
            val descriptor = getDescriptor<ClassDescriptor>(symbol) ?: return getEmptyScope()
    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)
  8. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt

        }
    
        /**
         * Finds constructors with a given [targetClassName] available within the [scope], including SAM constructors
         * (which are not explicitly declared in the class).
         *
         * Includes type-aliased constructors too if typealias confirms to the [targetClassName].
         *
         * Do not confuse with constructors **declared** in the scope (see [FirScope.processDeclaredConstructors]).
    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)
  9. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCallResolver.kt

                val callExpression = (psi as? KtExpression)?.getPossiblyQualifiedCallExpression()
                if (callExpression != null) {
                    val constructors = findQualifierConstructors()
                    val calls = toKtCalls(constructors)
                    return when (calls.size) {
                        0 -> KtErrorCallInfo(listOf(KtQualifierCall(token, callExpression)), inapplicableCandidateDiagnostic(), token)
    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)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirSymbolContainingDeclarationProvider.kt

                !is KtDeclarationSymbol -> {
                    // File, package, etc.
                    return false
                }
    
                is KtSamConstructorSymbol -> {
                    // SAM constructors are always top-level
                    return false
                }
    
                is KtScriptSymbol -> {
                    // Scripts are always top-level
                    return false
                }
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:47 GMT 2024
    - 13.5K bytes
    - Viewed (0)
Back to top