Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for Parsing (0.15 sec)

  1. analysis/analysis-api-standalone/src/org/jetbrains/kotlin/analysis/project/structure/impl/KtModuleUtils.kt

    import org.jetbrains.kotlin.config.CompilerConfiguration
    import org.jetbrains.kotlin.config.JVMConfigurationKeys
    import org.jetbrains.kotlin.idea.KotlinFileType
    import org.jetbrains.kotlin.parsing.KotlinParserDefinition
    import org.jetbrains.kotlin.platform.jvm.JvmPlatforms
    import org.jetbrains.kotlin.psi.KtFile
    import java.io.IOException
    import java.nio.file.*
    import java.nio.file.attribute.BasicFileAttributes
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 20:26:34 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  2. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10SymbolInfoProvider.kt

                if (fieldDescriptor != null && fieldDescriptor.annotations.hasAnnotation(DeprecationResolver.JAVA_DEPRECATED)) {
                    return SimpleDeprecationInfo(DeprecationLevelValue.WARNING, propagatesToOverrides = false, message = null)
                }
            }
    
            return analysisContext.deprecationResolver.getDeprecations(descriptor).firstOrNull()
        }
    
        private fun getAccessorDeprecation(
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  3. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtTypeProvider.kt

        public fun KaType.approximateToSuperPublicDenotableOrSelf(approximateLocalTypes: Boolean): KaType =
            withValidityAssertion { approximateToSuperPublicDenotable(approximateLocalTypes) ?: this }
    
        /**
         * Returns a warning-level enhanced type for [KaType] if it is present. Otherwise, returns `null`.
         */
        public fun KaType.getEnhancedType(): KaType? = withValidityAssertion { analysisSession.typeProvider.getEnhancedType(this) }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionInfoProvider.kt

        override fun isUsedAsExpression(expression: KtExpression): Boolean =
            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)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirDataFlowInfoProvider.kt

                    if (firDefaultStatement.resolvedType.isUnit) {
                        return null
                    }
                }
            }
    
            @Suppress("USELESS_IS_CHECK") // K2 warning suppression, TODO: KT-62472
            require(firDefaultStatement is FirExpression)
    
            val defaultStatementFromFir = firDefaultStatement.psi as? KtExpression ?: return null
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 14:04:46 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  6. analysis/analysis-api-standalone/analysis-api-standalone-base/src/org/jetbrains/kotlin/analysis/api/standalone/base/project/structure/StandaloneProjectFactory.kt

                result
            }
        }
    
        /**
         * Note that [findJvmRootsForJavaFiles] parses the given [files] because it needs access to each file's package name. To avoid parsing
         * errors, [registerJavaPsiFacade] ensures that the Java language level is configured before [findJvmRootsForJavaFiles] is called.
         */
        fun findJvmRootsForJavaFiles(files: List<PsiJavaFile>): List<PsiDirectory> {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 22:09:27 UTC 2024
    - 22.4K bytes
    - Viewed (0)
  7. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/diagnostics/KtDiagnostic.kt

    import com.intellij.openapi.util.TextRange
    import com.intellij.psi.PsiElement
    import org.jetbrains.kotlin.analysis.api.lifetime.KaLifetimeOwner
    import kotlin.reflect.KClass
    
    public enum class KaSeverity {
        ERROR,
        WARNING,
        INFO
    }
    
    public interface KaDiagnostic : KaLifetimeOwner {
        public val diagnosticClass: KClass<*>
        public val factoryName: String
        public val severity: KaSeverity
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  8. analysis/analysis-api-standalone/analysis-api-fir-standalone-base/src/org/jetbrains/kotlin/analysis/api/standalone/base/project/structure/LLFirStandaloneLibrarySymbolProviderFactory.kt

            override fun log(message: String) {
                LOG.info(message)
            }
    
            override fun error(message: String) {
                LOG.error(message)
            }
    
            override fun warning(message: String) {
                LOG.warn(message)
            }
    
            @Deprecated(KLogger.FATAL_DEPRECATION_MESSAGE, ReplaceWith(KLogger.FATAL_REPLACEMENT))
            override fun fatal(message: String): Nothing {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Apr 15 11:10:29 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  9. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/types/AbstractAbbreviatedTypeTest.kt

    import org.jetbrains.kotlin.psi.KtFile
    import org.jetbrains.kotlin.test.services.TestServices
    
    /**
     * Renders the properties and the textual representation of a callable's return type specified via `// callable: ID`. The varying
     * [TestModuleKind][org.jetbrains.kotlin.analysis.test.framework.test.configurators.TestModuleKind] supplied by generated tests applies to
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. ChangeLog.md

    - [`KT-61129`](https://youtrack.jetbrains.com/issue/KT-61129) K2: Implement error suppression warning
    - [`KT-67367`](https://youtrack.jetbrains.com/issue/KT-67367) K2: Incorrect resolution to top-level function with less specific signature in presence of SAM constructor on the same tower level
    - [`KT-50179`](https://youtrack.jetbrains.com/issue/KT-50179) Fix DUPLICATE_LABEL_IN_WHEN warning with new rules of complex boolean constants
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon May 27 17:14:23 UTC 2024
    - 292.1K bytes
    - Viewed (0)
Back to top