Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 42 for we (0.04 sec)

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

                // as parentheses for the purpose of this analysis.
                is KtContainerNode ->
                    // !!!!CAUTION!!!! Not `parentUse(parent.parent, _parent_)`
                    // Here we assume the parent (e.g. If condition) statement
                    // ignores the ContainerNode when accessing child
                    doesParentUseChild(parent.parent, child)
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 16:16:39 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  2. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/KtFe10DescEnumEntrySymbol.kt

        override val name: Name
            get() = withValidityAssertion { descriptor.name }
    
        // There doesn't seem to be a way to determine if `descriptor` has a body or not, so we return an initializer even for enum entries
        // without a body.
        override val enumEntryInitializer: KaEnumEntryInitializerSymbol?
            get() = this
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon May 27 09:59:11 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/evaluate/FirCompileTimeConstantEvaluator.kt

            //   } }
            // That constant is encoded as `unaryMinus` call with the const 2147483628 of long type, while the resolved type is Int.
            // After computing the compile time constant, we need to adjust its type here.
            val expression =
                if (expectedKind != null && expectedKind != kind && value is Number) {
                    val typeAdjustedValue = expectedKind.convertToNumber(value as Number)!!
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Jun 07 11:53:09 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirScopeProvider.kt

                // to get the combined scope. A base declared member scope with Java enhancement doesn't exist, unfortunately.
                DeclaredMemberScopeKind.COMBINED -> {
                    // The static scope contains inner classes, so we need to exclude them from the non-static scope to avoid duplicates.
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  5. ReadMe.md

    For handy work with compiler tests it's recommended to use [
    Kotlin Compiler Test Helper](https://github.com/demiurg906/test-data-helper-plugin)
    
    ### Dependency verification
    
    We have a [dependencies verification](https://docs.gradle.org/current/userguide/dependency_verification.html) feature enabled in the
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Apr 11 14:28:46 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirSmartcastProvider.kt

        override val token: KaLifetimeToken,
    ) : KaSmartCastProvider(), KaFirSessionComponent {
    
        private val KtExpression.isExplicitSmartCastInfoTarget: Boolean
            get() {
                // we want to handle only most top-level parenthesised expressions
                if (parent is KtParenthesizedExpression) return false
    
                // expressions like `|foo.bar()|` or `|foo?.baz()|` are ignored
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 6K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirSymbolContainingDeclarationProvider.kt

                if (hasParentPsi(symbol)) {
                    // getSymbol(ClassId) returns a symbol from the original file, so here we avoid using it
                    return getContainingDeclarationByPsi(symbol)
                }
            }
    
            when (symbol) {
                is KaLocalVariableSymbol,
                is KaAnonymousFunctionSymbol,
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon May 27 09:59:11 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  8. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10PsiTypeProvider.kt

                KaTypeMappingMode.VALUE_PARAMETER ->
                    typeMapper.typeContext.getOptimalModeForValueParameter(type.fe10Type)
            }.let { typeMappingMode ->
                // Otherwise, i.e., if we won't skip type with no type arguments, flag overriding might bother a case like:
                // @JvmSuppressWildcards(false) Long -> java.lang.Long, not long, even though it should be no-op!
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 20:26:34 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  9. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/symbols/KtFirKotlinPropertySymbol.kt

                firSymbol.backingFieldSymbol?.let { builder.callableBuilder.buildBackingFieldSymbol(it) }
            }
    
        // NB: `field` in accessors indicates the property should have a backing field. To see that, though, we need BODY_RESOLVE.
        override val hasBackingField: Boolean
            get() = withValidityAssertion {
                firSymbol.lazyResolveToPhase(FirResolvePhase.BODY_RESOLVE)
                firSymbol.fir.hasBackingField
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirMetadataCalculator.kt

                classBuilderMode = ClassBuilderMode.KAPT3,
                isParamAssertionsDisabled = false,
                unifiedNullChecks = true,
                metadataVersion = metadataVersion,
                // Technically we should use JvmDefaultMode.ALL_INCOMPATIBLE because Kapt4 always uses `-Xjvm-default=all`, but it would make
                // the majority of tests fail because metadata of each interface will have a flag set, compared to Kapt3.
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 20:26:34 UTC 2024
    - 9.9K bytes
    - Viewed (0)
Back to top